This is an automated email from the ASF dual-hosted git repository.
carlosrovira pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/royale-typedefs.git
The following commit(s) were added to refs/heads/develop by this push:
new d1d711a add web-animations api from royale-extras
d1d711a is described below
commit d1d711a62832eecb83f1176a1c7e39ed9a0e23af
Author: Carlos Rovira <[email protected]>
AuthorDate: Tue Jul 9 16:07:03 2019 +0200
add web-animations api from royale-extras
---
js/build.xml | 6 ++++++
js/pom.xml | 19 +++++++++++++++++--
2 files changed, 23 insertions(+), 2 deletions(-)
diff --git a/js/build.xml b/js/build.xml
index ebaa234..294ddc7 100644
--- a/js/build.xml
+++ b/js/build.xml
@@ -114,6 +114,7 @@
<get
src="https://raw.githubusercontent.com/royale-extras/closure-compiler/royale/externs/browser/w3c_dom2.js"
dest="${basedir}/target/downloads/browser/w3c_dom2.js" ignoreerrors="true"
skipexisting="false"/>
<get
src="https://raw.githubusercontent.com/royale-extras/closure-compiler/royale/externs/browser/html5.js"
dest="${basedir}/target/downloads/browser/html5.js" ignoreerrors="true"
skipexisting="false"/>
<get
src="https://raw.githubusercontent.com/royale-extras/closure-compiler/royale/externs/browser/url.js"
dest="${basedir}/target/downloads/browser/url.js" ignoreerrors="true"
skipexisting="false"/>
+ <get
src="https://raw.githubusercontent.com/royale-extras/closure-compiler/royale/externs/browser/web-animations.js"
dest="${basedir}/target/downloads/browser/web-animations.js"
ignoreerrors="true" skipexisting="false"/>
<antcall target="get-from-cache-if-needed" >
<param name="srcFile" value="svg.js" />
<param name="destFile" value="svg.js" />
@@ -159,6 +160,11 @@
<param name="destFile" value="url.js" />
<param name="destDir" value="${basedir}/target/downloads/browser"
/>
</antcall>
+ <antcall target="get-from-cache-if-needed" >
+ <param name="srcFile" value="web-animations.js" />
+ <param name="destFile" value="web-animations.js" />
+ <param name="destDir" value="${basedir}/target/downloads/browser"
/>
+ </antcall>
<antcall target="fail-if-not-found" >
<param name="destFile" value="svg.js" />
<param name="destDir" value="${basedir}/target/downloads" />
diff --git a/js/pom.xml b/js/pom.xml
index de8926c..8538689 100644
--- a/js/pom.xml
+++ b/js/pom.xml
@@ -180,7 +180,7 @@
<overwrite>true</overwrite>
</configuration>
</execution>
- <execution>
+ <execution>
<id>get-url</id>
<phase>validate</phase>
<goals>
@@ -194,6 +194,20 @@
<overwrite>true</overwrite>
</configuration>
</execution>
+ <execution>
+ <id>get-web-animations</id>
+ <phase>validate</phase>
+ <goals>
+ <goal>wget</goal>
+ </goals>
+ <configuration>
+
<url>https://raw.githubusercontent.com/royale-extras/closure-compiler/royale/externs/browser/web-animations.js</url>
+ <outputFileName>web-animations.js</outputFileName>
+
<outputDirectory>${project.build.directory}/downloads/browser</outputDirectory>
+ <skipCache>true</skipCache>
+ <overwrite>true</overwrite>
+ </configuration>
+ </execution>
</executions>
</plugin>
@@ -229,7 +243,8 @@
<include>browser/webgl.js</include>
<include>browser/webstorage.js</include>
<include>browser/whatwg_encoding.js</include>
- <include>browser/url.js</include>
+ <include>browser/url.js</include>
+
<include>browser/web-animations.js</include>
<include>es6_collections.js</include>
</includes>
<excludes>