From 8abe69f8d179a3edd2498119ae2947d283c1b758 Mon Sep 17 00:00:00 2001 From: Armen Kesablyan Date: Thu, 21 Jun 2012 13:54:53 -0700 Subject: Binding View - Minor Fixes to remove warnings Signed-off-by: Armen Kesablyan --- js/components/toolbar.reel/toolbar.html | 3 +-- js/panels/PanelContainer.reel/PanelContainer.html | 3 +-- js/panels/objects/object.reel/object.js | 11 +++++++++++ 3 files changed, 13 insertions(+), 4 deletions(-) diff --git a/js/components/toolbar.reel/toolbar.html b/js/components/toolbar.reel/toolbar.html index 51e7ebec..c23e082f 100644 --- a/js/components/toolbar.reel/toolbar.html +++ b/js/components/toolbar.reel/toolbar.html @@ -19,8 +19,7 @@ No rights, expressed or implied, whatsoever to this software are provided by Mot }, "buttonList": { - "module": "montage/ui/repetition.reel", - "name": "Repetition", + "prototype" : "montage/ui/repetition.reel", "properties": { "element": {"#": "repetition"} }, diff --git a/js/panels/PanelContainer.reel/PanelContainer.html b/js/panels/PanelContainer.reel/PanelContainer.html index ed6e8463..820348d2 100755 --- a/js/panels/PanelContainer.reel/PanelContainer.html +++ b/js/panels/PanelContainer.reel/PanelContainer.html @@ -74,8 +74,7 @@ }, "panel_6": { - "module": "js/panels/Panel.reel", - "name": "Panel", + "prototype": "js/panels/Panel.reel", "properties": { "element": {"#": "panel_6"} }, diff --git a/js/panels/objects/object.reel/object.js b/js/panels/objects/object.reel/object.js index 6f8f5c92..1426f800 100644 --- a/js/panels/objects/object.reel/object.js +++ b/js/panels/objects/object.reel/object.js @@ -16,6 +16,17 @@ exports.Object = Montage.create(Component, { iconElement : { value: null }, type : { value: null }, + + _name : { value: null }, + name: { + get: function() { + return this._name; + }, + set: function(val) { + this.name = val; + } + }, + _sourceObject : { value: null }, sourceObject : { get: function() { -- cgit v1.2.3