flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cd...@apache.org
Subject [2/7] git commit: [flex-falcon] [refs/heads/featue/flexjs-ant-tasks] - get toString to return a string. Also add generated to header of patch files
Date Wed, 13 Jul 2016 09:09:18 GMT
get toString to return a string.  Also add generated to header of patch files


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

Branch: refs/heads/featue/flexjs-ant-tasks
Commit: 148fa8b3142571bc495fac0d1a767771ff258d6a
Parents: ac3cfe0
Author: Alex Harui <aharui@apache.org>
Authored: Sun Jul 10 23:17:16 2016 -0700
Committer: Alex Harui <aharui@apache.org>
Committed: Sun Jul 10 23:17:26 2016 -0700

----------------------------------------------------------------------
 externs/createjs/build.xml                    |  27 +++-
 externs/createjs/src/main/patch/easeljs.patch | 163 +++++++++++----------
 externs/createjs/src/main/patch/tweenjs.patch |   6 +-
 3 files changed, 110 insertions(+), 86 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/148fa8b3/externs/createjs/build.xml
----------------------------------------------------------------------
diff --git a/externs/createjs/build.xml b/externs/createjs/build.xml
index efeef5b..ee108a2 100644
--- a/externs/createjs/build.xml
+++ b/externs/createjs/build.xml
@@ -245,24 +245,38 @@
         </unzip>
         <delete dir="${basedir}/src/main/patch" />
         <mkdir dir="${basedir}/src/main/patch" />
-        <exec executable="git" output="${basedir}/src/main/patch/easeljs.patch" >
+        <exec executable="git" output="${basedir}/src/main/patch/easeljs.temp.patch" >
             <arg value="diff"/>
             <arg value="--no-index"/>
             <arg value="--"/>
             <arg value="${basedir}/target/reference/EaselJS-${createjs.version}"/>
             <arg value="${basedir}/target/downloads/EaselJS-${createjs.version}"/>
         </exec>
-        <exec executable="git" output="${basedir}/src/main/patch/tweenjs.patch" >
+        <exec executable="git" output="${basedir}/src/main/patch/tweenjs.temp.patch" >
             <arg value="diff"/>
             <arg value="--no-index"/>
             <arg value="--"/>
             <arg value="${basedir}/target/reference/TweenJS-${tweenjs.version}"/>
             <arg value="${basedir}/target/downloads/TweenJS-${tweenjs.version}"/>
         </exec>
-        <replace file="${basedir}/src/main/patch/easeljs.patch" token="target/reference"
value="target/downloads" />
-        <replace file="${basedir}/src/main/patch/easeljs.patch" token="${basedir}/target/downloads"
value="/externs/createjs/target/downloads" />
-        <replace file="${basedir}/src/main/patch/tweenjs.patch" token="target/reference"
value="target/downloads" />
-        <replace file="${basedir}/src/main/patch/tweenjs.patch" token="${basedir}/target/downloads"
value="/externs/createjs/target/downloads" />
+        <replace file="${basedir}/src/main/patch/easeljs.temp.patch" token="target/reference"
value="target/downloads" />
+        <replace file="${basedir}/src/main/patch/easeljs.temp.patch" token="${basedir}/target/downloads"
value="/externs/createjs/target/downloads" />
+        <replace file="${basedir}/src/main/patch/tweenjs.temp.patch" token="target/reference"
value="target/downloads" />
+        <replace file="${basedir}/src/main/patch/tweenjs.temp.patch" token="${basedir}/target/downloads"
value="/externs/createjs/target/downloads" />
+        <concat destfile="${basedir}/src/main/patch/tweenjs.patch" >
+            <header filtering="no" trimleading="yes">
+                Generated from Ant script
+            </header>
+            <filelist dir="${basedir}/src/main/patch" files="tweenjs.temp.patch"/>
+        </concat>
+        <concat destfile="${basedir}/src/main/patch/easeljs.patch" >
+            <header filtering="no" trimleading="yes">
+                Generated from Ant script
+            </header>
+            <filelist dir="${basedir}/src/main/patch" files="easeljs.temp.patch"/>
+        </concat>
+        <delete file="${basedir}/src/main/patch/easeljs.temp.patch" />
+        <delete file="${basedir}/src/main/patch/tweenjs.temp.patch" />
     </target>
     
     <target name="preprocess" depends="expandzip, expandzip_tween">
@@ -382,6 +396,7 @@
             <replacefilter token="SpriteSheet}" value="createjs.SpriteSheet}" />
             <replacefilter token="Stage}" value="createjs.Stage}" />
             <replacefilter token="Point |" value="createjs.Point|" />
+            <replacefilter token="{String}" value="{string}" />
         </replace>
     </target>
     

http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/148fa8b3/externs/createjs/src/main/patch/easeljs.patch
----------------------------------------------------------------------
diff --git a/externs/createjs/src/main/patch/easeljs.patch b/externs/createjs/src/main/patch/easeljs.patch
index 41a5230..ca11c4e 100644
--- a/externs/createjs/src/main/patch/easeljs.patch
+++ b/externs/createjs/src/main/patch/easeljs.patch
@@ -1,5 +1,7 @@
+
+Generated from Ant script
 diff --git a/externs/createjs/target/downloads/EaselJS-0.8.0/src/createjs/events/Event.js
b/externs/createjs/target/downloads/EaselJS-0.8.0/src/createjs/events/Event.js
-index 3ce0025..dbefcd2 100644
+index 3ce0025..e8a377d 100644
 --- a/externs/createjs/target/downloads/EaselJS-0.8.0/src/createjs/events/Event.js
 +++ b/externs/createjs/target/downloads/EaselJS-0.8.0/src/createjs/events/Event.js
 @@ -1,262 +1,80 @@
@@ -50,7 +52,7 @@ index 3ce0025..dbefcd2 100644
 - * @module CreateJS
 - * @main CreateJS
 + * @see [Event]
