[API] Simplify RequireJS config

This commit is contained in:
Victor Woeltjen 2016-01-07 15:29:19 -08:00
parent de53247d56
commit 52579fefe1
2 changed files with 3 additions and 14 deletions

View File

@ -23,9 +23,9 @@
requirejs.config({
"paths": {
"legacyRegistry": "./src/legacyRegistry",
"angular": "./platform/framework/lib/angular.min",
"angular-route": "./platform/framework/lib/angular-route.min",
"legacyRegistry": "src/legacyRegistry",
"angular": "platform/framework/lib/angular.min",
"angular-route": "platform/framework/lib/angular-route.min",
"moment": 'platform/telemetry/lib/moment.min',
"moment-duration-format": 'platform/features/clock/lib/moment-duration-format',
"uuid": 'platform/core/lib/uuid'

View File

@ -21,17 +21,6 @@
*****************************************************************************/
/*global define, window, requirejs*/
requirejs.config({
"shim": {
"../lib/angular.min": {
"exports": "angular"
},
"../lib/angular-route.min": {
"deps": [ "../lib/angular.min" ]
}
}
});
/**
* Implements the framework layer, which handles the loading of bundles
* and the wiring-together of the extensions they expose.