Use VF2JS emitter

Signed-off-by: Erik de Bruin <[email protected]>


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

Branch: refs/heads/develop
Commit: b6029558a8a93f03edfa53fba26b8b8c857690a8
Parents: 5bbf200
Author: Erik de Bruin <[email protected]>
Authored: Fri Oct 31 17:38:04 2014 +0100
Committer: Erik de Bruin <[email protected]>
Committed: Fri Oct 31 17:44:04 2014 +0100

----------------------------------------------------------------------
 .../compiler/internal/codegen/mxml/vf2js/MXMLVF2JSEmitter.java    | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6029558/compiler.jx/src/org/apache/flex/compiler/internal/codegen/mxml/vf2js/MXMLVF2JSEmitter.java
----------------------------------------------------------------------
diff --git 
a/compiler.jx/src/org/apache/flex/compiler/internal/codegen/mxml/vf2js/MXMLVF2JSEmitter.java
 
b/compiler.jx/src/org/apache/flex/compiler/internal/codegen/mxml/vf2js/MXMLVF2JSEmitter.java
index b998545..4d1205d 100644
--- 
a/compiler.jx/src/org/apache/flex/compiler/internal/codegen/mxml/vf2js/MXMLVF2JSEmitter.java
+++ 
b/compiler.jx/src/org/apache/flex/compiler/internal/codegen/mxml/vf2js/MXMLVF2JSEmitter.java
@@ -43,7 +43,6 @@ import 
org.apache.flex.compiler.internal.codegen.databinding.WatcherInfoBase;
 import 
org.apache.flex.compiler.internal.codegen.databinding.WatcherInfoBase.WatcherType;
 import org.apache.flex.compiler.internal.codegen.databinding.XMLWatcherInfo;
 import org.apache.flex.compiler.internal.codegen.js.JSEmitterTokens;
-import org.apache.flex.compiler.internal.codegen.js.flexjs.JSFlexJSEmitter;
 import 
org.apache.flex.compiler.internal.codegen.js.flexjs.JSFlexJSEmitterTokens;
 import org.apache.flex.compiler.internal.codegen.js.goog.JSGoogEmitterTokens;
 import org.apache.flex.compiler.internal.codegen.js.vf2js.JSVF2JSEmitter;
@@ -223,7 +222,7 @@ public class MXMLVF2JSEmitter extends MXMLEmitter implements
         IClassDefinition cdef = node.getContainedClassDefinition();
         IASEmitter asEmitter = ((IMXMLBlockWalker) getMXMLWalker())
                 .getASEmitter();
-        ((JSFlexJSEmitter) asEmitter).thisClass = cdef;
+        ((JSVF2JSEmitter) asEmitter).thisClass = cdef;
 
         IASNode classNode = node.getContainedClassDefinitionNode();
         // visit tags

Reply via email to