Skip to content

Commit

Permalink
fixed the optimizer and documentation tools to work with dir structur…
Browse files Browse the repository at this point in the history
…e changes
  • Loading branch information
hasith committed Mar 5, 2013
1 parent 6a8ae3e commit eb53b3f
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion app/modules/sampleModule1/clickCounter/component.js
Expand Up @@ -2,7 +2,7 @@ define(['Boiler', 'text!./view.html', './clickme/component', './lottery/componen

/**
* Parent Component class that will hold the clickme and lottery components
* @class
* @class ClickCounterComponent
* @param moduleContext {Boiler.Context}
*/
var ClickCounterComponent = function(moduleContext) {
Expand Down
2 changes: 1 addition & 1 deletion tools/documentation/document.bat
Expand Up @@ -2,7 +2,7 @@ echo off
set CURRENTDIR=%CD%
cd ../..
echo Generating documentation......
yuidoc --themedir %CURRENTDIR%\template -o %CURRENTDIR%\docs src
yuidoc --themedir %CURRENTDIR%\template -o %CURRENTDIR%\docs app
if errorLevel 9009 (
echo Required applications not found! Please follow the instructions in the Readme
)
2 changes: 1 addition & 1 deletion tools/documentation/document.sh
Expand Up @@ -18,7 +18,7 @@ else
CURRENT=$PWD
echo "Current :${CURRENT}"
cd ../..
yuidoc --themedir $CURRENT/template -o $CURRENT/docs src
yuidoc --themedir $CURRENT/template -o $CURRENT/docs app
echo "Created the documentation on the current directory!"
fi
fi
12 changes: 6 additions & 6 deletions tools/optimizer/boilerplatejs.build.js
@@ -1,15 +1,15 @@
({
appDir : "../../",
baseUrl : "src",
baseUrl : ".",
dir : "./build",
modules : [ {
name : "main",
} ],
paths : {
domReady : '../libs/require/domReady',
Boiler : './core/_boiler_',
text : "../libs/require/text",
i18n : "../libs/require/i18n",
path : "../libs/require/path"
domReady : './libs/require/domReady',
Boiler : './app/core/_boiler_',
text : "./libs/require/text",
i18n : "./libs/require/i18n",
path : "./libs/require/path"
},
})

0 comments on commit eb53b3f

Please sign in to comment.