aboutsummaryrefslogtreecommitdiff
path: root/js/controllers
diff options
context:
space:
mode:
authorArmen Kesablyan2012-06-15 15:02:30 -0700
committerArmen Kesablyan2012-06-15 15:02:30 -0700
commit022e2ba65070ee1e5eb2d4b197b88768a1ea3f4f (patch)
tree57ee0bd85f89d8b9c880337e14224536690810a4 /js/controllers
parent60e9ea67e0f6d0cf167b6d5068e2e01db5f67966 (diff)
parent62c7c2ac7b72c7e89611d064eef1f4f77a54696d (diff)
downloadninja-022e2ba65070ee1e5eb2d4b197b88768a1ea3f4f.tar.gz
Merge pull request #13 from ericguzman/binding
Added Objects Tray
Diffstat (limited to 'js/controllers')
-rw-r--r--js/controllers/objects-controller.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/js/controllers/objects-controller.js b/js/controllers/objects-controller.js
index 386ef683..877f7f9f 100644
--- a/js/controllers/objects-controller.js
+++ b/js/controllers/objects-controller.js
@@ -66,7 +66,7 @@ var objectsController = exports.ObjectsController = Montage.create(Component, {
66 if(!bindingArgs.sourceObject || !bindingArgs.sourceObjectPropertyPath || !bindingArgs) { return; } 66 if(!bindingArgs.sourceObject || !bindingArgs.sourceObjectPropertyPath || !bindingArgs) { return; }
67 67
68 Object.defineBinding(bindingArgs.sourceObject, bindingArgs.sourceObjectPropertyPath, bindingArgs); 68 Object.defineBinding(bindingArgs.sourceObject, bindingArgs.sourceObjectPropertyPath, bindingArgs);
69 this.currentObjectBindings = this.getObjectBindings(value); 69 this.currentObjectBindings = this.getObjectBindings(bindingArgs.sourceObject);
70 } 70 }
71 }, 71 },
72 72
@@ -77,7 +77,7 @@ var objectsController = exports.ObjectsController = Montage.create(Component, {
77 77
78 78
79 Object.deleteBinding(bindingArgs.sourceObject, bindingArgs.sourceObjectPropertyPath); 79 Object.deleteBinding(bindingArgs.sourceObject, bindingArgs.sourceObjectPropertyPath);
80 this.currentObjectBindings = this.getObjectBindings(value); 80 this.currentObjectBindings = this.getObjectBindings(bindingArgs.sourceObject);
81 } 81 }
82 }, 82 },
83 83