flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aha...@apache.org
Subject [1/7] git commit: [flex-falcon] [refs/heads/develop] - Worked around some issues with es3.js provided by closure-compiler
Date Wed, 06 Jan 2016 07:36:59 GMT
Repository: flex-falcon
Updated Branches:
  refs/heads/develop 91ba91d74 -> d1b4ed22d


Worked around some issues with es3.js provided by closure-compiler


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

Branch: refs/heads/develop
Commit: 4456908039694e9ba95715d2f49a7c0cded9f425
Parents: a57ff6e
Author: Andy Dufilie <andrew.dufilie@iweave.com>
Authored: Tue Jan 5 10:06:42 2016 -0500
Committer: Alex Harui <aharui@apache.org>
Committed: Tue Jan 5 23:31:55 2016 -0800

----------------------------------------------------------------------
 build.xml             |  3 +++
 externs/js/missing.js | 11 +++++++++++
 2 files changed, 14 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/44569080/build.xml
----------------------------------------------------------------------
diff --git a/build.xml b/build.xml
index f87c972..b751c71 100644
--- a/build.xml
+++ b/build.xml
@@ -660,6 +660,9 @@
         <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)" />
+        <replaceregexp file="${basedir}/externs/js/externs/es3.js" match="(The constructor
of the current object(?:(?!\*/).)*?)@type \{Function\}((?:(?!\*/).)*?\*/[\r\n]+Object\.prototype\.constructor)([^;]*?);"
replace="\1@type {Class}\2;" flags="s" />
+        <replaceregexp file="${basedir}/externs/js/externs/es3.js" match="(Transposes
the elements of an array in place(?:(?!\*/).)*?[\r\n]+ \*)([\r\n]+)( \* @this)" replace="\1\2
* @return {!Array&lt;?&gt;}\2\3" flags="s" />
+        <replaceregexp file="${basedir}/externs/js/externs/es3.js" match="(Sorts the elements
of an array in place(?:(?!\*/).)*?[\r\n]+ \*)([\r\n]+)( \* @param)" replace="\1\2 * @return
{!Array&lt;?&gt;}\2\3" flags="s" />
         <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/44569080/externs/js/missing.js
----------------------------------------------------------------------
diff --git a/externs/js/missing.js b/externs/js/missing.js
index 0b1ebcc..594bace 100644
--- a/externs/js/missing.js
+++ b/externs/js/missing.js
@@ -98,7 +98,18 @@ int.prototype.toString = function(opt_radix) {}
 
 
 /**
+ * @type {Object}
+ */
+Object.prototype;
+
+/**
+ * @type {Object}
+ */
+Object.prototype.prototype;
+
+/**
  * @constructor
+ * @extends {Function}
  */
 function Class() {}
 


Mime
View raw message