flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From erikdebr...@apache.org
Subject [1/3] git commit: [flex-asjs] [refs/heads/develop] - Special case 'int' to 'INT' to avoid collision with build in JS 'class'
Date Fri, 21 Nov 2014 12:17:40 GMT
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 <erik@ixsoftware.nl>


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 <erik@ixsoftware.nl>
Authored: Fri Nov 21 13:17:23 2014 +0100
Committer: Erik de Bruin <erik@ixsoftware.nl>
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


Mime
View raw message