summaryrefslogtreecommitdiff
path: root/js/main.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/main.js')
-rw-r--r--js/main.js5
1 files changed, 2 insertions, 3 deletions
diff --git a/js/main.js b/js/main.js
index 8f96057..c3191f6 100644
--- a/js/main.js
+++ b/js/main.js
@@ -1,5 +1,4 @@
-/* jshint browser:true, devel:true */
-(function() {
+define(function() {
'use strict';
/* loads a page into view and execute scripts */
@@ -40,4 +39,4 @@
if (!selectPage(location.hash.replace(/^#\//, ''))) {
location.hash = '#/home';
}
-})();
+});