Skip to content

Commit 4ec243c

Browse files
committed
Merge pull request #212 from nasa/open211
[RequireJS] Specify path for uuid
2 parents 407d988 + 3d996ac commit 4ec243c

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed

platform/commonUI/browse/bundle.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
11
{
2+
"configuration": {
3+
"paths": {
4+
"uuid": "uuid"
5+
}
6+
},
27
"extensions": {
38
"routes": [
49
{

platform/commonUI/browse/src/creation/CreationService.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
* Module defining CreateService. Created by vwoeltje on 11/10/14.
2626
*/
2727
define(
28-
["../../lib/uuid"],
28+
["uuid"],
2929
function (uuid) {
3030
"use strict";
3131

test-main.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,8 @@ require.config({
4444

4545
paths: {
4646
'es6-promise': 'platform/framework/lib/es6-promise-2.0.0.min',
47-
'moment-duration-format': 'warp/clock/lib/moment-duration-format'
47+
'moment-duration-format': 'warp/clock/lib/moment-duration-format',
48+
'uuid': 'platform/commonUI/browse/lib/uuid'
4849
},
4950

5051
// dynamically load all test files

0 commit comments

Comments
 (0)