mirror of
https://github.com/nasa/openmct.git
synced 2024-12-22 06:27:48 +00:00
[API Refactor] Move uuid dependency out of top-level
This commit is contained in:
parent
86daad5fbd
commit
45142e03dc
3
main.js
3
main.js
@ -27,8 +27,7 @@ requirejs.config({
|
|||||||
"angular": "platform/framework/lib/angular.min",
|
"angular": "platform/framework/lib/angular.min",
|
||||||
"angular-route": "platform/framework/lib/angular-route.min",
|
"angular-route": "platform/framework/lib/angular-route.min",
|
||||||
"moment": 'platform/telemetry/lib/moment.min',
|
"moment": 'platform/telemetry/lib/moment.min',
|
||||||
"moment-duration-format": 'platform/features/clock/lib/moment-duration-format',
|
"moment-duration-format": 'platform/features/clock/lib/moment-duration-format'
|
||||||
"uuid": 'platform/core/lib/uuid'
|
|
||||||
},
|
},
|
||||||
"shim": {
|
"shim": {
|
||||||
"angular": {
|
"angular": {
|
||||||
|
@ -22,7 +22,7 @@
|
|||||||
/*global define*/
|
/*global define*/
|
||||||
|
|
||||||
define(
|
define(
|
||||||
["uuid", "./Identifier"],
|
["../../lib/uuid", "./Identifier"],
|
||||||
function (uuid, Identifier) {
|
function (uuid, Identifier) {
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
|
@ -45,8 +45,7 @@ require.config({
|
|||||||
paths: {
|
paths: {
|
||||||
'es6-promise': 'platform/framework/lib/es6-promise-2.0.0.min',
|
'es6-promise': 'platform/framework/lib/es6-promise-2.0.0.min',
|
||||||
'moment': 'platform/telemetry/lib/moment.min',
|
'moment': 'platform/telemetry/lib/moment.min',
|
||||||
'moment-duration-format': 'platform/features/clock/lib/moment-duration-format',
|
'moment-duration-format': 'platform/features/clock/lib/moment-duration-format'
|
||||||
'uuid': 'platform/core/lib/uuid'
|
|
||||||
},
|
},
|
||||||
|
|
||||||
shim: {
|
shim: {
|
||||||
|
Loading…
Reference in New Issue
Block a user