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/09/25 18:04:09 UTC
[27/50] git commit: [flex-asjs] [refs/heads/develop] - compensate for
JS codegen
compensate for JS codegen
Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/b4ae6a1a
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/b4ae6a1a
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/b4ae6a1a
Branch: refs/heads/develop
Commit: b4ae6a1a185c1e460b8ea92fbabb13ebc385f335
Parents: 4101979
Author: Alex Harui <ah...@apache.org>
Authored: Tue Sep 23 09:44:26 2014 -0700
Committer: Alex Harui <ah...@apache.org>
Committed: Tue Sep 23 15:01:19 2014 -0700
----------------------------------------------------------------------
.../src/org/apache/flex/core/MXMLBeadViewBaseDataBinding.as | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/b4ae6a1a/frameworks/as/projects/FlexJSJX/src/org/apache/flex/core/MXMLBeadViewBaseDataBinding.as
----------------------------------------------------------------------
diff --git a/frameworks/as/projects/FlexJSJX/src/org/apache/flex/core/MXMLBeadViewBaseDataBinding.as b/frameworks/as/projects/FlexJSJX/src/org/apache/flex/core/MXMLBeadViewBaseDataBinding.as
index e810a04..4ba80ea 100644
--- a/frameworks/as/projects/FlexJSJX/src/org/apache/flex/core/MXMLBeadViewBaseDataBinding.as
+++ b/frameworks/as/projects/FlexJSJX/src/org/apache/flex/core/MXMLBeadViewBaseDataBinding.as
@@ -250,7 +250,10 @@ package org.apache.flex.core
var n:int = bindingData.length;
var index:int = 0;
var watcherData:Object;
- while (index < n)
+ // FalconJX adds an extra null to the data so make sure
+ // we have enough data for a complete watcher otherwise
+ // say we are done
+ while (index < n - 2)
{
var watcherIndex:int = bindingData[index++];
var type:int = bindingData[index++];