From 85847ff047850808ba2bcfb43a6aa83913376b5b Mon Sep 17 00:00:00 2001 From: Armen Kesablyan Date: Thu, 7 Jun 2012 10:22:03 -0700 Subject: Changes to Binding View Signed-off-by: Armen Kesablyan --- js/controllers/objects-controller.js | 3 --- js/stage/binding-view.reel/binding-view.js | 10 ++++++++++ 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/js/controllers/objects-controller.js b/js/controllers/objects-controller.js index 6da53b0f..ee203336 100644 --- a/js/controllers/objects-controller.js +++ b/js/controllers/objects-controller.js @@ -143,11 +143,8 @@ var objectsController = exports.ObjectsController = Montage.create(Component, { var properties = []; for(var key in object) { - debugger; if(object.hasOwnProperty(key)) { - if(key.serializable) { properties.push(key); - } } } diff --git a/js/stage/binding-view.reel/binding-view.js b/js/stage/binding-view.reel/binding-view.js index d76aab81..1457e2fc 100755 --- a/js/stage/binding-view.reel/binding-view.js +++ b/js/stage/binding-view.reel/binding-view.js @@ -16,9 +16,17 @@ exports.BindingView = Montage.create(Component, { _selectedComponent: { value: null }, + + //Bindables Format: [ + + //] + + _bindables: { value: [] }, + + _nonVisualComponents: { value:[] }, @@ -46,10 +54,12 @@ exports.BindingView = Montage.create(Component, { this._selectedComponent = val; this.application.ninja.objectsController.currentObject = this.selectedComponent; var arrBindings = this.application.ninja.objectsController.currentObjectBindings; + debugger; arrBindings.forEach(function(obj) { }.bind(this)); + this.bindables.push(this._selectedComponent); // Get Bindings that exist; -- cgit v1.2.3