aboutsummaryrefslogtreecommitdiff
path: root/js/stage
diff options
context:
space:
mode:
authorArmen Kesablyan2012-06-07 10:22:03 -0700
committerArmen Kesablyan2012-06-07 10:22:03 -0700
commit85847ff047850808ba2bcfb43a6aa83913376b5b (patch)
treec15255127da11000c651984c5cbbbfba267d9b0a /js/stage
parent557473639c1854d2e545f542d5f8656a040d575c (diff)
downloadninja-85847ff047850808ba2bcfb43a6aa83913376b5b.tar.gz
Changes to Binding View
Signed-off-by: Armen Kesablyan <armen@motorola.com>
Diffstat (limited to 'js/stage')
-rwxr-xr-xjs/stage/binding-view.reel/binding-view.js10
1 files changed, 10 insertions, 0 deletions
diff --git a/js/stage/binding-view.reel/binding-view.js b/js/stage/binding-view.reel/binding-view.js
index d76aab81..1457e2fc 100755
--- a/js/stage/binding-view.reel/binding-view.js
+++ b/js/stage/binding-view.reel/binding-view.js
@@ -16,9 +16,17 @@ exports.BindingView = Montage.create(Component, {
16 _selectedComponent: { 16 _selectedComponent: {
17 value: null 17 value: null
18 }, 18 },
19
20 //Bindables Format: [
21
22 //]
23
24
19 _bindables: { 25 _bindables: {
20 value: [] 26 value: []
21 }, 27 },
28
29
22 _nonVisualComponents: { 30 _nonVisualComponents: {
23 value:[] 31 value:[]
24 }, 32 },
@@ -46,10 +54,12 @@ exports.BindingView = Montage.create(Component, {
46 this._selectedComponent = val; 54 this._selectedComponent = val;
47 this.application.ninja.objectsController.currentObject = this.selectedComponent; 55 this.application.ninja.objectsController.currentObject = this.selectedComponent;
48 var arrBindings = this.application.ninja.objectsController.currentObjectBindings; 56 var arrBindings = this.application.ninja.objectsController.currentObjectBindings;
57
49 debugger; 58 debugger;
50 arrBindings.forEach(function(obj) { 59 arrBindings.forEach(function(obj) {
51 60
52 }.bind(this)); 61 }.bind(this));
62 this.bindables.push(this._selectedComponent);
53 // Get Bindings that exist; 63 // Get Bindings that exist;
54 64
55 65