diff options
author | Eric Guzman | 2012-06-15 15:00:06 -0700 |
---|---|---|
committer | Eric Guzman | 2012-06-15 15:00:06 -0700 |
commit | d6c427432bd0040b084b854407e9ed59a6707b54 (patch) | |
tree | 1f2b98cce5346b57018ce277d95db0f82df03fb9 /js/stage/binding-view.reel/binding-view.html | |
parent | fc0a4de30ab8556739acb10287da100f28bcad12 (diff) | |
download | ninja-d6c427432bd0040b084b854407e9ed59a6707b54.tar.gz |
Objects Tray - Add objects tray to binding view
Diffstat (limited to 'js/stage/binding-view.reel/binding-view.html')
-rwxr-xr-x | js/stage/binding-view.reel/binding-view.html | 25 |
1 files changed, 6 insertions, 19 deletions
diff --git a/js/stage/binding-view.reel/binding-view.html b/js/stage/binding-view.reel/binding-view.html index c7520132..5fb7affd 100755 --- a/js/stage/binding-view.reel/binding-view.html +++ b/js/stage/binding-view.reel/binding-view.html | |||
@@ -43,23 +43,10 @@ | |||
43 | } | 43 | } |
44 | ] | 44 | ] |
45 | }, | 45 | }, |
46 | "nonVisualRepeater": { | 46 | "objectsTray" : { |
47 | "prototype": "montage/ui/repetition.reel", | 47 | "prototype": "js/stage/objects-tray.reel", |
48 | "properties": { | ||
49 | "element": {"#": "nonVisualRepeater"} | ||
50 | }, | ||
51 | "bindings": { | ||
52 | "objects": {"<-": "@owner.nonVisualComponents"} | ||
53 | } | ||
54 | }, | ||
55 | "objectIcon": { | ||
56 | "prototype": "js/panels/objects/object.reel", | ||
57 | "properties": { | 48 | "properties": { |
58 | "element": {"#": "nonVisualComponent"} | 49 | "element": {"#": "objects-tray" } |
59 | }, | ||
60 | "bindings": { | ||
61 | "sourceObject": {"<-": "@nonVisualRepeater.objectAtCurrentIteration"}, | ||
62 | "identifier": {"<-": "@nonVisualRepeater.objectAtCurrentIteration.identifier"} | ||
63 | } | 50 | } |
64 | } | 51 | } |
65 | } | 52 | } |
@@ -75,11 +62,11 @@ | |||
75 | 62 | ||
76 | </div> | 63 | </div> |
77 | </div> | 64 | </div> |
78 | <div data-montage-id="nonVisualRepeater"> | ||
79 | <div data-montage-id="nonVisualComponent"> | ||
80 | 65 | ||
81 | </div> | 66 | <div class="objects-tray-container"> |
67 | <div data-montage-id="objects-tray" ></div> | ||
82 | </div> | 68 | </div> |
69 | |||
83 | <canvas data-montage-id="bindingViewCanvas" class="bindingViewCanvas"></canvas> | 70 | <canvas data-montage-id="bindingViewCanvas" class="bindingViewCanvas"></canvas> |
84 | </section> | 71 | </section> |
85 | 72 | ||