From 45142e03dcd71d5f90ba3271942af051465dc8dd Mon Sep 17 00:00:00 2001 From: Victor Woeltjen <victor.woeltjen@nasa.gov> Date: Wed, 13 Jan 2016 12:33:22 -0800 Subject: [PATCH] [API Refactor] Move uuid dependency out of top-level --- main.js | 3 +-- platform/core/src/identifiers/IdentifierProvider.js | 2 +- test-main.js | 3 +-- 3 files changed, 3 insertions(+), 5 deletions(-) diff --git a/main.js b/main.js index 72432d0f05..b7fc22bff3 100644 --- a/main.js +++ b/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": { diff --git a/platform/core/src/identifiers/IdentifierProvider.js b/platform/core/src/identifiers/IdentifierProvider.js index c6b2a136cb..9ef7c2c6a7 100644 --- a/platform/core/src/identifiers/IdentifierProvider.js +++ b/platform/core/src/identifiers/IdentifierProvider.js @@ -22,7 +22,7 @@ /*global define*/ define( - ["uuid", "./Identifier"], + ["../../lib/uuid", "./Identifier"], function (uuid, Identifier) { 'use strict'; diff --git a/test-main.js b/test-main.js index 2822b8cad8..d3bbb1fcc3 100644 --- a/test-main.js +++ b/test-main.js @@ -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: {