[API Refactor] Move uuid dependency out of top-level

This commit is contained in:
Victor Woeltjen 2016-01-13 12:33:22 -08:00
parent 86daad5fbd
commit 45142e03dc
3 changed files with 3 additions and 5 deletions

View File

@ -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": {

View File

@ -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';

View File

@ -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: {