-+ * @param {(string|null)} type The event type.
++ * @param {string} type The event type.
 + * @param {(boolean|null)} bubbles Indicates whether the event will bubble through the display
list.
 + * @param {(boolean|null)} cancelable Indicates whether the default behaviour of this event
can be cancelled.
 + * @constructor
@@ -312,9 +314,9 @@ index 3ce0025..dbefcd2 100644
 +     * Returns a string representation of this object.
 +     *
 +     * @see [Event]
-+     * @returns {(string|null)} a string representation of the instance.
++     * @returns {string} a string representation of the instance.
 +     */
-+createjs.Event.prototype.toString = function () {  return null; }
++createjs.Event.prototype.toString = function () { return ''; }
  
 -	/**
 -	 * Returns a string representation of this object.
@@ -335,7 +337,7 @@ index 3ce0025..dbefcd2 100644
 -	createjs.Event = Event;
 -}());
 diff --git a/externs/createjs/target/downloads/EaselJS-0.8.0/src/createjs/events/EventDispatcher.js
b/externs/createjs/target/downloads/EaselJS-0.8.0/src/createjs/events/EventDispatcher.js
-index 0ae4781..ca46b46 100644
+index 0ae4781..a03fd10 100644
 --- a/externs/createjs/target/downloads/EaselJS-0.8.0/src/createjs/events/EventDispatcher.js
 +++ b/externs/createjs/target/downloads/EaselJS-0.8.0/src/createjs/events/EventDispatcher.js
 @@ -1,407 +1,202 @@
@@ -818,7 +820,7 @@ index 0ae4781..ca46b46 100644
 +     * This is similar to {{#crossLink "EventDispatcher/hasEventListener"}}{{/crossLink}},
but it searches the entire
 +     * event flow for a listener, not just this object.
 +     *
-+     * @param {(string|null)} type The string type of the event.
++     * @param {string} type The string type of the event.
 +     * @see [EventDispatcher]
 +     * @returns {(boolean|null)} Returns `true` if there is at least one listener for the
specified event.
 +     */
@@ -851,7 +853,7 @@ index 0ae4781..ca46b46 100644
 +     * // Click happened.
 +     * }
 +     *
-+     * @param {(string|null)} type The string type of the event.
++     * @param {string} type The string type of the event.
 +     * @param {(Object|null)} listener An object with a handleEvent method, or a function
that will be called when the event is dispatched.
 +     * @param {boolean=} opt_useCapture For events that bubble, indicates whether to listen
for the event in the capture or bubbling/target phase.
 +     * @see [EventDispatcher]
@@ -895,7 +897,7 @@ index 0ae4781..ca46b46 100644
 +     * 
 +     * displayObject.removeEventListener("click", handleClick);
 +     *
-+     * @param {(string|null)} type The string type of the event.
++     * @param {string} type The string type of the event.
 +     * @param {(Object|null)} listener The listener function or object.
 +     * @param {boolean=} opt_useCapture For events that bubble, indicates whether to listen
for the event in the capture or bubbling/target phase.
 +     * @see [EventDispatcher]
@@ -922,7 +924,7 @@ index 0ae4781..ca46b46 100644
 +     * }
 +     * }
 +     *
-+     * @param {(string|null)} type The string type of the event.
++     * @param {string} type The string type of the event.
 +     * @param {(Object|null)} listener An object with a handleEvent method, or a function
that will be called when the event is dispatched.
 +     * @param {Object=} opt_scope The scope to execute the listener in. Defaults to the
dispatcher/currentTarget for function listeners, and to the listener itself for object listeners
(ie. using handleEvent).
 +     * @param {boolean=} opt_once If true, the listener will remove itself after the first
time it is triggered.
@@ -935,14 +937,14 @@ index 0ae4781..ca46b46 100644
 +
 +    /**
 +     * @see [EventDispatcher]
-+     * @returns {(string|null)} a string representation of the instance.
++     * @returns {string} a string representation of the instance.
 +     */
-+createjs.EventDispatcher.prototype.toString = function () {  return null; }
++createjs.EventDispatcher.prototype.toString = function () { return ''; }
 +
 +    /**
 +     * Indicates whether there is at least one listener for the specified event type.
 +     *
-+     * @param {(string|null)} type The string type of the event.
++     * @param {string} type The string type of the event.
 +     * @see [EventDispatcher]
 +     * @returns {(boolean|null)} Returns true if there is at least one listener for the
specified event.
 +     */
