You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by ah...@apache.org on 2014/12/09 06:17:00 UTC

[13/31] git commit: [flex-asjs] [refs/heads/develop] - fix up PropertyWatcher

fix up PropertyWatcher


Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/4865ad19
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/4865ad19
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/4865ad19

Branch: refs/heads/develop
Commit: 4865ad196095b358e6fd07fa5d0ef8dceea0410b
Parents: f400813
Author: Alex Harui <ah...@apache.org>
Authored: Wed Nov 26 15:52:50 2014 -0800
Committer: Alex Harui <ah...@apache.org>
Committed: Mon Dec 8 20:47:42 2014 -0800

----------------------------------------------------------------------
 .../js/FlexJS/src/org/apache/flex/binding/PropertyWatcher.js       | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/4865ad19/frameworks/js/FlexJS/src/org/apache/flex/binding/PropertyWatcher.js
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/src/org/apache/flex/binding/PropertyWatcher.js b/frameworks/js/FlexJS/src/org/apache/flex/binding/PropertyWatcher.js
index 670e34e..b8ced05 100644
--- a/frameworks/js/FlexJS/src/org/apache/flex/binding/PropertyWatcher.js
+++ b/frameworks/js/FlexJS/src/org/apache/flex/binding/PropertyWatcher.js
@@ -107,7 +107,7 @@ org.apache.flex.binding.PropertyWatcher.prototype.parentChanged =
 
   this.source = parent;
 
-  if (this.source)
+  if (this.source && typeof(this.source.addEventListener) == 'function')
     this.addEventListeners();
 
   // Now get our property.