diff options
Diffstat (limited to 'js/app.js')
-rw-r--r-- | js/app.js | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/js/app.js b/js/app.js new file mode 100644 index 0000000..673530f --- /dev/null +++ b/js/app.js @@ -0,0 +1,15 @@ +// For any third party dependencies, like jQuery, place them in the lib folder. + +// Configure loading modules from the lib directory, +// except for 'app' ones, which are in a sibling +// directory. +requirejs.config({ + baseUrl: 'js/lib', + paths: { + app: '../app' + } +}); + +// Start loading the main app file. Put all of +// your application logic in there. +requirejs(['app/main']); |