From a40184e08a7ee2f189f133fd7bd83480e4bfc7f2 Mon Sep 17 00:00:00 2001 From: Eric Guzman Date: Wed, 16 May 2012 22:19:34 -0700 Subject: Objects Panel - Add object component --- .../objects/objects-panel.reel/objects-panel.html | 70 ++++++++++++++++++++++ 1 file changed, 70 insertions(+) create mode 100644 js/panels/objects/objects-panel.reel/objects-panel.html (limited to 'js/panels/objects/objects-panel.reel/objects-panel.html') diff --git a/js/panels/objects/objects-panel.reel/objects-panel.html b/js/panels/objects/objects-panel.reel/objects-panel.html new file mode 100644 index 00000000..d68a59c0 --- /dev/null +++ b/js/panels/objects/objects-panel.reel/objects-panel.html @@ -0,0 +1,70 @@ + + + + + + + + + + + + + +
+ +
+ + + -- cgit v1.2.3 From d6b46ba496c9c8974ae39bb476aea35bcd1ddaf1 Mon Sep 17 00:00:00 2001 From: Eric Guzman Date: Mon, 11 Jun 2012 13:27:17 -0700 Subject: Objects Panel - CSS and serialization update --- .../objects/objects-panel.reel/objects-panel.html | 18 +++--------------- 1 file changed, 3 insertions(+), 15 deletions(-) (limited to 'js/panels/objects/objects-panel.reel/objects-panel.html') diff --git a/js/panels/objects/objects-panel.reel/objects-panel.html b/js/panels/objects/objects-panel.reel/objects-panel.html index d68a59c0..17f414e8 100644 --- a/js/panels/objects/objects-panel.reel/objects-panel.html +++ b/js/panels/objects/objects-panel.reel/objects-panel.html @@ -27,11 +27,7 @@ "arrayController": { "prototype": "montage/ui/controller/array-controller", "bindings": { - "content" : { - "boundObject": {"@": "owner"}, - "boundObjectPropertyPath": "objects", - "oneway": true - } + "content": {"<-": "@owner.objects"} } }, "objectComponent": { @@ -40,16 +36,8 @@ "element": {"#": "list-item"} }, "bindings": { - "sourceObject" : { - "boundObject": {"@": "repetition"}, - "boundObjectPropertyPath": "objectAtCurrentIteration", - "oneway": true - }, - "identifier" : { - "boundObject": {"@": "repetition"}, - "boundObjectPropertyPath": "objectAtCurrentIteration.identifier", - "oneway": true - } + "sourceObject" : {"<-": "@repetition.objectAtCurrentIteration"}, + "identifier" : {"<-": "@repetition.objectAtCurrentIteration.identifier"} } } -- cgit v1.2.3