@@ -1820,7 +1822,7 @@ index 9719d4d..18b0bf0 100644
  	for (var i = 0,l=array.length; i < l; i++) {
  		if (searchElement === array[i]) {
 diff --git a/externs/createjs/target/downloads/EaselJS-0.8.0/src/createjs/utils/promote.js
b/externs/createjs/target/downloads/EaselJS-0.8.0/src/createjs/utils/promote.js
-index d09a381..4cdf289 100644
+index d09a381..5da6df7 100644
 --- a/externs/createjs/target/downloads/EaselJS-0.8.0/src/createjs/utils/promote.js
 +++ b/externs/createjs/target/downloads/EaselJS-0.8.0/src/createjs/utils/promote.js
 @@ -31,7 +31,7 @@
@@ -1832,7 +1834,12 @@ index d09a381..4cdf289 100644
  
  /**
   * @class Utility Methods
-@@ -75,7 +75,7 @@ this.createjs = this.createjs||{};
+@@ -71,11 +71,11 @@ this.createjs = this.createjs||{};
+  *
+  * @method promote
+  * @param {Function} subclass The class to promote super class methods on.
+- * @param {String} prefix The prefix to add to the promoted method names. Usually the name
of the superclass.
++ * @param {string} prefix The prefix to add to the promoted method names. Usually the name
of the superclass.
   * @return {Function} Returns the subclass.
   */
  createjs.promote = function(subclass, prefix) {
@@ -2090,7 +2097,7 @@ index eecac1a..4fbd265 100644
 -	createjs.Bitmap = createjs.promote(Bitmap, "DisplayObject");
 -}());
 diff --git a/externs/createjs/target/downloads/EaselJS-0.8.0/src/easeljs/display/BitmapText.js
b/externs/createjs/target/downloads/EaselJS-0.8.0/src/easeljs/display/BitmapText.js
-index b028d9b..6e030ec 100644
+index b028d9b..c1d2309 100644
 --- a/externs/createjs/target/downloads/EaselJS-0.8.0/src/easeljs/display/BitmapText.js
 +++ b/externs/createjs/target/downloads/EaselJS-0.8.0/src/easeljs/display/BitmapText.js
 @@ -1,343 +1,60 @@
@@ -2160,7 +2167,7 @@ index b028d9b..6e030ec 100644
 +
 +
 +    /**
-+     * @param {(string|null)} character 
++     * @param {string} character 
 +     * @param {(createjs.SpriteSheet|null)} spriteSheet 
 +     * @see [BitmapText]
 +     * @returns {(number|null)} 
@@ -2169,7 +2176,7 @@ index b028d9b..6e030ec 100644
 +
 +
 +    /**
-+     * @param {(string|null)} character 
++     * @param {string} character 
 +     * @param {(createjs.SpriteSheet|null)} spriteSheet 
 +     * @see [BitmapText]
 +     * @returns {(Object|null)} 
@@ -2498,7 +2505,7 @@ index b028d9b..6e030ec 100644
 -}());
 \ No newline at end of file
 diff --git a/externs/createjs/target/downloads/EaselJS-0.8.0/src/easeljs/display/Container.js
b/externs/createjs/target/downloads/EaselJS-0.8.0/src/easeljs/display/Container.js
-index b6bac78..f468405 100644
+index b6bac78..b23762f 100644
 --- a/externs/createjs/target/downloads/EaselJS-0.8.0/src/easeljs/display/Container.js
 +++ b/externs/createjs/target/downloads/EaselJS-0.8.0/src/easeljs/display/Container.js
 @@ -1,690 +1,310 @@
@@ -3354,7 +3361,7 @@ index b6bac78..f468405 100644
 +    /**
 +     * Returns the child with the specified name.
 +     *
-+     * @param {(string|null)} name The name of the child to return.
++     * @param {string} name The name of the child to return.
 +     * @see [Container]
 +     * @returns {(createjs.DisplayObject|null)} The child with the specified name.
 +     */
@@ -3821,7 +3828,7 @@ index f6eab31..b9817b4 100644
 -	createjs.DOMElement = createjs.promote(DOMElement, "DisplayObject");
 -}());
 diff --git a/externs/createjs/target/downloads/EaselJS-0.8.0/src/easeljs/display/DisplayObject.js
b/externs/createjs/target/downloads/EaselJS-0.8.0/src/easeljs/display/DisplayObject.js
-index 3ce9e90..d2d81f5 100644
+index 3ce9e90..24325e2 100644
 --- a/externs/createjs/target/downloads/EaselJS-0.8.0/src/easeljs/display/DisplayObject.js
 +++ b/externs/createjs/target/downloads/EaselJS-0.8.0/src/easeljs/display/DisplayObject.js
 @@ -1,1364 +1,493 @@
@@ -5413,7 +5420,7 @@ index 3ce9e90..d2d81f5 100644
 +     * shapeInstance.setStrokeStyle(3).beginStroke("#ff0000").moveTo(100, 100).lineTo(200,200);
 +     * shapeInstance.updateCache();
 +     *
-+     * @param {(string|null)} compositeOperation The compositeOperation to use, or null
to clear the cache and redraw it. <a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/the-canvas-element.html#compositing">
whatwg spec on compositing</a>.
++     * @param {string} compositeOperation The compositeOperation to use, or null to clear
the cache and redraw it. <a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/the-canvas-element.html#compositing">
whatwg spec on compositing</a>.
 +     * @see [DisplayObject]
 +     */
 +createjs.DisplayObject.prototype.updateCache = function (compositeOperation) {  }
@@ -5651,9 +5658,9 @@ index 3ce9e90..d2d81f5 100644
 +     * Uses cacheID to ensure a new data URL is not generated if the cache has not changed.
 +     *
 +     * @see [DisplayObject]
-+     * @returns {(string|null)} The image data url for the cache.
++     * @returns {string} The image data url for the cache.
 +     */
-+createjs.DisplayObject.prototype.getCacheDataURL = function () {  return null; }
++createjs.DisplayObject.prototype.getCacheDataURL = function () { return ''; }
 +
 +    /**
 +     * @param {(createjs.DisplayObject|null)} o The DisplayObject instance which will have
properties from the current DisplayObject instance copied into.
@@ -5683,7 +5690,7 @@ index 3ce9e90..d2d81f5 100644
 +
 +
 diff --git a/externs/createjs/target/downloads/EaselJS-0.8.0/src/easeljs/display/Graphics.js
b/externs/createjs/target/downloads/EaselJS-0.8.0/src/easeljs/display/Graphics.js
-index 690a649..66239fa 100644
+index 690a649..44be6fa 100644
 --- a/externs/createjs/target/downloads/EaselJS-0.8.0/src/easeljs/display/Graphics.js
 +++ b/externs/createjs/target/downloads/EaselJS-0.8.0/src/easeljs/display/Graphics.js
 @@ -1,2177 +1,721 @@
@@ -7993,9 +8000,9 @@ index 690a649..66239fa 100644
 +     * @param {(number|null)} b The blue component for the color, between 0 and 0xFF (255).
 +     * @param {number=} opt_alpha The alpha component for the color where 0 is fully transparent
and 1 is fully opaque.
 +     * @see [Graphics]
-+     * @returns {(string|null)} A CSS compatible color string based on the specified RGB
numeric color values in the format "rgba(255,255,255,1.0)", or if alpha is null then in the
format "rgb(255,255,255)".
++     * @returns {string} A CSS compatible color string based on the specified RGB numeric
color values in the format "rgba(255,255,255,1.0)", or if alpha is null then in the format
"rgb(255,255,255)".
 +     */
