mirror of
https://github.com/nasa/openmct.git
synced 2025-01-21 03:55:31 +00:00
[RequireJS] Specify path for uuid
Specify path for uuid, making it available for any code that would require it, without that code needing to know the path to it. Fixes https://github.com/nasa/openmctweb/issues/211.
This commit is contained in:
parent
90828ef63d
commit
3d996ac466
@ -1,4 +1,9 @@
|
||||
{
|
||||
"configuration": {
|
||||
"paths": {
|
||||
"uuid": "uuid"
|
||||
}
|
||||
},
|
||||
"extensions": {
|
||||
"routes": [
|
||||
{
|
||||
|
@ -25,7 +25,7 @@
|
||||
* Module defining CreateService. Created by vwoeltje on 11/10/14.
|
||||
*/
|
||||
define(
|
||||
["../../lib/uuid"],
|
||||
["uuid"],
|
||||
function (uuid) {
|
||||
"use strict";
|
||||
|
||||
|
@ -44,7 +44,8 @@ require.config({
|
||||
|
||||
paths: {
|
||||
'es6-promise': 'platform/framework/lib/es6-promise-2.0.0.min',
|
||||
'moment-duration-format': 'warp/clock/lib/moment-duration-format'
|
||||
'moment-duration-format': 'warp/clock/lib/moment-duration-format',
|
||||
'uuid': 'platform/commonUI/browse/lib/uuid'
|
||||
},
|
||||
|
||||
// dynamically load all test files
|
||||
|
Loading…
Reference in New Issue
Block a user