From e5579374ff39b80b8c0c69faba37f6f581758fe0 Mon Sep 17 00:00:00 2001 From: Valerio Virgillito Date: Tue, 7 Feb 2012 13:28:17 -0800 Subject: updated montage v.0.6 to the latest changes. Signed-off-by: Valerio Virgillito --- node_modules/montage/core/event/binding.js | 4 ---- node_modules/montage/core/event/event-manager.js | 4 ++-- 2 files changed, 2 insertions(+), 6 deletions(-) (limited to 'node_modules/montage/core/event') diff --git a/node_modules/montage/core/event/binding.js b/node_modules/montage/core/event/binding.js index 7a15e5b9..f061e89a 100755 --- a/node_modules/montage/core/event/binding.js +++ b/node_modules/montage/core/event/binding.js @@ -505,8 +505,6 @@ var PropertyChangeBindingListener = exports.PropertyChangeBindingListener = Obje localPrevValue = event.minus, localTarget = event.target, type = event.type, - changeType = event.propertyChange, - localPropertyName = event.propertyName, boundObjectValue, sourceObjectValue, dotIndex, @@ -676,8 +674,6 @@ var PropertyChangeBindingListener = exports.PropertyChangeBindingListener = Obje localPrevValue = null; localTarget = null; type = null; - changeType = null; - localPropertyName = null; dotIndex = null; nextPathComponent = null; atSignIndex = null; diff --git a/node_modules/montage/core/event/event-manager.js b/node_modules/montage/core/event/event-manager.js index 4adc3926..b3e97dbe 100755 --- a/node_modules/montage/core/event/event-manager.js +++ b/node_modules/montage/core/event/event-manager.js @@ -1874,9 +1874,9 @@ var EventManager = exports.EventManager = Montage.create(Montage,/** @lends modu if (target) { associatedComponent = this.eventHandlerForElement(target); if (associatedComponent) { - if (!associatedComponent._preparedForActivationEvents && typeof associatedComponent.prepareForActivationEvents === "function") { + if (!associatedComponent._preparedForActivationEvents) { - associatedComponent.prepareForActivationEvents(); + associatedComponent._prepareForActivationEvents(); associatedComponent._preparedForActivationEvents = true; } else if (associatedComponent._preparedForActivationEvents) { -- cgit v1.2.3