Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Corrected "basePath" to "baseUrl"

  • Loading branch information...
commit b4afda3842b119b5568634dbda309161852f68d5 1 parent e8c9186
@david0178418 david0178418 authored
Showing with 7 additions and 6 deletions.
  1. +7 −6 src/js/main.js
View
13 src/js/main.js
@@ -1,14 +1,15 @@
(function() {
"use strict";
+ var libsPath = '../../libs/js/'; //libsPath relative to 'basePath'
require.config({
paths : {
- jquery : '../../libs/js/jquery-1.7.1.min', //return jQuery module but also keeps it in the global scope
- jqueryLoader : '../../libs/js/jquery', //loads jQuery module and removes it from the global scope
- underscore : '../../libs/js/underscore-min',
- backbone : '../../libs/js/backbone-min' //
+ jquery : libsPath + 'jquery-1.7.1.min', //return jQuery module but also keeps it in the global scope
+ jqueryLoader : libsPath + 'jquery', //loads jQuery module and removes it from the global scope
+ underscore : libsPath + 'underscore-min',
+ backbone : libsPath + 'backbone-min'
},
- basePath : 'src/js'
+ baseUrl : 'src/js'
});
require([
@@ -18,4 +19,4 @@
App.initialize();
}
);
-})();
+})();
Please sign in to comment.
Something went wrong with that request. Please try again.