Repository: flex-falcon Updated Branches: refs/heads/develop 46d54f829 -> 40e0fbdf1
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/develop Commit: 40e0fbdf101a6c88b27a56906d108fe522c40396 Parents: 46d54f8 Author: Alex Harui <[email protected]> Authored: Tue Mar 15 10:39:09 2016 -0700 Committer: Alex Harui <[email protected]> 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">
