flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aha...@apache.org
Subject [18/18] git commit: [flex-falcon] [refs/heads/develop] - fix bug in binding event
Date Wed, 08 Apr 2015 23:05:24 GMT
fix bug in binding event


Project: http://git-wip-us.apache.org/repos/asf/flex-falcon/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-falcon/commit/8596224e
Tree: http://git-wip-us.apache.org/repos/asf/flex-falcon/tree/8596224e
Diff: http://git-wip-us.apache.org/repos/asf/flex-falcon/diff/8596224e

Branch: refs/heads/develop
Commit: 8596224ed995cb033b0370cb8f44dbe88b5166b4
Parents: 83c8eb2
Author: Alex Harui <aharui@apache.org>
Authored: Wed Apr 8 15:21:48 2015 -0700
Committer: Alex Harui <aharui@apache.org>
Committed: Wed Apr 8 15:21:48 2015 -0700

----------------------------------------------------------------------
 .../compiler/internal/codegen/js/flexjs/JSFlexJSEmitter.java     | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/8596224e/compiler.jx/src/org/apache/flex/compiler/internal/codegen/js/flexjs/JSFlexJSEmitter.java
----------------------------------------------------------------------
diff --git a/compiler.jx/src/org/apache/flex/compiler/internal/codegen/js/flexjs/JSFlexJSEmitter.java
b/compiler.jx/src/org/apache/flex/compiler/internal/codegen/js/flexjs/JSFlexJSEmitter.java
index 792287b..c29a9bc 100644
--- a/compiler.jx/src/org/apache/flex/compiler/internal/codegen/js/flexjs/JSFlexJSEmitter.java
+++ b/compiler.jx/src/org/apache/flex/compiler/internal/codegen/js/flexjs/JSFlexJSEmitter.java
@@ -517,7 +517,7 @@ public class JSFlexJSEmitter extends JSGoogEmitter implements IJSFlexJSEmitter
         }
     }
 
-    private void emitBindableVariables(IClassDefinition cdef)
+    public void emitBindableVariables(IClassDefinition cdef)
     {
     	if (bindableVars.size() > 0)
     	{
@@ -584,7 +584,7 @@ public class JSFlexJSEmitter extends JSGoogEmitter implements IJSFlexJSEmitter
 	    writeNewline("    " + ASEmitterTokens.THIS.getToken() + ASEmitterTokens.MEMBER_ACCESS.getToken()
 	            + name + "_ = value;");
 	    writeNewline("    this.dispatchEvent(org_apache_flex_events_ValueChangeEvent.createUpdateEvent(");
-	    writeNewline("         this, \"" + name + "_\", oldValue, value));");
+	    writeNewline("         this, \"" + name + "\", oldValue, value));");
 	    writeNewline("}");
 	    write(ASEmitterTokens.BLOCK_CLOSE.getToken());
 	    write(ASEmitterTokens.BLOCK_CLOSE.getToken());


Mime
View raw message