-+createjs.Graphics.getRGB = function (r, g, b, opt_alpha) {  return null; }
++createjs.Graphics.getRGB = function (r, g, b, opt_alpha) { return ''; }
 +
 +    /**
 +     * Returns a CSS compatible color string based on the specified HSL numeric color values
in the format "hsla(360,100,100,1.0)",
@@ -8009,9 +8016,9 @@ index 690a649..66239fa 100644
 +     * @param {(number|null)} lightness The lightness component for the color, between 0
and 100.
 +     * @param {number=} opt_alpha The alpha component for the color where 0 is fully transparent
and 1 is fully opaque.
 +     * @see [Graphics]
-+     * @returns {(string|null)} A CSS compatible color string based on the specified HSL
numeric color values in the format "hsla(360,100,100,1.0)", or if alpha is null then in the
format "hsl(360,100,100)".
++     * @returns {string} A CSS compatible color string based on the specified HSL numeric
color values in the format "hsla(360,100,100,1.0)", or if alpha is null then in the format
"hsl(360,100,100)".
 +     */
-+createjs.Graphics.getHSL = function (hue, saturation, lightness, opt_alpha) {  return null;
}
++createjs.Graphics.getHSL = function (hue, saturation, lightness, opt_alpha) { return '';
}
 +
 +    /**
 +     * Stores all graphics commands so they won't be executed in future draws. Calling store()
a second time adds to
@@ -8152,7 +8159,7 @@ index 690a649..66239fa 100644
 +     * 
 +     * A tiny API method "p" also exists.
 +     *
-+     * @param {(string|null)} str The path string to decode.
++     * @param {string} str The path string to decode.
 +     * @see [Graphics]
 +     * @returns {(createjs.Graphics|null)} The Graphics instance the method is called on
(useful for chaining calls.)
 +     */
@@ -8284,7 +8291,7 @@ index 690a649..66239fa 100644
 +     * exists.
 +     *
 +     * @param {(HTMLCanvasElement|HTMLImageElement|HTMLVideoElement|null)} image The Image,
Canvas, or Video object to use as the pattern.
-+     * @param {(string|null)} repetition Optional. Indicates whether to repeat the image
in the fill area. One of "repeat", "repeat-x", "repeat-y", or "no-repeat". Defaults to "repeat".
Note that Firefox does not support "repeat-x" or "repeat-y" (latest tests were in FF 20.0),
and will default to "repeat".
++     * @param {string} repetition Optional. Indicates whether to repeat the image in the
fill area. One of "repeat", "repeat-x", "repeat-y", or "no-repeat". Defaults to "repeat".
Note that Firefox does not support "repeat-x" or "repeat-y" (latest tests were in FF 20.0),
and will default to "repeat".
 +     * @param {(createjs.Matrix2D|null)} matrix Optional. Specifies a transformation matrix
for the bitmap fill. This transformation will be applied relative to the parent transform.
 +     * @see [Graphics]
 +     * @returns {(createjs.Graphics|null)} The Graphics instance the method is called on
(useful for chaining calls.)
@@ -8462,7 +8469,7 @@ index 690a649..66239fa 100644
 +    /**
 +     * Begins a stroke with the specified color. This ends the current sub-path. A tiny
API method "s" also exists.
 +     *
-+     * @param {(string|null)} color A CSS compatible color value (ex. "#FF0000", "red",
or "rgba(255,0,0,0.5)"). Setting to null will result in no stroke.
++     * @param {string} color A CSS compatible color value (ex. "#FF0000", "red", or "rgba(255,0,0,0.5)").
Setting to null will result in no stroke.
 +     * @see [Graphics]
 +     * @returns {(createjs.Graphics|null)} The Graphics instance the method is called on
(useful for chaining calls.)
 +     */
@@ -8479,7 +8486,7 @@ index 690a649..66239fa 100644
 +    /**
 +     * Begins a fill with the specified color. This ends the current sub-path. A tiny API
method "f" also exists.
 +     *
-+     * @param {(string|null)} color A CSS compatible color value (ex. "red", "#FF0000",
or "rgba(255,0,0,0.5)"). Setting to null will result in no fill.
++     * @param {string} color A CSS compatible color value (ex. "red", "#FF0000", or "rgba(255,0,0,0.5)").
Setting to null will result in no fill.
 +     * @see [Graphics]
 +     * @returns {(createjs.Graphics|null)} The Graphics instance the method is called on
(useful for chaining calls.)
 +     */
@@ -8532,9 +8539,9 @@ index 690a649..66239fa 100644
 +     * Returns a string representation of this object.
 +     *
 +     * @see [Graphics]
-+     * @returns {(string|null)} a string representation of the instance.
++     * @returns {string} a string representation of the instance.
 +     */
-+createjs.Graphics.prototype.toString = function () {  return null; }
++createjs.Graphics.prototype.toString = function () { return ''; }
 +
 +    /**
 +     * Sets the stroke style for the current sub-path. Like all drawing methods, this can
be chained, so you can define
@@ -8580,7 +8587,7 @@ index 690a649..66239fa 100644
 -	createjs.Graphics = Graphics;
 -}());
 diff --git a/externs/createjs/target/downloads/EaselJS-0.8.0/src/easeljs/display/MovieClip.js
b/externs/createjs/target/downloads/EaselJS-0.8.0/src/easeljs/display/MovieClip.js
-index a8f4654..64d5d94 100644
+index a8f4654..0bbc718 100644
 --- a/externs/createjs/target/downloads/EaselJS-0.8.0/src/easeljs/display/MovieClip.js
 +++ b/externs/createjs/target/downloads/EaselJS-0.8.0/src/easeljs/display/MovieClip.js
 @@ -1,661 +1,144 @@
@@ -8685,9 +8692,9 @@ index a8f4654..64d5d94 100644
 +     * Use the {{#crossLink "MovieClip/currentLabel:property"}}{{/crossLink}} property instead.
 +     *
 +     * @see [MovieClip]
-+     * @returns {(string|null)} 
++     * @returns {string} 
 +     */
