blob: 673530f025fbf585d969d91d8fbe7b1554504fd6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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']);
|