Repository: flex-falcon Updated Branches: refs/heads/develop f00f85951 -> 8db677dd8
fix up svg externs Project: http://git-wip-us.apache.org/repos/asf/flex-falcon/repo Commit: http://git-wip-us.apache.org/repos/asf/flex-falcon/commit/8db677dd Tree: http://git-wip-us.apache.org/repos/asf/flex-falcon/tree/8db677dd Diff: http://git-wip-us.apache.org/repos/asf/flex-falcon/diff/8db677dd Branch: refs/heads/develop Commit: 8db677dd89b2b7b511aa78640b942bf0bec0cdf6 Parents: f00f859 Author: Alex Harui <[email protected]> Authored: Fri Dec 11 15:36:37 2015 -0800 Committer: Alex Harui <[email protected]> Committed: Fri Dec 11 15:36:37 2015 -0800 ---------------------------------------------------------------------- build.xml | 3 +++ externs/js/compile-config.xml | 6 +++--- 2 files changed, 6 insertions(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/8db677dd/build.xml ---------------------------------------------------------------------- diff --git a/build.xml b/build.xml index 582709d..f87c972 100644 --- a/build.xml +++ b/build.xml @@ -657,6 +657,9 @@ <replacefilter token="$t" value="$uint" /> <replacefilter token=":T" value=":uint" /> </replace> + <replaceregexp file="${basedir}/externs/js/externs/svg.js" match="@type \{function\(new:.*" replace="" flags="g" /> + <replaceregexp file="${basedir}/externs/js/externs/svg.js" match="Window\.prototype\..*" replace="" flags="g" /> + <replace file="${basedir}/externs/js/externs/svg.js" token="EventListener|(function(Event)" value="EventListener|(function(!Event)" /> <java jar="${basedir}/compiler/generated/dist/sdk/lib/falcon-compc.jar" fork="true" failonerror="true"> <arg value="+flexlib=externs" /> http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/8db677dd/externs/js/compile-config.xml ---------------------------------------------------------------------- diff --git a/externs/js/compile-config.xml b/externs/js/compile-config.xml index ff69260..be1ef01 100644 --- a/externs/js/compile-config.xml +++ b/externs/js/compile-config.xml @@ -68,11 +68,11 @@ <path-element>out/as/typedefs</path-element> </include-sources> - <!-- <include-file> - <name>defaults.css</name> - <path>defaults.css</path> + <name>externs/svg.js</name> + <path>externs/svg.js</path> </include-file> + <!-- <include-file> <name>assets/ErrorIndicator.png</name> <path>assets/ErrorIndicator.png</path>