-+createjs.MovieClip.prototype.getCurrentLabel = function () {  return null; }
++createjs.MovieClip.prototype.getCurrentLabel = function () { return ''; }
 +
 +    /**
 +     * Sets paused to false.
@@ -9387,7 +9394,7 @@ index a8f4654..64d5d94 100644
 -	MovieClipPlugin.install();
 -}());
 diff --git a/externs/createjs/target/downloads/EaselJS-0.8.0/src/easeljs/display/Shadow.js
b/externs/createjs/target/downloads/EaselJS-0.8.0/src/easeljs/display/Shadow.js
-index 407ccb1..88fd0a7 100644
+index 407ccb1..f7b7666 100644
 --- a/externs/createjs/target/downloads/EaselJS-0.8.0/src/easeljs/display/Shadow.js
 +++ b/externs/createjs/target/downloads/EaselJS-0.8.0/src/easeljs/display/Shadow.js
 @@ -1,137 +1,36 @@
@@ -9432,7 +9439,7 @@ index 407ccb1..88fd0a7 100644
 + * myImage.shadow = new createjs.Shadow("#000000", 5, 5, 10);
 + *
 + * @see [Shadow]
-+ * @param {(string|null)} color The color of the shadow.
++ * @param {string} color The color of the shadow.
 + * @param {(number|null)} offsetX The x offset of the shadow in pixels.
 + * @param {(number|null)} offsetY The y offset of the shadow in pixels.
 + * @param {(number|null)} blur The size of the blurring effect.
@@ -9452,9 +9459,9 @@ index 407ccb1..88fd0a7 100644
 +     * Returns a string representation of this object.
 +     *
 +     * @see [Shadow]
-+     * @returns {(string|null)} a string representation of the instance.
++     * @returns {string} a string representation of the instance.
 +     */
-+createjs.Shadow.prototype.toString = function () {  return null; }
++createjs.Shadow.prototype.toString = function () { return ''; }
  
 -// namespace:
 -this.createjs = this.createjs||{};
@@ -10523,7 +10530,7 @@ index 9bc7003..a8c66fe 100644
 -	createjs.SpriteContainer = createjs.promote(SpriteContainer, "Container");
 -}());
 diff --git a/externs/createjs/target/downloads/EaselJS-0.8.0/src/easeljs/display/SpriteSheet.js
b/externs/createjs/target/downloads/EaselJS-0.8.0/src/easeljs/display/SpriteSheet.js
-index 2e53d42..c1abe87 100644
+index 2e53d42..7a2fc1b 100644
 --- a/externs/createjs/target/downloads/EaselJS-0.8.0/src/easeljs/display/SpriteSheet.js
 +++ b/externs/createjs/target/downloads/EaselJS-0.8.0/src/easeljs/display/SpriteSheet.js
 @@ -1,555 +1,221 @@
@@ -11241,7 +11248,7 @@ index 2e53d42..c1abe87 100644
 +     * same.</LI>
 +     * </UL>
 +     *
-+     * @param {(string|null)} name The name of the animation to get.
++     * @param {string} name The name of the animation to get.
 +     * @see [SpriteSheet]
 +     * @returns {(Object|null)} a generic object with frames, speed, name, and next properties.
 +     */
@@ -11276,7 +11283,7 @@ index 2e53d42..c1abe87 100644
 +     * sheet if the animation param is omitted. Returns 0 if the spritesheet relies on calculated
frame counts, and
 +     * the images have not been fully loaded.
 +     *
-+     * @param {(string|null)} animation The name of the animation to get a frame count for.
++     * @param {string} animation The name of the animation to get a frame count for.
 +     * @see [SpriteSheet]
 +     * @returns {(number|null)} The number of frames in the animation, or in the entire
sprite sheet if the animation param is omitted.
 +     */
@@ -11299,7 +11306,7 @@ index 2e53d42..c1abe87 100644
 -	createjs.SpriteSheet = createjs.promote(SpriteSheet, "EventDispatcher");
 -}());
 diff --git a/externs/createjs/target/downloads/EaselJS-0.8.0/src/easeljs/display/SpriteStage.js
b/externs/createjs/target/downloads/EaselJS-0.8.0/src/easeljs/display/SpriteStage.js
-index 6eada6f..6fecf51 100644
+index 6eada6f..1e77464 100644
 --- a/externs/createjs/target/downloads/EaselJS-0.8.0/src/easeljs/display/SpriteStage.js
 +++ b/externs/createjs/target/downloads/EaselJS-0.8.0/src/easeljs/display/SpriteStage.js
 @@ -1,988 +1,174 @@
@@ -12418,7 +12425,7 @@ index 6eada6f..6fecf51 100644
 +     *
 +     * @param {(WebGLRenderingContext|null)} ctx 
 +     * @param {(number|null)} type The type of shader to create.
-+     * @param {(string|null)} str The definition for the shader.
++     * @param {string} str The definition for the shader.
 +     * @see [SpriteStage]
 +     * @returns {(WebGLShader|null)} 
 +     */
@@ -12462,7 +12469,7 @@ index 6eada6f..6fecf51 100644
 -	createjs.SpriteStage = createjs.promote(SpriteStage, "Stage");
 -}());
 diff --git a/externs/createjs/target/downloads/EaselJS-0.8.0/src/easeljs/display/Stage.js
