Created
December 10, 2014 23:47
-
-
Save devdays/2391729c9b9b4b6f89ca to your computer and use it in GitHub Desktop.
Object JavaScript require config
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
requirejs.config({ | |
//By default load any module IDs from js/lib | |
baseUrl: 'Scripts', | |
//except, if the module ID starts with "app", | |
//load it from the Scripts/app directory. paths | |
//config is relative to the baseUrl, and | |
//never includes a ".js" extension since | |
//the paths config could be for a directory. | |
paths: { | |
app: '../app' | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment