From 7b8087ac970ceb62677e6373f7f5462aaac4c613 Mon Sep 17 00:00:00 2001 From: Georg Fischer Date: Sat, 30 Nov 2013 20:36:47 +0100 Subject: [PATCH 1/2] whitespace --- README.md | 1 - 1 file changed, 1 deletion(-) 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. From 2a8d83252c63d78d13ea44417dfe23c8b1aafaa8 Mon Sep 17 00:00:00 2001 From: Georg Fischer Date: Sat, 30 Nov 2013 20:37:15 +0100 Subject: [PATCH 2/2] remove obsolete comments and path variable --- scripts/main.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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() }