flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aha...@apache.org
Subject [13/31] git commit: [flex-asjs] [refs/heads/develop] - fix up PropertyWatcher
Date Tue, 09 Dec 2014 05:17:00 GMT
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 <aharui@apache.org>
Authored: Wed Nov 26 15:52:50 2014 -0800
Committer: Alex Harui <aharui@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.


Mime
View raw message