Skip to content

Commit

Permalink
Adding uuid-js in webroot/js and in core-app.js to download while loa…
Browse files Browse the repository at this point in the history
…ding

dashboard.
Related-Bug: #1326040

Change-Id: I617b97b66d83a3a48576461edf35a58b3a657bfc
  • Loading branch information
biswajit-mandal committed Apr 27, 2015
1 parent 813522c commit dfb918b
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
6 changes: 6 additions & 0 deletions dev-install.sh
Expand Up @@ -221,6 +221,10 @@ mkdir webroot/assets/bezierjs
cp -af ./$THIRD_PARTY/bezierjs-gh-pages/lib/bezier.js webroot/assets/bezierjs/bezier.js
#End - Copy bezier from $THIRD_PARTY

#Start - Copy uuid.js from $THIRD_PARTY
cp -af ./$THIRD_PARTY/uuid.js webroot/js/uuid.js
#End - Copy uuid.js from $THIRD_PARTY

#Start - Merging All JS files
rm -f webroot/js/contrail-all-1.js
rm -f webroot/js/contrail-all-2.js
Expand Down Expand Up @@ -295,6 +299,7 @@ MAINFILE[54]=webroot/assets/jquery/js/jquery.panzoom.min.js
MAINFILE[55]=webroot/assets/jquery-contextMenu/js/jquery.ui.position.js
MAINFILE[56]=webroot/assets/jquery-contextMenu/js/jquery.contextMenu.js
MAINFILE[57]=webroot/assets/bezierjs/bezier.js
MAINFILE[58]=webroot/js/uuid.js

cat ${MAINFILE[0]} > webroot/js/contrail-all-1.js
cat ${MAINFILE[1]} >> webroot/js/contrail-all-1.js
Expand Down Expand Up @@ -360,6 +365,7 @@ cat ${MAINFILE[54]} >> webroot/js/contrail-all-7.js
cat ${MAINFILE[55]} >> webroot/js/contrail-all-7.js
cat ${MAINFILE[56]} >> webroot/js/contrail-all-7.js
cat ${MAINFILE[57]} >> webroot/js/contrail-all-7.js
cat ${MAINFILE[58]} >> webroot/js/contrail-all-7.js

# End - Merging All JS files

Expand Down
1 change: 1 addition & 0 deletions webroot/js/core-app.js
Expand Up @@ -80,6 +80,7 @@ requirejs.config({
'graph-view': 'js/views/GraphView',
'contrail-graph-model': 'js/models/ContrailGraphModel',
'contrail-remote-data-handler': 'js/models/ContrailRemoteDataHandler',
'uuid-js': 'js/uuid',
'core-cache': 'js/core-cache',
'core-init': 'js/core-init'
},
Expand Down
2 changes: 1 addition & 1 deletion webroot/js/core-init.js
Expand Up @@ -13,7 +13,7 @@ var initDepFiles = [
'jquery.tristate', 'jquery.multiselect', 'jquery.multiselect.filter', 'jquery.steps.min', 'slick.dataview',
'joint', 'joint.layout.DirectedGraph', 'jquery.panzoom', 'joint.contrail', 'jquery.ui.position',
'jquery.contextMenu', 'slick.checkboxselectcolumn', 'slick.rowselectionmodel',
'backbone', 'text', 'contrail-model', 'bezier'
'backbone', 'text', 'contrail-model', 'bezier', 'uuid-js'
];


Expand Down

0 comments on commit dfb918b

Please sign in to comment.