diff --git a/README.md b/README.md index 3ee57f6..40d7ed9 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,6 @@ this experiment is very much based on the [smack my glitch up js](https://github build script --- - the build script takes care of concatenating and minifying all scripts and styles. it uses [gruntjs](http://gruntjs.com/). please make sure that both [nodejs](http://nodejs.org/) and grunt-cli are [set up properly](http://gruntjs.com/getting-started) on your machine. diff --git a/scripts/main.js b/scripts/main.js index 879bc97..b2daa01 100644 --- a/scripts/main.js +++ b/scripts/main.js @@ -1,9 +1,8 @@ -/*global require, requirejs, define, Modernizr, _basepath_ */ +/*global require, requirejs, define */ // http://requirejs.org/docs/api.html#config -var path = typeof _basepath_ === 'string' ? _basepath_ + '/' : ''; requirejs.config( { - baseUrl: path + 'scripts/', + baseUrl: 'scripts/', waitSeconds: 50, urlArgs: 'bust=' + ( new Date() ).getTime() }