mirror of
https://github.com/nasa/openmct.git
synced 2025-01-29 15:43:52 +00:00
[API] Simplify RequireJS config
This commit is contained in:
parent
de53247d56
commit
52579fefe1
6
main.js
6
main.js
@ -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'
|
||||
|
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user