b/externs/createjs/target/downloads/EaselJS-0.8.0/src/easeljs/display/Stage.js
-index 9cb6625..276a856 100644
+index 9cb6625..f3d912d 100644
 --- a/externs/createjs/target/downloads/EaselJS-0.8.0/src/easeljs/display/Stage.js
 +++ b/externs/createjs/target/downloads/EaselJS-0.8.0/src/easeljs/display/Stage.js
 @@ -1,880 +1,276 @@
@@ -12602,9 +12609,9 @@ index 9cb6625..276a856 100644
 +     * @param {string=} opt_backgroundColor The background color to be used for the generated
image. Any valid CSS color value is allowed. The default value is a transparent background.
 +     * @param {string=} opt_mimeType The MIME type of the image format to be create. The
default is "image/png". If an unknown MIME type is passed in, or if the browser does not support
the specified MIME type, the default value will be used.
 +     * @see [Stage]
-+     * @returns {(string|null)} a Base64 encoded image.
++     * @returns {string} a Base64 encoded image.
 +     */
-+createjs.Stage.prototype.toDataURL = function (opt_backgroundColor, opt_mimeType) {  return
null; }
++createjs.Stage.prototype.toDataURL = function (opt_backgroundColor, opt_mimeType) { return
''; }
 +
 +    /**
 +     * Enables or disables the event listeners that stage adds to DOM elements (window,
document and canvas). It is good
@@ -12625,7 +12632,7 @@ index 9cb6625..276a856 100644
 +
 +    /**
 +     * @param {(createjs.DisplayObject|null)} target 
-+     * @param {(string|null)} type 
++     * @param {string} type 
 +     * @param {(boolean|null)} bubbles 
 +     * @param {(number|null)} pointerId 
 +     * @param {(Object|null)} o 
@@ -13620,7 +13627,7 @@ index 9cb6625..276a856 100644
 -	createjs.Stage = createjs.promote(Stage, "Container");
 -}());
 diff --git a/externs/createjs/target/downloads/EaselJS-0.8.0/src/easeljs/display/Text.js
b/externs/createjs/target/downloads/EaselJS-0.8.0/src/easeljs/display/Text.js
-index 52df706..a046094 100644
+index 52df706..e99a3fa 100644
 --- a/externs/createjs/target/downloads/EaselJS-0.8.0/src/easeljs/display/Text.js
 +++ b/externs/createjs/target/downloads/EaselJS-0.8.0/src/easeljs/display/Text.js
 @@ -1,421 +1,127 @@
@@ -13722,7 +13729,7 @@ index 52df706..a046094 100644
 +
 +    /**
 +     * @param {(CanvasRenderingContext2D|null)} ctx 
-+     * @param {(string|null)} text 
++     * @param {string} text 
 +     * @param {(number|null)} y 
 +     * @see [Text]
 +     */
@@ -13763,7 +13770,7 @@ index 52df706..a046094 100644
 +
 +
 +    /**
-+     * @param {(string|null)} text 
++     * @param {string} text 
 +     * @see [Text]
 +     */
 +createjs.Text.prototype._getMeasuredWidth = function (text) {  }
@@ -14168,7 +14175,7 @@ index 52df706..a046094 100644
 -	createjs.Text = createjs.promote(Text, "DisplayObject");
 -}());
 diff --git a/externs/createjs/target/downloads/EaselJS-0.8.0/src/easeljs/events/MouseEvent.js
b/externs/createjs/target/downloads/EaselJS-0.8.0/src/easeljs/events/MouseEvent.js
-index 2b4e1b3..a54f51d 100644
+index 2b4e1b3..098a753 100644
 --- a/externs/createjs/target/downloads/EaselJS-0.8.0/src/easeljs/events/MouseEvent.js
 +++ b/externs/createjs/target/downloads/EaselJS-0.8.0/src/easeljs/events/MouseEvent.js
 @@ -1,187 +1,46 @@
@@ -14209,7 +14216,7 @@ index 2b4e1b3..a54f51d 100644
 + * see the {{#crossLink "DisplayObject"}}{{/crossLink}} and {{#crossLink "Stage"}}{{/crossLink}}
event listings.
 + *
 + * @see [MouseEvent]
-+ * @param {(string|null)} type The event type.
++ * @param {string} type The event type.
 + * @param {(boolean|null)} bubbles Indicates whether the event will bubble through the display
list.
 + * @param {(boolean|null)} cancelable Indicates whether the default behaviour of this event
can be cancelled.
 + * @param {(number|null)} stageX The normalized x position relative to the stage.
@@ -15363,7 +15370,7 @@ index aac7be3..34b9e65 100644
 -	createjs.ColorFilter = createjs.promote(ColorFilter, "Filter");
 -}());
 diff --git a/externs/createjs/target/downloads/EaselJS-0.8.0/src/easeljs/filters/ColorMatrix.js
b/externs/createjs/target/downloads/EaselJS-0.8.0/src/easeljs/filters/ColorMatrix.js
-index aa0f5ba..a4dfb9e 100644
+index aa0f5ba..863c2db 100644
 --- a/externs/createjs/target/downloads/EaselJS-0.8.0/src/easeljs/filters/ColorMatrix.js
 +++ b/externs/createjs/target/downloads/EaselJS-0.8.0/src/easeljs/filters/ColorMatrix.js
 @@ -1,386 +1,161 @@
@@ -15544,9 +15551,9 @@ index aa0f5ba..a4dfb9e 100644
 +     * Returns a string representation of this object.
 +     *
 +     * @see [ColorMatrix]
-+     * @returns {(string|null)} a string representation of the instance.
++     * @returns {string} a string representation of the instance.
 +     */
