You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by cd...@apache.org on 2016/03/19 13:04:47 UTC

[5/8] git commit: [flex-falcon] [refs/heads/feature/maven-migration] - force parseInt to have optional param. The compiler will take care of adding it for JS output

force parseInt to have optional param.  The compiler will take care of adding it for JS output


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

Branch: refs/heads/feature/maven-migration
Commit: 40e0fbdf101a6c88b27a56906d108fe522c40396
Parents: 46d54f8
Author: Alex Harui <ah...@apache.org>
Authored: Tue Mar 15 10:39:09 2016 -0700
Committer: Alex Harui <ah...@apache.org>
Committed: Tue Mar 15 10:39:09 2016 -0700

----------------------------------------------------------------------
 build.xml | 3 +++
 1 file changed, 3 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/40e0fbdf/build.xml
----------------------------------------------------------------------
diff --git a/build.xml b/build.xml
index 6127c95..731a6c8 100644
--- a/build.xml
+++ b/build.xml
@@ -680,6 +680,9 @@
             <replacefilter token="$t" value="$uint" />
             <replacefilter token=":T" value=":uint" />
         </replace>
+        <replace file="${basedir}/externs/js/out/as/functions/parseInt.as" >
+            <replacefilter token="base:Number)" value="base:Number = 10)" />
+        </replace>
         
     	<java jar="${basedir}/compiler/generated/dist/sdk/lib/falcon-compc.jar" fork="true"
             failonerror="true">