aboutsummaryrefslogtreecommitdiff
path: root/js/stage/stage.reel/stage.html
diff options
context:
space:
mode:
authorValerio Virgillito2012-05-29 00:34:40 -0700
committerValerio Virgillito2012-05-29 00:34:40 -0700
commit4c3aac5eabd93052b1554a03d78235215bb49db4 (patch)
treefe08f4f6d33d81d602f56daeaec845577fb9d8a5 /js/stage/stage.reel/stage.html
parent9a66ccad0235484643ef6d821315b11b5be4a93e (diff)
downloadninja-4c3aac5eabd93052b1554a03d78235215bb49db4.tar.gz
document bindings phase 1
- using array controller to bind the current document to all ninja components - removed open document event - removed references to the document controller Signed-off-by: Valerio Virgillito <valerio@motorola.com>
Diffstat (limited to 'js/stage/stage.reel/stage.html')
-rwxr-xr-xjs/stage/stage.reel/stage.html18
1 files changed, 9 insertions, 9 deletions
diff --git a/js/stage/stage.reel/stage.html b/js/stage/stage.reel/stage.html
index 30c3d231..89b674ab 100755
--- a/js/stage/stage.reel/stage.html
+++ b/js/stage/stage.reel/stage.html
@@ -18,25 +18,25 @@
18 } 18 }
19 }, 19 },
20 20
21 "StageDeps1": { 21 "stageDeps": {
22 "prototype": "js/stage/stage-deps", 22 "prototype": "js/stage/stage-deps",
23 "properties": { 23 "properties": {
24 "stage": {"@": "owner"} 24 "stage": {"@": "owner"}
25 },
26 "bindings": {
27 "currentDocument": {"<-": "@owner.currentDocument"}
25 } 28 }
26 }, 29 },
27 30
28 "layout1": { 31 "layout": {
29 "prototype": "js/stage/layout", 32 "prototype": "js/stage/layout",
30 "properties": { 33 "properties": {
31 "canvas": {"#": "layoutCanvas"}, 34 "canvas": {"#": "layoutCanvas"},
32 "stage": {"@": "owner"} 35 "stage": {"@": "owner"}
33 }, 36 },
34 "bindings": { 37 "bindings": {
35 "layoutView": { 38 "layoutView": {"<-": "@owner.appModel.layoutView"},
36 "boundObject": {"@": "owner" }, 39 "currentDocument": {"<-": "@owner.currentDocument"}
37 "boundObjectPropertyPath": "appModel.layoutView",
38 "oneway": true
39 }
40 } 40 }
41 }, 41 },
42 42
@@ -59,8 +59,8 @@
59 "_layoutCanvas": {"#": "layoutCanvas"}, 59 "_layoutCanvas": {"#": "layoutCanvas"},
60 "_canvas": {"#": "stageCanvas"}, 60 "_canvas": {"#": "stageCanvas"},
61 "_drawingCanvas": {"#": "drawingCanvas"}, 61 "_drawingCanvas": {"#": "drawingCanvas"},
62 "stageDeps": {"@": "StageDeps1"}, 62 "stageDeps": {"@": "stageDeps"},
63 "layout": {"@": "layout1"}, 63 "layout": {"@": "layout"},
64 "stageView": {"@": "stageView"}, 64 "stageView": {"@": "stageView"},
65 "textTool": {"@": "textTool"}, 65 "textTool": {"@": "textTool"},
66 "focusManager": {"@": "focusManager"} 66 "focusManager": {"@": "focusManager"}