-+createjs.ColorMatrix.prototype.toString = function () {  return null; }
++createjs.ColorMatrix.prototype.toString = function () { return ''; }
 +
 +    /**
 +     * Copy the specified matrix's values to this matrix.
@@ -16065,7 +16072,7 @@ index 67c17f6..0f5e679 100644
 -	createjs.ColorMatrixFilter = createjs.promote(ColorMatrixFilter, "Filter");
 -}());
 diff --git a/externs/createjs/target/downloads/EaselJS-0.8.0/src/easeljs/filters/Filter.js
b/externs/createjs/target/downloads/EaselJS-0.8.0/src/easeljs/filters/Filter.js
-index 4f4f36e..e12a7ad 100644
+index 4f4f36e..3a3c66a 100644
 --- a/externs/createjs/target/downloads/EaselJS-0.8.0/src/easeljs/filters/Filter.js
 +++ b/externs/createjs/target/downloads/EaselJS-0.8.0/src/easeljs/filters/Filter.js
 @@ -1,157 +1,83 @@
@@ -16295,14 +16302,14 @@ index 4f4f36e..e12a7ad 100644
 +     * Returns a string representation of this object.
 +     *
 +     * @see [Filter]
-+     * @returns {(string|null)} a string representation of the instance.
++     * @returns {string} a string representation of the instance.
 +     */
-+createjs.Filter.prototype.toString = function () {  return null; }
++createjs.Filter.prototype.toString = function () { return ''; }
  
 -	createjs.Filter = Filter;
 -}());
 diff --git a/externs/createjs/target/downloads/EaselJS-0.8.0/src/easeljs/geom/DisplayProps.js
b/externs/createjs/target/downloads/EaselJS-0.8.0/src/easeljs/geom/DisplayProps.js
-index a0fc663..07fd5ac 100644
+index a0fc663..d123bc9 100644
 --- a/externs/createjs/target/downloads/EaselJS-0.8.0/src/easeljs/geom/DisplayProps.js
 +++ b/externs/createjs/target/downloads/EaselJS-0.8.0/src/easeljs/geom/DisplayProps.js
 @@ -1,185 +1,79 @@
@@ -16446,7 +16453,7 @@ index a0fc663..07fd5ac 100644
 +     * @param {(boolean|null)} visible desired visible value
 +     * @param {(number|null)} alpha desired alpha value
 +     * @param {(createjs.Shadow|null)} shadow desired shadow value
-+     * @param {(string|null)} compositeOperation desired composite operation value
++     * @param {string} compositeOperation desired composite operation value
 +     * @param {createjs.Matrix2D=} opt_matrix a Matrix2D instance
 +     * @see [DisplayProps]
 +     * @returns {(createjs.DisplayProps|null)} This instance. Useful for chaining method
calls.
@@ -16539,7 +16546,7 @@ index a0fc663..07fd5ac 100644
 +     * @param {(boolean|null)} visible desired visible value
 +     * @param {(number|null)} alpha desired alpha value
 +     * @param {(createjs.Shadow|null)} shadow desired shadow value
-+     * @param {(string|null)} compositeOperation desired composite operation value
++     * @param {string} compositeOperation desired composite operation value
 +     * @param {createjs.Matrix2D=} opt_matrix a Matrix2D instance
 +     * @see [DisplayProps]
 +     * @returns {(createjs.DisplayProps|null)} This instance. Useful for chaining method
calls.
@@ -16563,7 +16570,7 @@ index a0fc663..07fd5ac 100644
 -	createjs.DisplayProps = DisplayProps;
 -})();
 diff --git a/externs/createjs/target/downloads/EaselJS-0.8.0/src/easeljs/geom/Matrix2D.js
b/externs/createjs/target/downloads/EaselJS-0.8.0/src/easeljs/geom/Matrix2D.js
-index f329330..f9fffaf 100644
+index f329330..90d8140 100644
 --- a/externs/createjs/target/downloads/EaselJS-0.8.0/src/easeljs/geom/Matrix2D.js
 +++ b/externs/createjs/target/downloads/EaselJS-0.8.0/src/easeljs/geom/Matrix2D.js
 @@ -1,544 +1,266 @@
@@ -16819,9 +16826,9 @@ index f329330..f9fffaf 100644
 +     * Returns a string representation of this object.
 +     *
 +     * @see [Matrix2D]
-+     * @returns {(string|null)} a string representation of the instance.
++     * @returns {string} a string representation of the instance.
 +     */
-+createjs.Matrix2D.prototype.toString = function () {  return null; }
++createjs.Matrix2D.prototype.toString = function () { return ''; }
 +
 +    /**
 +     * Translates the matrix on the x and y axes.
@@ -17375,7 +17382,7 @@ index f329330..f9fffaf 100644
 -	createjs.Matrix2D = Matrix2D;
 -}());
 diff --git a/externs/createjs/target/downloads/EaselJS-0.8.0/src/easeljs/geom/Point.js b/externs/createjs/target/downloads/EaselJS-0.8.0/src/easeljs/geom/Point.js
-index 821e971..c6fd5ac 100644
+index 821e971..c7bb826 100644
 --- a/externs/createjs/target/downloads/EaselJS-0.8.0/src/easeljs/geom/Point.js
 +++ b/externs/createjs/target/downloads/EaselJS-0.8.0/src/easeljs/geom/Point.js
 @@ -1,135 +1,52 @@
@@ -17447,9 +17454,9 @@ index 821e971..c6fd5ac 100644
 +     * Returns a string representation of this object.
 +     *
 +     * @see [Point]
-+     * @returns {(string|null)} a string representation of the instance.
++     * @returns {string} a string representation of the instance.
 +     */
