diff options
Diffstat (limited to 'js/stage/binding-view.reel/binding-view.js')
-rwxr-xr-x | js/stage/binding-view.reel/binding-view.js | 25 |
1 files changed, 22 insertions, 3 deletions
diff --git a/js/stage/binding-view.reel/binding-view.js b/js/stage/binding-view.reel/binding-view.js index 97593c66..a0ca0c4f 100755 --- a/js/stage/binding-view.reel/binding-view.js +++ b/js/stage/binding-view.reel/binding-view.js | |||
@@ -20,7 +20,7 @@ exports.BindingView = Montage.create(Component, { | |||
20 | value: [] | 20 | value: [] |
21 | }, | 21 | }, |
22 | _nonVisualComponents: { | 22 | _nonVisualComponents: { |
23 | value:null | 23 | value:[] |
24 | }, | 24 | }, |
25 | 25 | ||
26 | //Public Objects | 26 | //Public Objects |
@@ -67,8 +67,27 @@ exports.BindingView = Montage.create(Component, { | |||
67 | value: function() { | 67 | value: function() { |
68 | if(this.selectedElement !== null) { | 68 | if(this.selectedElement !== null) { |
69 | this.bindables = [ | 69 | this.bindables = [ |
70 | {"objectName": "Input1", "objectTitle": ""}, | 70 | { |
71 | ] | 71 | "title": "Input1", |
72 | "properties": [ | ||
73 | {"title":"Value"}, | ||
74 | {"title": "Width"} | ||
75 | ], | ||
76 | "x": 20, | ||
77 | "y": 20 | ||
78 | }, | ||
79 | { | ||
80 | "title": "Checkbox1", | ||
81 | "properties": [ | ||
82 | {"title":"Group"}, | ||
83 | {"title": "Value"} | ||
84 | ], | ||
85 | "x": 120, | ||
86 | "y": 120 | ||
87 | } | ||
88 | ]; | ||
89 | } else { | ||
90 | this.bindables = []; | ||
72 | } | 91 | } |
73 | } | 92 | } |
74 | }, | 93 | }, |