[API Refactor] Move out non-global require config

This commit is contained in:
Victor Woeltjen
2016-01-13 12:40:03 -08:00
parent 45142e03dc
commit 69c5b110bf
4 changed files with 21 additions and 20 deletions

View File

@ -21,6 +21,14 @@
*****************************************************************************/
/*global define, window, requirejs*/
requirejs.config({
shim: {
'platform/framework/lib/angular-route.min': {
deps: [ 'angular' ]
}
}
});
/**
* Implements the framework layer, which handles the loading of bundles
* and the wiring-together of the extensions they expose.
@ -32,7 +40,7 @@ define(
'../lib/es6-promise-2.0.0.min',
'./FrameworkLayer',
'angular',
'angular-route'
'../lib/angular-route.min'
],
function (
require,