-+createjs.Point.prototype.toString = function () {  return null; }
++createjs.Point.prototype.toString = function () { return ''; }
 +
 +    /**
 +     * Copies all properties from the specified point to this point.
@@ -17564,7 +17571,7 @@ index 821e971..c6fd5ac 100644
 -	createjs.Point = Point;
 -}());
 diff --git a/externs/createjs/target/downloads/EaselJS-0.8.0/src/easeljs/geom/Rectangle.js
b/externs/createjs/target/downloads/EaselJS-0.8.0/src/easeljs/geom/Rectangle.js
-index 8982c18..f0b9c2a 100644
+index 8982c18..2d5552b 100644
 --- a/externs/createjs/target/downloads/EaselJS-0.8.0/src/easeljs/geom/Rectangle.js
 +++ b/externs/createjs/target/downloads/EaselJS-0.8.0/src/easeljs/geom/Rectangle.js
 @@ -1,250 +1,128 @@
@@ -17762,9 +17769,9 @@ index 8982c18..f0b9c2a 100644
 +     * Returns a string representation of this object.
 +     *
 +     * @see [Rectangle]
-+     * @returns {(string|null)} a string representation of the instance.
++     * @returns {string} a string representation of the instance.
 +     */
-+createjs.Rectangle.prototype.toString = function () {  return null; }
++createjs.Rectangle.prototype.toString = function () { return ''; }
  
 +    /**
 +     * Returns true if this rectangle fully encloses the described point or rectangle.
@@ -17937,7 +17944,7 @@ index 8982c18..f0b9c2a 100644
 -	createjs.Rectangle = Rectangle;
 -}());
 diff --git a/externs/createjs/target/downloads/EaselJS-0.8.0/src/easeljs/ui/ButtonHelper.js
b/externs/createjs/target/downloads/EaselJS-0.8.0/src/easeljs/ui/ButtonHelper.js
-index 3873806..193a603 100644
+index 3873806..c5d9639 100644
 --- a/externs/createjs/target/downloads/EaselJS-0.8.0/src/easeljs/ui/ButtonHelper.js
 +++ b/externs/createjs/target/downloads/EaselJS-0.8.0/src/easeljs/ui/ButtonHelper.js
 @@ -1,256 +1,72 @@
@@ -18255,9 +18262,9 @@ index 3873806..193a603 100644
 +     * Returns a string representation of this object.
 +     *
 +     * @see [ButtonHelper]
-+     * @returns {(string|null)} a string representation of the instance.
++     * @returns {string} a string representation of the instance.
 +     */
-+createjs.ButtonHelper.prototype.toString = function () {  return null; }
++createjs.ButtonHelper.prototype.toString = function () { return ''; }
  
 -	createjs.ButtonHelper = ButtonHelper;
 -}());
@@ -18501,7 +18508,7 @@ index 6a93aa0..4b1cd5f 100644
 +
 +
 diff --git a/externs/createjs/target/downloads/EaselJS-0.8.0/src/easeljs/utils/SpriteSheetBuilder.js
b/externs/createjs/target/downloads/EaselJS-0.8.0/src/easeljs/utils/SpriteSheetBuilder.js
-index 44ff76c..c3d4ffd 100644
+index 44ff76c..5ef05dd 100644
 --- a/externs/createjs/target/downloads/EaselJS-0.8.0/src/easeljs/utils/SpriteSheetBuilder.js
 +++ b/externs/createjs/target/downloads/EaselJS-0.8.0/src/easeljs/utils/SpriteSheetBuilder.js
 @@ -1,533 +1,146 @@
@@ -18636,7 +18643,7 @@ index 44ff76c..c3d4ffd 100644
 +    /**
 +     * Adds an animation that will be included in the created sprite sheet.
 +     *
-+     * @param {(string|null)} name The name for the animation.
++     * @param {string} name The name for the animation.
 +     * @param {(Array|null)} frames An array of frame indexes that comprise the animation.
Ex. [3,6,5] would describe an animation that played frame indexes 3, 6, and 5 in that order.
 +     * @param {string=} opt_next Specifies the name of the animation to continue to after
this animation ends. You can also pass false to have the animation stop when it ends. By default
it will loop to the start of the same animation.
 +     * @param {number=} opt_frequency Specifies a frame advance frequency for this animation.
For example, a value of 2 would cause the animation to advance every second tick.

http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/148fa8b3/externs/createjs/src/main/patch/tweenjs.patch
----------------------------------------------------------------------
diff --git a/externs/createjs/src/main/patch/tweenjs.patch b/externs/createjs/src/main/patch/tweenjs.patch
index 03760ba..ca41a04 100644
--- a/externs/createjs/src/main/patch/tweenjs.patch
+++ b/externs/createjs/src/main/patch/tweenjs.patch
@@ -1,3 +1,5 @@
+
+Generated from Ant script
 diff --git a/externs/createjs/target/downloads/TweenJS-0.6.2/src/tweenjs/CSSPlugin.js b/externs/createjs/target/downloads/TweenJS-0.6.2/src/tweenjs/CSSPlugin.js
 index 52e0206..0fe6341 100644
 --- a/externs/createjs/target/downloads/TweenJS-0.6.2/src/tweenjs/CSSPlugin.js
@@ -1045,7 +1047,7 @@ index 371baa7..4bfca8c 100644
 +
 +
 diff --git a/externs/createjs/target/downloads/TweenJS-0.6.2/src/tweenjs/Timeline.js b/externs/createjs/target/downloads/TweenJS-0.6.2/src/tweenjs/Timeline.js
-index 5546bc2..ce13260 100644
+index 5546bc2..e65320d 100644
 --- a/externs/createjs/target/downloads/TweenJS-0.6.2/src/tweenjs/Timeline.js
 +++ b/externs/createjs/target/downloads/TweenJS-0.6.2/src/tweenjs/Timeline.js
 @@ -1,444 +1,154 @@
@@ -1153,7 +1155,7 @@ index 5546bc2..ce13260 100644
 +     * @see [Timeline]
 +     * @returns {(string|null)} The name of the current label or null if there is no label
 +     */
-+createjs.Timeline.prototype.getCurrentLabel = function () {  return null; }
++createjs.Timeline.prototype.getCurrentLabel = function () { return ''; }
 +
 +    /**
 +     * Advances the timeline to the specified position.


Mime
View raw message