aboutsummaryrefslogtreecommitdiff
path: root/js/ninja.reel/ninja.js
diff options
context:
space:
mode:
authorValerio Virgillito2012-06-11 17:46:29 -0700
committerValerio Virgillito2012-06-11 17:46:29 -0700
commitb6c88f548c8d3756738e534418732710af733f03 (patch)
treed651ce2811019a3bccfd8be1326762cd2c601316 /js/ninja.reel/ninja.js
parent91123fef348ec54d89005adbc151e816856a6a18 (diff)
parent6854a72504f57903bd5de003e377f2aefb02d0da (diff)
downloadninja-b6c88f548c8d3756738e534418732710af733f03.tar.gz
Merge branch 'refs/heads/master' into montage-v10-integration
Conflicts: js/io/system/ninjalibrary.json js/panels/Timeline/TimelinePanel.reel/TimelinePanel.js Signed-off-by: Valerio Virgillito <valerio@motorola.com>
Diffstat (limited to 'js/ninja.reel/ninja.js')
-rwxr-xr-xjs/ninja.reel/ninja.js20
1 files changed, 0 insertions, 20 deletions
diff --git a/js/ninja.reel/ninja.js b/js/ninja.reel/ninja.js
index 33808cf3..8b874a36 100755
--- a/js/ninja.reel/ninja.js
+++ b/js/ninja.reel/ninja.js
@@ -297,21 +297,6 @@ exports.Ninja = Montage.create(Component, {
297 value: [] 297 value: []
298 }, 298 },
299 299
300 _currentSelectedContainer: {
301 value: null
302 },
303
304 currentSelectedContainer: {
305 get: function() {
306 return this._currentSelectedContainer;
307 },
308 set: function(value) {
309 if(value !== this._currentSelectedContainer) {
310 this._currentSelectedContainer = value;
311 }
312 }
313 },
314
315 templateDidLoad: { 300 templateDidLoad: {
316 value: function() { 301 value: function() {
317 this.ninjaVersion = window.ninjaVersion.ninja.version; 302 this.ninjaVersion = window.ninjaVersion.ninja.version;
@@ -471,11 +456,6 @@ exports.Ninja = Montage.create(Component, {
471 // TODO: Remove this when integrating the next montage 456 // TODO: Remove this when integrating the next montage
472 this.documentList.selectedObjects = [doc]; 457 this.documentList.selectedObjects = [doc];
473 458
474 if(doc.currentView === "design") {
475 // TODO: Bind directly to the model of the document in components instead of this property
476 this._currentSelectedContainer = null;
477 this.currentSelectedContainer = doc.model.documentRoot;
478 }
479 } 459 }
480 }, 460 },
481 461