Repository: flex-asjs
Updated Branches:
  refs/heads/develop 95059a74f -> 87a25c255


Special case 'int' to 'INT' to avoid collision with build in JS 'class'

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


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

Branch: refs/heads/develop
Commit: 87a25c255ab93ca192daca9de8eb4aa26a389c33
Parents: b5214af
Author: Erik de Bruin <[email protected]>
Authored: Fri Nov 21 13:17:23 2014 +0100
Committer: Erik de Bruin <[email protected]>
Committed: Fri Nov 21 13:17:30 2014 +0100

----------------------------------------------------------------------
 vf2js/utils/PlayerGlobalToJS/src/PlayerGlobalToJS.mxml | 3 +++
 1 file changed, 3 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/87a25c25/vf2js/utils/PlayerGlobalToJS/src/PlayerGlobalToJS.mxml
----------------------------------------------------------------------
diff --git a/vf2js/utils/PlayerGlobalToJS/src/PlayerGlobalToJS.mxml 
b/vf2js/utils/PlayerGlobalToJS/src/PlayerGlobalToJS.mxml
index c1a2c99..fdd52d6 100755
--- a/vf2js/utils/PlayerGlobalToJS/src/PlayerGlobalToJS.mxml
+++ b/vf2js/utils/PlayerGlobalToJS/src/PlayerGlobalToJS.mxml
@@ -172,6 +172,9 @@
                                        
                                        clsMembers = parseClassMembers(clazz);
                                        
+                                       if (clazz.qName === 'int') {
+                                               clazz.qName = 'INT';
+                                       }
                                        clazz.startOutput();
                                        
                                        // Member stubs

Reply via email to