You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by ah...@apache.org on 2015/12/17 08:55:03 UTC
[53/55] [abbrv] git commit: [flex-asjs] [refs/heads/develop] - hack
in warning suppression
hack in warning suppression
Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/3d2d2c36
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/3d2d2c36
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/3d2d2c36
Branch: refs/heads/develop
Commit: 3d2d2c36a8ce3939249962909c5429b44f2e08b9
Parents: a94bf84
Author: Alex Harui <ah...@apache.org>
Authored: Wed Dec 16 15:40:09 2015 -0800
Committer: Alex Harui <ah...@apache.org>
Committed: Wed Dec 16 15:40:09 2015 -0800
----------------------------------------------------------------------
frameworks/projects/Core/build.xml | 4 ++++
1 file changed, 4 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/3d2d2c36/frameworks/projects/Core/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Core/build.xml b/frameworks/projects/Core/build.xml
index 15cb288..799665c 100644
--- a/frameworks/projects/Core/build.xml
+++ b/frameworks/projects/Core/build.xml
@@ -117,6 +117,10 @@
<arg value="-define=COMPILE::AS3,false" />
<arg value="-define=COMPILE::JS,true" />
</java>
+ <!-- hack: inject some jsdoc to get rid of a warning when building examples -->
+ <replace file="${basedir}/js/out/org/apache/flex/events/IEventDispatcher.js"
+ token="org.apache.flex.events.IEventDispatcher.prototype.dispatchEvent"
+ value="/** @param {(Object|null|string)} event The event. 
@return {boolean} The return. */
org.apache.flex.events.IEventDispatcher.prototype.dispatchEvent" />
</target>
<target name="compile-extern-swc" description="Compiles .as files into .swc used for cross-compiling other projects">