mirror of
https://github.com/nasa/openmct.git
synced 2025-01-31 08:25: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": {
|
"extensions": {
|
||||||
"routes": [
|
"routes": [
|
||||||
{
|
{
|
||||||
|
@ -25,7 +25,7 @@
|
|||||||
* Module defining CreateService. Created by vwoeltje on 11/10/14.
|
* Module defining CreateService. Created by vwoeltje on 11/10/14.
|
||||||
*/
|
*/
|
||||||
define(
|
define(
|
||||||
["../../lib/uuid"],
|
["uuid"],
|
||||||
function (uuid) {
|
function (uuid) {
|
||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
|
@ -44,7 +44,8 @@ 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-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
|
// dynamically load all test files
|
||||||
|
Loading…
x
Reference in New Issue
Block a user