aboutsummaryrefslogtreecommitdiff
path: root/js/ninja.reel
diff options
context:
space:
mode:
authorValerio Virgillito2012-05-16 16:06:56 -0700
committerValerio Virgillito2012-05-16 16:06:56 -0700
commit92fcb770aff434e994e7a39a61d8fac4a017dca0 (patch)
treee385beee8f2694596f6305bf90eb7eb4521de2e2 /js/ninja.reel
parentbdd4b24c9e738c65ab8f6f9942358c59fe60edf1 (diff)
parentc37a876b373ddc7cb19277aaeaa6bb2d2d5a50ac (diff)
downloadninja-92fcb770aff434e994e7a39a61d8fac4a017dca0.tar.gz
Merge branch 'refs/heads/master' into dom-architecture
Conflicts: js/document/templates/montage-html/package.json js/io/system/ninjalibrary.json node_modules/descriptor.json Signed-off-by: Valerio Virgillito <valerio@motorola.com>
Diffstat (limited to 'js/ninja.reel')
-rwxr-xr-xjs/ninja.reel/ninja.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/js/ninja.reel/ninja.js b/js/ninja.reel/ninja.js
index 87167d4c..9f0456ae 100755
--- a/js/ninja.reel/ninja.js
+++ b/js/ninja.reel/ninja.js
@@ -152,9 +152,9 @@ exports.Ninja = Montage.create(Component, {
152 152
153 this.application.ninja = this; 153 this.application.ninja = this;
154 154
155 this.toolsData.selectedTool = this.toolsData.defaultToolsData[0]; 155 this.toolsData.selectedTool = this.toolsData.defaultToolsData[this.application.ninja.toolsData.selectionToolIndex];
156 this.toolsData.defaultSubToolsData = this.toolsData.defaultToolsData[7].subtools; 156 this.toolsData.defaultSubToolsData = this.toolsData.defaultToolsData[this.application.ninja.toolsData.shapeToolIndex].subtools;
157 this.toolsData.selectedSubTool = this.toolsData.defaultToolsData[7].subtools[1]; 157 this.toolsData.selectedSubTool = this.toolsData.defaultToolsData[this.application.ninja.toolsData.shapeToolIndex].subtools[1];
158 this.toolsData.selectedToolInstance = this.toolsList[this.toolsData.selectedTool.action]; 158 this.toolsData.selectedToolInstance = this.toolsList[this.toolsData.selectedTool.action];
159 159
160 this.setupGlobalHelpers(); 160 this.setupGlobalHelpers();