mirror of
https://github.com/nasa/openmct.git
synced 2024-12-19 05:07:52 +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-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'
|
||||
"moment-duration-format": 'platform/features/clock/lib/moment-duration-format'
|
||||
},
|
||||
"shim": {
|
||||
"angular": {
|
||||
|
@ -22,7 +22,7 @@
|
||||
/*global define*/
|
||||
|
||||
define(
|
||||
["uuid", "./Identifier"],
|
||||
["../../lib/uuid", "./Identifier"],
|
||||
function (uuid, Identifier) {
|
||||
'use strict';
|
||||
|
||||
|
@ -45,8 +45,7 @@ require.config({
|
||||
paths: {
|
||||
'es6-promise': 'platform/framework/lib/es6-promise-2.0.0.min',
|
||||
'moment': 'platform/telemetry/lib/moment.min',
|
||||
'moment-duration-format': 'platform/features/clock/lib/moment-duration-format',
|
||||
'uuid': 'platform/core/lib/uuid'
|
||||
'moment-duration-format': 'platform/features/clock/lib/moment-duration-format'
|
||||
},
|
||||
|
||||
shim: {
|
||||
|
Loading…
Reference in New Issue
Block a user