diff options
author | Armen Kesablyan | 2012-06-15 15:02:30 -0700 |
---|---|---|
committer | Armen Kesablyan | 2012-06-15 15:02:30 -0700 |
commit | 022e2ba65070ee1e5eb2d4b197b88768a1ea3f4f (patch) | |
tree | 57ee0bd85f89d8b9c880337e14224536690810a4 /js/controllers | |
parent | 60e9ea67e0f6d0cf167b6d5068e2e01db5f67966 (diff) | |
parent | 62c7c2ac7b72c7e89611d064eef1f4f77a54696d (diff) | |
download | ninja-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.js | 4 |
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 | ||