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 2017/06/26 16:12:23 UTC
[01/36] flex-typedefs git commit: - Doing some post-0.7.0-release
fine tuning of versions.
Repository: flex-typedefs
Updated Branches:
refs/heads/master 6ce610142 -> ee52d3526
- Doing some post-0.7.0-release fine tuning of versions.
Project: http://git-wip-us.apache.org/repos/asf/flex-typedefs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-typedefs/commit/83f186ab
Tree: http://git-wip-us.apache.org/repos/asf/flex-typedefs/tree/83f186ab
Diff: http://git-wip-us.apache.org/repos/asf/flex-typedefs/diff/83f186ab
Branch: refs/heads/master
Commit: 83f186ab4fa8326f9d7c50e5093a3b9af94aea3a
Parents: 6ce6101
Author: Christofer Dutz <ch...@codecentric.de>
Authored: Thu Sep 8 01:16:10 2016 +0200
Committer: Christofer Dutz <ch...@codecentric.de>
Committed: Thu Sep 8 01:16:10 2016 +0200
----------------------------------------------------------------------
.mvn/extensions.xml | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-typedefs/blob/83f186ab/.mvn/extensions.xml
----------------------------------------------------------------------
diff --git a/.mvn/extensions.xml b/.mvn/extensions.xml
index d653334..71ce517 100644
--- a/.mvn/extensions.xml
+++ b/.mvn/extensions.xml
@@ -22,9 +22,9 @@
xsi:schemaLocation="http://maven.apache.org/EXTENSIONS/1.0.0 http://maven.apache.org/xsd/core-extensions-1.0.0.xsd">
<extension>
- <groupId>org.apache.flex.flexjs.compiler</groupId>
- <artifactId>flexjs-maven-extension</artifactId>
- <version>0.7.0-SNAPSHOT</version>
+ <groupId>org.apache.flex.utilities.converter</groupId>
+ <artifactId>flex-sdk-converter-maven-extension</artifactId>
+ <version>1.0.0-SNAPSHOT</version>
</extension>
</extensions>
\ No newline at end of file
[32/36] flex-typedefs git commit: adjust maven build
Posted by ah...@apache.org.
adjust maven build
Project: http://git-wip-us.apache.org/repos/asf/flex-typedefs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-typedefs/commit/6a885214
Tree: http://git-wip-us.apache.org/repos/asf/flex-typedefs/tree/6a885214
Diff: http://git-wip-us.apache.org/repos/asf/flex-typedefs/diff/6a885214
Branch: refs/heads/master
Commit: 6a885214815e9be0b9038179b15e1d2e76f48c0b
Parents: 2658a72
Author: Alex Harui <ah...@apache.org>
Authored: Tue May 2 23:22:40 2017 -0700
Committer: Alex Harui <ah...@apache.org>
Committed: Tue May 2 23:22:40 2017 -0700
----------------------------------------------------------------------
createjs/pom.xml | 101 +++-----------------------------------------------
1 file changed, 6 insertions(+), 95 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-typedefs/blob/6a885214/createjs/pom.xml
----------------------------------------------------------------------
diff --git a/createjs/pom.xml b/createjs/pom.xml
index 6e09003..ddc313f 100644
--- a/createjs/pom.xml
+++ b/createjs/pom.xml
@@ -40,83 +40,6 @@
<build>
<plugins>
<plugin>
- <groupId>com.googlecode.maven-download-plugin</groupId>
- <artifactId>download-maven-plugin</artifactId>
- <version>1.2.1</version>
- <executions>
- <!-- Download easejs/createjs form GitHub and unpack it into the target directory -->
- <execution>
- <id>get-createjs</id>
- <phase>validate</phase>
- <goals>
- <goal>wget</goal>
- </goals>
- <configuration>
- <url>https://github.com/CreateJS/EaselJS/archive/${createjs.version}.zip</url>
- <unpack>true</unpack>
- <outputFileName>createjs-${createjs.version}.zip</outputFileName>
- <outputDirectory>${project.build.directory}/downloads</outputDirectory>
- </configuration>
- </execution>
- <!-- Download TweenJS form GitHub and unpack it into the target directory -->
- <execution>
- <id>get-tweenjs</id>
- <phase>validate</phase>
- <goals>
- <goal>wget</goal>
- </goals>
- <configuration>
- <url>https://github.com/CreateJS/TweenJS/archive/${tweenjs.version}.zip</url>
- <unpack>true</unpack>
- <outputFileName>tweenjs-${tweenjs.version}.zip</outputFileName>
- <outputDirectory>${project.build.directory}/downloads</outputDirectory>
- </configuration>
- </execution>
- </executions>
- </plugin>
-
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>exec-maven-plugin</artifactId>
- <version>1.5.0</version>
- <configuration>
- <executable>${git.executable}</executable>
- <workingDirectory>${basedir}/..</workingDirectory>
- <arguments>
- <argument>apply</argument>
- <argument>--ignore-whitespace</argument>
- <argument>--whitespace=nowarn</argument>
- </arguments>
- </configuration>
- <executions>
- <execution>
- <id>patch-easeljs</id>
- <phase>validate</phase>
- <goals>
- <goal>exec</goal>
- </goals>
- <configuration>
- <arguments combine.children="append">
- <argument>${basedir}/src/main/patch/easeljs.patch</argument>
- </arguments>
- </configuration>
- </execution>
- <execution>
- <id>patch-tweenjs</id>
- <phase>validate</phase>
- <goals>
- <goal>exec</goal>
- </goals>
- <configuration>
- <arguments combine.children="append">
- <argument>${basedir}/src/main/patch/tweenjs.patch</argument>
- </arguments>
- </configuration>
- </execution>
- </executions>
- </plugin>
-
- <plugin>
<groupId>org.apache.flex.flexjs.compiler</groupId>
<artifactId>flexjs-maven-plugin</artifactId>
<version>${flexjs.compiler.version}</version>
@@ -130,24 +53,6 @@
<include>**/*.js</include>
</includes>
</fileSet>
- <fileSet>
- <directory>${project.basedir}/target/downloads/EaselJS-${createjs.version}/src</directory>
- <includes>
- <include>**/*.js</include>
- </includes>
- <excludes>
- <exclude>easeljs/version.js</exclude>
- <exclude>easeljs/version_movieclip.js</exclude>
- </excludes>
- </fileSet>
- <fileSet>
- <directory>${project.basedir}/target/downloads/TweenJS-${tweenjs.version}/src</directory>
- <includes>
- <include>tweenjs/Ease.js</include>
- <include>tweenjs/Timeline.js</include>
- <include>tweenjs/Tween.js</include>
- </includes>
- </fileSet>
</externcInput>
<externcConfig>
<class-excludes>
@@ -171,6 +76,11 @@
<path>../src/main/javascript/missing.js</path>
</include-file>
<include-file>
+ <name>externs/createjs.js</name>
+ <path>../src/main/javascript/createjs.js</path>
+ </include-file>
+ <!--
+ <include-file>
<name>externs/AlphaMapFilter.js</name>
<path>downloads/EaselJS-0.8.0/src/easeljs/filters/AlphaMapFilter.js</path>
</include-file>
@@ -310,6 +220,7 @@
<name>externs/Ticker.js</name>
<path>downloads/EaselJS-0.8.0/src/createjs/utils/Ticker.js</path>
</include-file>
+ -->
</includeFiles>
<skipSwc>true</skipSwc>
</configuration>
[21/36] flex-typedefs git commit: get rid of warnings by eliminating
some files that don't convert to externs format via the make_patch target
Posted by ah...@apache.org.
http://git-wip-us.apache.org/repos/asf/flex-typedefs/blob/15115f26/createjs/src/main/patch/easeljs.patch
----------------------------------------------------------------------
diff --git a/createjs/src/main/patch/easeljs.patch b/createjs/src/main/patch/easeljs.patch
index 014fc87..49b79f9 100644
--- a/createjs/src/main/patch/easeljs.patch
+++ b/createjs/src/main/patch/easeljs.patch
@@ -1,19 +1,4 @@
- Licensed to the Apache Software Foundation (ASF) under one or more
- contributor license agreements. See the NOTICE file distributed with
- this work for additional information regarding copyright ownership.
- The ASF licenses this file to You under the Apache License, Version 2.0
- (the "License"); you may not use this file except in compliance with
- the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
-
Generated from Ant script
diff --git a/createjs/target/downloads/EaselJS-0.8.0/src/createjs/events/Event.js b/createjs/target/downloads/EaselJS-0.8.0/src/createjs/events/Event.js
index 3ce0025..e8a377d 100644
@@ -1864,10 +1849,10 @@ index d09a381..5da6df7 100644
var subP = subclass.prototype, supP = (Object.getPrototypeOf&&Object.getPrototypeOf(subP))||subP.__proto__;
if (supP) {
diff --git a/createjs/target/downloads/EaselJS-0.8.0/src/easeljs/display/Bitmap.js b/createjs/target/downloads/EaselJS-0.8.0/src/easeljs/display/Bitmap.js
-index eecac1a..4fbd265 100644
+index eecac1a..87b27d7 100644
--- a/createjs/target/downloads/EaselJS-0.8.0/src/easeljs/display/Bitmap.js
+++ b/createjs/target/downloads/EaselJS-0.8.0/src/easeljs/display/Bitmap.js
-@@ -1,214 +1,36 @@
+@@ -1,214 +1,37 @@
-/*
-* Bitmap
-* Visit http://createjs.com/ for documentation, updates and examples.
@@ -1926,6 +1911,7 @@ index eecac1a..4fbd265 100644
+ * @param {(HTMLCanvasElement|HTMLVideoElement|Image|string|null)} imageOrUri The source object or URI to an image to display. This can be either an Image, Canvas, or Video object, or a string URI to an image file to load and use. If it is a URI, a new Image object will be constructed and assigned to the .image property.
+ * @constructor
+ * @extends createjs.DisplayObject
++
+ */
+createjs.Bitmap = function (imageOrUri) {}
@@ -2112,10 +2098,10 @@ index eecac1a..4fbd265 100644
- createjs.Bitmap = createjs.promote(Bitmap, "DisplayObject");
-}());
diff --git a/createjs/target/downloads/EaselJS-0.8.0/src/easeljs/display/BitmapText.js b/createjs/target/downloads/EaselJS-0.8.0/src/easeljs/display/BitmapText.js
-index b028d9b..c1d2309 100644
+index b028d9b..60e513c 100644
--- a/createjs/target/downloads/EaselJS-0.8.0/src/easeljs/display/BitmapText.js
+++ b/createjs/target/downloads/EaselJS-0.8.0/src/easeljs/display/BitmapText.js
-@@ -1,343 +1,60 @@
+@@ -1,343 +1,61 @@
-/*
-* BitmapText
-* Visit http://createjs.com/ for documentation, updates and examples.
@@ -2160,6 +2146,7 @@ index b028d9b..c1d2309 100644
+ * @param {createjs.SpriteSheet=} opt_spriteSheet The spritesheet that defines the character glyphs.
+ * @constructor
+ * @extends createjs.DisplayObject
++
+ */
+createjs.BitmapText = function (opt_text, opt_spriteSheet) {}
+
@@ -2520,10 +2507,10 @@ index b028d9b..c1d2309 100644
-}());
\ No newline at end of file
diff --git a/createjs/target/downloads/EaselJS-0.8.0/src/easeljs/display/Container.js b/createjs/target/downloads/EaselJS-0.8.0/src/easeljs/display/Container.js
-index b6bac78..b23762f 100644
+index b6bac78..2aff2ed 100644
--- a/createjs/target/downloads/EaselJS-0.8.0/src/easeljs/display/Container.js
+++ b/createjs/target/downloads/EaselJS-0.8.0/src/easeljs/display/Container.js
-@@ -1,690 +1,310 @@
+@@ -1,690 +1,311 @@
-/*
-* Container
-* Visit http://createjs.com/ for documentation, updates and examples.
@@ -3238,6 +3225,7 @@ index b6bac78..b23762f 100644
+ * @see [Container]
+ * @constructor
+ * @extends createjs.DisplayObject
++
+ */
+createjs.Container = function () {}
+
@@ -3526,10 +3514,10 @@ index b6bac78..b23762f 100644
+createjs.Container.prototype._cloneChildren = function (o) { }
+
diff --git a/createjs/target/downloads/EaselJS-0.8.0/src/easeljs/display/DOMElement.js b/createjs/target/downloads/EaselJS-0.8.0/src/easeljs/display/DOMElement.js
-index f6eab31..b9817b4 100644
+index f6eab31..9768a43 100644
--- a/createjs/target/downloads/EaselJS-0.8.0/src/easeljs/display/DOMElement.js
+++ b/createjs/target/downloads/EaselJS-0.8.0/src/easeljs/display/DOMElement.js
-@@ -1,273 +1,55 @@
+@@ -1,273 +1,56 @@
-/*
-* DOMElement
-* Visit http://createjs.com/ for documentation, updates and examples.
@@ -3558,11 +3546,12 @@ index f6eab31..b9817b4 100644
-* OTHER DEALINGS IN THE SOFTWARE.
-*/
-
+-/**
+- * @module EaselJS
+/** @fileoverview Auto-generated Externs files
+ * @externs
-+ */
- /**
-- * @module EaselJS
+ */
++/**
+ * <b>This class is still experimental, and more advanced use is likely to be buggy. Please report bugs.</b>
+ *
+ * A DOMElement allows you to associate a HTMLElement with the display list. It will be transformed
@@ -3593,8 +3582,6 @@ index f6eab31..b9817b4 100644
+ * @param {(HTMLElement|null)} htmlElement A reference or id for the DOM element to manage.
+ * @constructor
+ * @extends createjs.DisplayObject
- */
-+createjs.DOMElement = function (htmlElement) {}
-// namespace:
-this.createjs = this.createjs||{};
@@ -3722,7 +3709,9 @@ index f6eab31..b9817b4 100644
- * @method hitTest
- */
- p.hitTest = function() {};
--
++ */
++createjs.DOMElement = function (htmlElement) {}
+
- /**
- * Not applicable to DOMElement.
- * @method localToGlobal
@@ -3843,10 +3832,10 @@ index f6eab31..b9817b4 100644
- createjs.DOMElement = createjs.promote(DOMElement, "DisplayObject");
-}());
diff --git a/createjs/target/downloads/EaselJS-0.8.0/src/easeljs/display/DisplayObject.js b/createjs/target/downloads/EaselJS-0.8.0/src/easeljs/display/DisplayObject.js
-index 3ce9e90..24325e2 100644
+index 3ce9e90..8bc32a3 100644
--- a/createjs/target/downloads/EaselJS-0.8.0/src/easeljs/display/DisplayObject.js
+++ b/createjs/target/downloads/EaselJS-0.8.0/src/easeljs/display/DisplayObject.js
-@@ -1,1364 +1,493 @@
+@@ -1,1364 +1,494 @@
-/*
-* DisplayObject
-* Visit http://createjs.com/ for documentation, updates and examples.
@@ -5224,6 +5213,7 @@ index 3ce9e90..24325e2 100644
+ * @see [DisplayObject]
+ * @constructor
+ * @extends createjs.EventDispatcher
++
+ */
+createjs.DisplayObject = function () {}
+
@@ -8602,10 +8592,10 @@ index 690a649..44be6fa 100644
- createjs.Graphics = Graphics;
-}());
diff --git a/createjs/target/downloads/EaselJS-0.8.0/src/easeljs/display/MovieClip.js b/createjs/target/downloads/EaselJS-0.8.0/src/easeljs/display/MovieClip.js
-index a8f4654..0bbc718 100644
+index a8f4654..079516c 100644
--- a/createjs/target/downloads/EaselJS-0.8.0/src/easeljs/display/MovieClip.js
+++ b/createjs/target/downloads/EaselJS-0.8.0/src/easeljs/display/MovieClip.js
-@@ -1,661 +1,144 @@
+@@ -1,661 +1,145 @@
-/*
-* MovieClip
-* Visit http://createjs.com/ for documentation, updates and examples.
@@ -8634,11 +8624,12 @@ index a8f4654..0bbc718 100644
-* OTHER DEALINGS IN THE SOFTWARE.
-*/
-
+-/**
+- * @module EaselJS
+/** @fileoverview Auto-generated Externs files
+ * @externs
-+ */
- /**
-- * @module EaselJS
+ */
++/**
+ * The MovieClip class associates a TweenJS Timeline with an EaselJS {{#crossLink "Container"}}{{/crossLink}}. It allows
+ * you to create objects which encapsulate timeline animations, state changes, and synched actions. Due to the
+ * complexities inherent in correctly setting up a MovieClip, it is largely intended for tool output and is not included
@@ -8684,100 +8675,6 @@ index a8f4654..0bbc718 100644
+ * @param {Object=} opt_labels A hash of labels to pass to the timeline instance associated with this createjs.MovieClip. Labels only need to be passed if they need to be used.
+ * @constructor
+ * @extends createjs.Container
- */
-+createjs.MovieClip = function (opt_mode, opt_startPosition, opt_loop, opt_labels) {}
-+
-+ /**
-+ * Sets paused to true.
-+ *
-+ * @see [MovieClip]
-+ */
-+createjs.MovieClip.prototype.stop = function () { }
-+
-+
-+ /**
-+ * Advances this movie clip to the specified position or label and sets paused to true.
-+ *
-+ * @param {(number|string|null)} positionOrLabel The animation or frame name to go to.
-+ * @see [MovieClip]
-+ */
-+createjs.MovieClip.prototype.gotoAndStop = function (positionOrLabel) { }
-+
-+ /**
-+ * Use the {{#crossLink "MovieClip/currentLabel:property"}}{{/crossLink}} property instead.
-+ *
-+ * @see [MovieClip]
-+ * @returns {string}
-+ */
-+createjs.MovieClip.prototype.getCurrentLabel = function () { return ''; }
-+
-+ /**
-+ * Sets paused to false.
-+ *
-+ * @see [MovieClip]
-+ */
-+createjs.MovieClip.prototype.play = function () { }
-+
-+ /**
-+ * @param {(Array|null)} state
-+ * @param {(number|null)} offset
-+ * @see [MovieClip]
-+ */
-+createjs.MovieClip.prototype._setState = function (state, offset) { }
-+
-+ /**
-+ * @see [MovieClip]
-+ */
-+createjs.MovieClip.prototype._reset = function () { }
-+
-+
-+ /**
-+ * Adds a child to the timeline, and sets it up as a managed child.
-+ *
-+ * @param {(createjs.MovieClip|null)} child The child MovieClip to manage
-+ * @param {(number|null)} offset
-+ * @see [MovieClip]
-+ */
-+createjs.MovieClip.prototype._addManagedChild = function (child, offset) { }
-+
-+
-+
-+
-+ /**
-+ * @param {(number|string|null)} positionOrLabel The animation name or frame number to go to.
-+ * @see [MovieClip]
-+ */
-+createjs.MovieClip.prototype._goto = function (positionOrLabel) { }
-+
-+ /**
-+ * Use the {{#crossLink "MovieClip/labels:property"}}{{/crossLink}} property instead.
-+ *
-+ * @see [MovieClip]
-+ * @returns {(Array|null)}
-+ */
-+createjs.MovieClip.prototype.getLabels = function () { return null; }
-+
-+ /**
-+ * @see [MovieClip]
-+ */
-+createjs.MovieClip.prototype._updateTimeline = function () { }
-+
-+
-+ /**
-+ * Advances this movie clip to the specified position or label and sets paused to false.
-+ *
-+ * @param {(number|string|null)} positionOrLabel The animation name or frame number to go to.
-+ * @see [MovieClip]
-+ */
-+createjs.MovieClip.prototype.gotoAndPlay = function (positionOrLabel) { }
-+
-+ /**
-+ * Advances the playhead. This occurs automatically each tick by default.
-+ *
-+ * @param {(number|null)} time The amount of time in ms to advance by. Only applicable if framerate is set.
-+ * @see [MovieClip]
-+ */
-+createjs.MovieClip.prototype.advance = function (time) { }
-// namespace:
-this.createjs = this.createjs||{};
@@ -9405,7 +9302,101 @@ index a8f4654..0bbc718 100644
- if (!(tween.target instanceof MovieClip)) { return value; }
- return (ratio == 1 ? endValues[prop] : startValues[prop]);
- };
--
++ */
++createjs.MovieClip = function (opt_mode, opt_startPosition, opt_loop, opt_labels) {}
++
++ /**
++ * Sets paused to true.
++ *
++ * @see [MovieClip]
++ */
++createjs.MovieClip.prototype.stop = function () { }
++
++
++ /**
++ * Advances this movie clip to the specified position or label and sets paused to true.
++ *
++ * @param {(number|string|null)} positionOrLabel The animation or frame name to go to.
++ * @see [MovieClip]
++ */
++createjs.MovieClip.prototype.gotoAndStop = function (positionOrLabel) { }
++
++ /**
++ * Use the {{#crossLink "MovieClip/currentLabel:property"}}{{/crossLink}} property instead.
++ *
++ * @see [MovieClip]
++ * @returns {string}
++ */
++createjs.MovieClip.prototype.getCurrentLabel = function () { return ''; }
++
++ /**
++ * Sets paused to false.
++ *
++ * @see [MovieClip]
++ */
++createjs.MovieClip.prototype.play = function () { }
++
++ /**
++ * @param {(Array|null)} state
++ * @param {(number|null)} offset
++ * @see [MovieClip]
++ */
++createjs.MovieClip.prototype._setState = function (state, offset) { }
++
++ /**
++ * @see [MovieClip]
++ */
++createjs.MovieClip.prototype._reset = function () { }
++
++
++ /**
++ * Adds a child to the timeline, and sets it up as a managed child.
++ *
++ * @param {(createjs.MovieClip|null)} child The child MovieClip to manage
++ * @param {(number|null)} offset
++ * @see [MovieClip]
++ */
++createjs.MovieClip.prototype._addManagedChild = function (child, offset) { }
++
++
++
++
++ /**
++ * @param {(number|string|null)} positionOrLabel The animation name or frame number to go to.
++ * @see [MovieClip]
++ */
++createjs.MovieClip.prototype._goto = function (positionOrLabel) { }
++
++ /**
++ * Use the {{#crossLink "MovieClip/labels:property"}}{{/crossLink}} property instead.
++ *
++ * @see [MovieClip]
++ * @returns {(Array|null)}
++ */
++createjs.MovieClip.prototype.getLabels = function () { return null; }
++
++ /**
++ * @see [MovieClip]
++ */
++createjs.MovieClip.prototype._updateTimeline = function () { }
++
++
++ /**
++ * Advances this movie clip to the specified position or label and sets paused to false.
++ *
++ * @param {(number|string|null)} positionOrLabel The animation name or frame number to go to.
++ * @see [MovieClip]
++ */
++createjs.MovieClip.prototype.gotoAndPlay = function (positionOrLabel) { }
++
++ /**
++ * Advances the playhead. This occurs automatically each tick by default.
++ *
++ * @param {(number|null)} time The amount of time in ms to advance by. Only applicable if framerate is set.
++ * @see [MovieClip]
++ */
++createjs.MovieClip.prototype.advance = function (time) { }
+
- MovieClipPlugin.install();
-}());
diff --git a/createjs/target/downloads/EaselJS-0.8.0/src/easeljs/display/Shadow.js b/createjs/target/downloads/EaselJS-0.8.0/src/easeljs/display/Shadow.js
@@ -9584,10 +9575,10 @@ index 407ccb1..f7b7666 100644
- createjs.Shadow = Shadow;
-}());
diff --git a/createjs/target/downloads/EaselJS-0.8.0/src/easeljs/display/Shape.js b/createjs/target/downloads/EaselJS-0.8.0/src/easeljs/display/Shape.js
-index 26f2341..39dd780 100644
+index 26f2341..ebf4956 100644
--- a/createjs/target/downloads/EaselJS-0.8.0/src/easeljs/display/Shape.js
+++ b/createjs/target/downloads/EaselJS-0.8.0/src/easeljs/display/Shape.js
-@@ -1,135 +1,32 @@
+@@ -1,135 +1,33 @@
-/*
-* Shape
-* Visit http://createjs.com/ for documentation, updates and examples.
@@ -9616,11 +9607,12 @@ index 26f2341..39dd780 100644
-* OTHER DEALINGS IN THE SOFTWARE.
-*/
-
+-/**
+- * @module EaselJS
+/** @fileoverview Auto-generated Externs files
+ * @externs
-+ */
- /**
-- * @module EaselJS
+ */
++/**
+ * A Shape allows you to display vector art in the display list. It composites a {{#crossLink "Graphics"}}{{/crossLink}}
+ * instance which exposes all of the vector drawing methods. The Graphics instance can be shared between multiple Shape
+ * instances to display the same vector graphics with different positions or transforms.
@@ -9642,8 +9634,6 @@ index 26f2341..39dd780 100644
+ * @param {(createjs.Graphics|null)} graphics Optional. The graphics instance to display. If null, a new Graphics instance will be created.
+ * @constructor
+ * @extends createjs.DisplayObject
- */
-+createjs.Shape = function (graphics) {}
-// namespace:
-this.createjs = this.createjs||{};
@@ -9706,7 +9696,9 @@ index 26f2341..39dd780 100644
- var hasContent = this.cacheCanvas || (this.graphics && !this.graphics.isEmpty());
- return !!(this.visible && this.alpha > 0 && this.scaleX != 0 && this.scaleY != 0 && hasContent);
- };
--
++ */
++createjs.Shape = function (graphics) {}
+
- /**
- * Draws the Shape into the specified context ignoring its visible, alpha, shadow, and transform. Returns true if
- * the draw was handled (useful for overriding functionality).
@@ -9749,10 +9741,10 @@ index 26f2341..39dd780 100644
- createjs.Shape = createjs.promote(Shape, "DisplayObject");
-}());
diff --git a/createjs/target/downloads/EaselJS-0.8.0/src/easeljs/display/Sprite.js b/createjs/target/downloads/EaselJS-0.8.0/src/easeljs/display/Sprite.js
-index 453f909..d8ae4b0 100644
+index 453f909..b6ed8db 100644
--- a/createjs/target/downloads/EaselJS-0.8.0/src/easeljs/display/Sprite.js
+++ b/createjs/target/downloads/EaselJS-0.8.0/src/easeljs/display/Sprite.js
-@@ -1,472 +1,100 @@
+@@ -1,472 +1,101 @@
-/*
-* Sprite
-* Visit http://createjs.com/ for documentation, updates and examples.
@@ -9781,11 +9773,12 @@ index 453f909..d8ae4b0 100644
-* OTHER DEALINGS IN THE SOFTWARE.
-*/
-
+-/**
+- * @module EaselJS
+/** @fileoverview Auto-generated Externs files
+ * @externs
-+ */
- /**
-- * @module EaselJS
+ */
++/**
+ * Displays a frame or sequence of frames (ie. an animation) from a SpriteSheet instance. A sprite sheet is a series of
+ * images (usually animation frames) combined into a single image. For example, an animation consisting of 8 100x100
+ * images could be combined into a 400x200 sprite sheet (4 frames across by 2 high). You can display individual frames,
@@ -9806,81 +9799,6 @@ index 453f909..d8ae4b0 100644
+ * @param {(number|string)=} opt_frameOrAnimation The frame number or animation to play initially.
+ * @constructor
+ * @extends createjs.DisplayObject
- */
-+createjs.Sprite = function (spriteSheet, opt_frameOrAnimation) {}
-+
-+ /**
-+ * Stop playing a running animation. The Sprite will be playing if {{#crossLink "Sprite/gotoAndPlay"}}{{/crossLink}}
-+ * is called. Note that calling {{#crossLink "Sprite/gotoAndPlay"}}{{/crossLink}} or {{#crossLink "Sprite/play"}}{{/crossLink}}
-+ * will resume playback.
-+ *
-+ * @see [Sprite]
-+ */
-+createjs.Sprite.prototype.stop = function () { }
-+
-+
-+ /**
-+ * Normalizes the current frame, advancing animations and dispatching callbacks as appropriate.
-+ *
-+ * @see [Sprite]
-+ */
-+createjs.Sprite.prototype._normalizeFrame = function (frameDelta) { }
-+
-+ /**
-+ * Dispatches the "animationend" event. Returns true if a handler changed the animation (ex. calling {{#crossLink "Sprite/stop"}}{{/crossLink}},
-+ * {{#crossLink "Sprite/gotoAndPlay"}}{{/crossLink}}, etc.)
-+ *
-+ * @see [Sprite]
-+ */
-+createjs.Sprite.prototype._dispatchAnimationEnd = function (animation, frame, paused, next, end) { }
-+
-+ /**
-+ * Sets paused to true and seeks to the specified animation name, named frame, or frame number.
-+ *
-+ * @param {(number|string|null)} frameOrAnimation The frame number or animation name that the playhead should move to and stop.
-+ * @see [Sprite]
-+ */
-+createjs.Sprite.prototype.gotoAndStop = function (frameOrAnimation) { }
-+
-+ /**
-+ * Play (unpause) the current animation. The Sprite will be paused if either {{#crossLink "Sprite/stop"}}{{/crossLink}}
-+ * or {{#crossLink "Sprite/gotoAndStop"}}{{/crossLink}} is called. Single frame animations will remain
-+ * unchanged.
-+ *
-+ * @see [Sprite]
-+ */
-+createjs.Sprite.prototype.play = function () { }
-+
-+
-+
-+
-+
-+ /**
-+ * Moves the playhead to the specified frame number or animation.
-+ *
-+ * @param {(number|string|null)} frameOrAnimation The frame number or animation that the playhead should move to.
-+ * @param {boolean=} opt_frame The frame of the animation to go to. Defaults to 0.
-+ * @see [Sprite]
-+ */
-+createjs.Sprite.prototype._goto = function (frameOrAnimation, opt_frame) { }
-+
-+
-+
-+ /**
-+ * Sets paused to false and plays the specified animation name, named frame, or frame number.
-+ *
-+ * @param {(number|string|null)} frameOrAnimation The frame number or animation name that the playhead should move to and begin playing.
-+ * @see [Sprite]
-+ */
-+createjs.Sprite.prototype.gotoAndPlay = function (frameOrAnimation) { }
-+
-+ /**
-+ * Advances the playhead. This occurs automatically each tick by default.
-+ *
-+ * @param {(number|null)} time The amount of time in ms to advance by. Only applicable if framerate is set on the Sprite or its SpriteSheet.
-+ * @see [Sprite]
-+ */
-+createjs.Sprite.prototype.advance = function (time) { }
-// namespace:
-this.createjs = this.createjs||{};
@@ -10319,14 +10237,89 @@ index 453f909..d8ae4b0 100644
- }
- };
-
--
++ */
++createjs.Sprite = function (spriteSheet, opt_frameOrAnimation) {}
++
++ /**
++ * Stop playing a running animation. The Sprite will be playing if {{#crossLink "Sprite/gotoAndPlay"}}{{/crossLink}}
++ * is called. Note that calling {{#crossLink "Sprite/gotoAndPlay"}}{{/crossLink}} or {{#crossLink "Sprite/play"}}{{/crossLink}}
++ * will resume playback.
++ *
++ * @see [Sprite]
++ */
++createjs.Sprite.prototype.stop = function () { }
++
++
++ /**
++ * Normalizes the current frame, advancing animations and dispatching callbacks as appropriate.
++ *
++ * @see [Sprite]
++ */
++createjs.Sprite.prototype._normalizeFrame = function (frameDelta) { }
++
++ /**
++ * Dispatches the "animationend" event. Returns true if a handler changed the animation (ex. calling {{#crossLink "Sprite/stop"}}{{/crossLink}},
++ * {{#crossLink "Sprite/gotoAndPlay"}}{{/crossLink}}, etc.)
++ *
++ * @see [Sprite]
++ */
++createjs.Sprite.prototype._dispatchAnimationEnd = function (animation, frame, paused, next, end) { }
++
++ /**
++ * Sets paused to true and seeks to the specified animation name, named frame, or frame number.
++ *
++ * @param {(number|string|null)} frameOrAnimation The frame number or animation name that the playhead should move to and stop.
++ * @see [Sprite]
++ */
++createjs.Sprite.prototype.gotoAndStop = function (frameOrAnimation) { }
++
++ /**
++ * Play (unpause) the current animation. The Sprite will be paused if either {{#crossLink "Sprite/stop"}}{{/crossLink}}
++ * or {{#crossLink "Sprite/gotoAndStop"}}{{/crossLink}} is called. Single frame animations will remain
++ * unchanged.
++ *
++ * @see [Sprite]
++ */
++createjs.Sprite.prototype.play = function () { }
++
++
++
++
++
++ /**
++ * Moves the playhead to the specified frame number or animation.
++ *
++ * @param {(number|string|null)} frameOrAnimation The frame number or animation that the playhead should move to.
++ * @param {boolean=} opt_frame The frame of the animation to go to. Defaults to 0.
++ * @see [Sprite]
++ */
++createjs.Sprite.prototype._goto = function (frameOrAnimation, opt_frame) { }
++
++
++
++ /**
++ * Sets paused to false and plays the specified animation name, named frame, or frame number.
++ *
++ * @param {(number|string|null)} frameOrAnimation The frame number or animation name that the playhead should move to and begin playing.
++ * @see [Sprite]
++ */
++createjs.Sprite.prototype.gotoAndPlay = function (frameOrAnimation) { }
++
++ /**
++ * Advances the playhead. This occurs automatically each tick by default.
++ *
++ * @param {(number|null)} time The amount of time in ms to advance by. Only applicable if framerate is set on the Sprite or its SpriteSheet.
++ * @see [Sprite]
++ */
++createjs.Sprite.prototype.advance = function (time) { }
+
- createjs.Sprite = createjs.promote(Sprite, "DisplayObject");
-}());
diff --git a/createjs/target/downloads/EaselJS-0.8.0/src/easeljs/display/SpriteContainer.js b/createjs/target/downloads/EaselJS-0.8.0/src/easeljs/display/SpriteContainer.js
-index 9bc7003..a8c66fe 100644
+index 9bc7003..2e745d9 100644
--- a/createjs/target/downloads/EaselJS-0.8.0/src/easeljs/display/SpriteContainer.js
+++ b/createjs/target/downloads/EaselJS-0.8.0/src/easeljs/display/SpriteContainer.js
-@@ -1,185 +1,36 @@
+@@ -1,185 +1,37 @@
-/*
-* SpriteContainer
-* Visit http://createjs.com/ for documentation, updates and examples.
@@ -10384,6 +10377,7 @@ index 9bc7003..a8c66fe 100644
+ * @param {createjs.SpriteSheet=} opt_spriteSheet The spriteSheet to use for this SpriteContainer and its children.
+ * @constructor
+ * @extends createjs.Container
++
+ */
+createjs.SpriteContainer = function (opt_spriteSheet) {}
@@ -10545,10 +10539,10 @@ index 9bc7003..a8c66fe 100644
- createjs.SpriteContainer = createjs.promote(SpriteContainer, "Container");
-}());
diff --git a/createjs/target/downloads/EaselJS-0.8.0/src/easeljs/display/SpriteSheet.js b/createjs/target/downloads/EaselJS-0.8.0/src/easeljs/display/SpriteSheet.js
-index 2e53d42..7a2fc1b 100644
+index 2e53d42..c7052b1 100644
--- a/createjs/target/downloads/EaselJS-0.8.0/src/easeljs/display/SpriteSheet.js
+++ b/createjs/target/downloads/EaselJS-0.8.0/src/easeljs/display/SpriteSheet.js
-@@ -1,555 +1,221 @@
+@@ -1,555 +1,222 @@
-/*
- * SpriteSheet
- * Visit http://createjs.com/ for documentation, updates and examples.
@@ -10581,128 +10575,7 @@ index 2e53d42..7a2fc1b 100644
-
/**
- * @module EaselJS
-+ * Encapsulates the properties and methods associated with a sprite sheet. A sprite sheet is a series of images (usually
-+ * animation frames) combined into a larger image (or images). For example, an animation consisting of eight 100x100
-+ * images could be combined into a single 400x200 sprite sheet (4 frames across by 2 high).
-+ *
-+ * The data passed to the SpriteSheet constructor defines:<ol>
-+ * <li> The source image or images to use.</li>
-+ * <li> The positions of individual image frames.</li>
-+ * <li> Sequences of frames that form named animations. Optional.</li>
-+ * <li> The target playback framerate. Optional.</li>
-+ * </OL>
-+ *
-+ * <h3>SpriteSheet Format</h3>
-+ *
-+ * SpriteSheets are an object with two required properties (`images` and `frames`), and two optional properties
-+ * (`framerate` and `animations`). This makes them easy to define in javascript code, or in JSON.
-+ *
-+ * <h4>images</h4>
-+ * An array of source images. Images can be either an HTMLImage
-+ * instance, or a uri to an image. The former is recommended to control preloading.
-+ *
-+ * images: [image1, "path/to/image2.png"],
-+ *
-+ * <h4>frames</h4>
-+ * Defines the individual frames. There are two supported formats for frame data:<OL>
-+ * <LI> when all of the frames are the same size (in a grid), use an object with `width`, `height`, `regX`, `regY`, and `count` properties.
-+ * `width` & `height` are required and specify the dimensions of the frames.
-+ * `regX` & `regY` indicate the registration point or "origin" of the frames.
-+ * `spacing` indicate the spacing between frames.
-+ * `margin` specify the margin around the image(s).
-+ * `count` allows you to specify the total number of frames in the spritesheet; if omitted, this will be calculated
-+ * based on the dimensions of the source images and the frames. Frames will be assigned indexes based on their position
-+ * in the source images (left to right, top to bottom).
-+ *
-+ * frames: {width:64, height:64, count:20, regX: 32, regY:64, spacing:0, margin:0}
-+ *
-+ * <LI> if the frames are of different sizes, use an array of frame definitions. Each definition is itself an array
-+ * with 4 required and 3 optional entries, in the order: `x`, `y`, `width`, `height`, `imageIndex`, `regX`, `regY`. The first
-+ * four entries are required and define the frame rectangle. The fifth specifies the index of the source image (defaults to 0). The
-+ * last two specify the registration point of the frame.
-+ *
-+ * frames: [
-+ * // x, y, width, height, imageIndex*, regX*, regY*
-+ * [64, 0, 96, 64],
-+ * [0, 0, 64, 64, 1, 32, 32]
-+ * // etc.
-+ * ]
-+ *
-+ * </OL>
-+ *
-+ * <h4>animations</h4>
-+ * Optional. An object defining sequences of frames to play as named animations. Each property corresponds to an
-+ * animation of the same name. Each animation must specify the frames to play, and may
-+ * also include a relative playback `speed` (ex. 2 would playback at double speed, 0.5 at half), and
-+ * the name of the `next` animation to sequence to after it completes.
-+ *
-+ * There are three formats supported for defining the frames in an animation, which can be mixed and matched as appropriate:<OL>
-+ * <LI> for a single frame animation, you can simply specify the frame index
-+ *
-+ * animations: {
-+ * sit: 7
-+ * }
-+ *
-+ * <LI> for an animation of consecutive frames, you can use an array with two required, and two optional entries
-+ * in the order: `start`, `end`, `next`, and `speed`. This will play the frames from start to end inclusive.
-+ *
-+ * animations: {
-+ * // start, end, next*, speed*
-+ * run: [0, 8],
-+ * jump: [9, 12, "run", 2]
-+ * }
-+ *
-+ * <LI> for non-consecutive frames, you can use an object with a `frames` property defining an array of frame indexes to
-+ * play in order. The object can also specify `next` and `speed` properties.
-+ *
-+ * animations: {
-+ * walk: {
-+ * frames: [1,2,3,3,2,1]
-+ * },
-+ * shoot: {
-+ * frames: [1,4,5,6],
-+ * next: "walk",
-+ * speed: 0.5
-+ * }
-+ * }
-+ *
-+ * </OL>
-+ * <strong>Note:</strong> the `speed` property was added in EaselJS 0.7.0. Earlier versions had a `frequency`
-+ * property instead, which was the inverse of `speed`. For example, a value of "4" would be 1/4 normal speed in earlier
-+ * versions, but is 4x normal speed in 0.7.0+.
-+ *
-+ * <h4>framerate</h4>
-+ * Optional. Indicates the default framerate to play this spritesheet at in frames per second.
-+ * See {{#crossLink "SpriteSheet/framerate:property"}}{{/crossLink}} for more information.
-+ *
-+ * framerate: 20
-+ *
-+ * <h4>Example</h4>
-+ * To define a simple sprite sheet, with a single image "sprites.jpg" arranged in a regular 50x50 grid with three
-+ * animations: "stand" showing the first frame, "run" looping frame 1-5 inclusive, and "jump" playing frame 6-8 and sequencing back to run.
-+ *
-+ * var data = {
-+ * images: ["sprites.jpg"],
-+ * frames: {width:50, height:50},
-+ * animations: {
-+ * stand:0,
-+ * run:[1,5],
-+ * jump:[6,8,"run"]
-+ * }
-+ * };
-+ * var spriteSheet = new createjs.SpriteSheet(data);
-+ * var animation = new createjs.Sprite(spriteSheet, "run");
-+ *
-+ *
-+ * <strong>Warning:</strong> Images loaded cross-origin will throw cross-origin security errors when interacted with
-+ * using a mouse, using methods such as `getObjectUnderPoint`, using filters, or caching. You can get around this by
-+ * setting `crossOrigin` flags on your images before passing them to EaselJS, eg: `img.crossOrigin="Anonymous";`
-+ *
-+ * @see [SpriteSheet]
-+ * @param {(Object|null)} data An object describing the SpriteSheet data.
-+ * @constructor
-+ * @extends createjs.EventDispatcher
- */
+- */
-
-// namespace:
-this.createjs = this.createjs||{};
@@ -11203,7 +11076,128 @@ index 2e53d42..7a2fc1b 100644
- imgLoop:
- for (var i=0, imgs=this._images; i<imgs.length; i++) {
- var img = imgs[i], imgW = img.width, imgH = img.height;
--
++ * Encapsulates the properties and methods associated with a sprite sheet. A sprite sheet is a series of images (usually
++ * animation frames) combined into a larger image (or images). For example, an animation consisting of eight 100x100
++ * images could be combined into a single 400x200 sprite sheet (4 frames across by 2 high).
++ *
++ * The data passed to the SpriteSheet constructor defines:<ol>
++ * <li> The source image or images to use.</li>
++ * <li> The positions of individual image frames.</li>
++ * <li> Sequences of frames that form named animations. Optional.</li>
++ * <li> The target playback framerate. Optional.</li>
++ * </OL>
++ *
++ * <h3>SpriteSheet Format</h3>
++ *
++ * SpriteSheets are an object with two required properties (`images` and `frames`), and two optional properties
++ * (`framerate` and `animations`). This makes them easy to define in javascript code, or in JSON.
++ *
++ * <h4>images</h4>
++ * An array of source images. Images can be either an HTMLImage
++ * instance, or a uri to an image. The former is recommended to control preloading.
++ *
++ * images: [image1, "path/to/image2.png"],
++ *
++ * <h4>frames</h4>
++ * Defines the individual frames. There are two supported formats for frame data:<OL>
++ * <LI> when all of the frames are the same size (in a grid), use an object with `width`, `height`, `regX`, `regY`, and `count` properties.
++ * `width` & `height` are required and specify the dimensions of the frames.
++ * `regX` & `regY` indicate the registration point or "origin" of the frames.
++ * `spacing` indicate the spacing between frames.
++ * `margin` specify the margin around the image(s).
++ * `count` allows you to specify the total number of frames in the spritesheet; if omitted, this will be calculated
++ * based on the dimensions of the source images and the frames. Frames will be assigned indexes based on their position
++ * in the source images (left to right, top to bottom).
++ *
++ * frames: {width:64, height:64, count:20, regX: 32, regY:64, spacing:0, margin:0}
++ *
++ * <LI> if the frames are of different sizes, use an array of frame definitions. Each definition is itself an array
++ * with 4 required and 3 optional entries, in the order: `x`, `y`, `width`, `height`, `imageIndex`, `regX`, `regY`. The first
++ * four entries are required and define the frame rectangle. The fifth specifies the index of the source image (defaults to 0). The
++ * last two specify the registration point of the frame.
++ *
++ * frames: [
++ * // x, y, width, height, imageIndex*, regX*, regY*
++ * [64, 0, 96, 64],
++ * [0, 0, 64, 64, 1, 32, 32]
++ * // etc.
++ * ]
++ *
++ * </OL>
++ *
++ * <h4>animations</h4>
++ * Optional. An object defining sequences of frames to play as named animations. Each property corresponds to an
++ * animation of the same name. Each animation must specify the frames to play, and may
++ * also include a relative playback `speed` (ex. 2 would playback at double speed, 0.5 at half), and
++ * the name of the `next` animation to sequence to after it completes.
++ *
++ * There are three formats supported for defining the frames in an animation, which can be mixed and matched as appropriate:<OL>
++ * <LI> for a single frame animation, you can simply specify the frame index
++ *
++ * animations: {
++ * sit: 7
++ * }
++ *
++ * <LI> for an animation of consecutive frames, you can use an array with two required, and two optional entries
++ * in the order: `start`, `end`, `next`, and `speed`. This will play the frames from start to end inclusive.
++ *
++ * animations: {
++ * // start, end, next*, speed*
++ * run: [0, 8],
++ * jump: [9, 12, "run", 2]
++ * }
++ *
++ * <LI> for non-consecutive frames, you can use an object with a `frames` property defining an array of frame indexes to
++ * play in order. The object can also specify `next` and `speed` properties.
++ *
++ * animations: {
++ * walk: {
++ * frames: [1,2,3,3,2,1]
++ * },
++ * shoot: {
++ * frames: [1,4,5,6],
++ * next: "walk",
++ * speed: 0.5
++ * }
++ * }
++ *
++ * </OL>
++ * <strong>Note:</strong> the `speed` property was added in EaselJS 0.7.0. Earlier versions had a `frequency`
++ * property instead, which was the inverse of `speed`. For example, a value of "4" would be 1/4 normal speed in earlier
++ * versions, but is 4x normal speed in 0.7.0+.
++ *
++ * <h4>framerate</h4>
++ * Optional. Indicates the default framerate to play this spritesheet at in frames per second.
++ * See {{#crossLink "SpriteSheet/framerate:property"}}{{/crossLink}} for more information.
++ *
++ * framerate: 20
++ *
++ * <h4>Example</h4>
++ * To define a simple sprite sheet, with a single image "sprites.jpg" arranged in a regular 50x50 grid with three
++ * animations: "stand" showing the first frame, "run" looping frame 1-5 inclusive, and "jump" playing frame 6-8 and sequencing back to run.
++ *
++ * var data = {
++ * images: ["sprites.jpg"],
++ * frames: {width:50, height:50},
++ * animations: {
++ * stand:0,
++ * run:[1,5],
++ * jump:[6,8,"run"]
++ * }
++ * };
++ * var spriteSheet = new createjs.SpriteSheet(data);
++ * var animation = new createjs.Sprite(spriteSheet, "run");
++ *
++ *
++ * <strong>Warning:</strong> Images loaded cross-origin will throw cross-origin security errors when interacted with
++ * using a mouse, using methods such as `getObjectUnderPoint`, using filters, or caching. You can get around this by
++ * setting `crossOrigin` flags on your images before passing them to EaselJS, eg: `img.crossOrigin="Anonymous";`
++ *
++ * @see [SpriteSheet]
++ * @param {(Object|null)} data An object describing the SpriteSheet data.
++ * @constructor
++ * @extends createjs.EventDispatcher
+
- var y = margin;
- while (y <= imgH-margin-frameHeight) {
- var x = margin;
@@ -11223,6 +11217,7 @@ index 2e53d42..7a2fc1b 100644
- }
- this._numFrames = frameCount;
- };
++ */
+createjs.SpriteSheet = function (data) {}
+
+ /**
@@ -11321,10 +11316,10 @@ index 2e53d42..7a2fc1b 100644
- createjs.SpriteSheet = createjs.promote(SpriteSheet, "EventDispatcher");
-}());
diff --git a/createjs/target/downloads/EaselJS-0.8.0/src/easeljs/display/SpriteStage.js b/createjs/target/downloads/EaselJS-0.8.0/src/easeljs/display/SpriteStage.js
-index 6eada6f..1e77464 100644
+index 6eada6f..3ec6f09 100644
--- a/createjs/target/downloads/EaselJS-0.8.0/src/easeljs/display/SpriteStage.js
+++ b/createjs/target/downloads/EaselJS-0.8.0/src/easeljs/display/SpriteStage.js
-@@ -1,988 +1,174 @@
+@@ -1,988 +1,175 @@
-/*
-* SpriteStage
-* Visit http://createjs.com/ for documentation, updates and examples.
@@ -11353,11 +11348,12 @@ index 6eada6f..1e77464 100644
-* OTHER DEALINGS IN THE SOFTWARE.
-*/
-
+-/**
+- * @module EaselJS
+/** @fileoverview Auto-generated Externs files
+ * @externs
-+ */
- /**
-- * @module EaselJS
+ */
++/**
+ * A sprite stage is the root level {{#crossLink "Container"}}{{/crossLink}} for an aggressively optimized display list. Each time its {{#crossLink "Stage/tick"}}{{/crossLink}}
+ * method is called, it will render its display list to its target canvas. WebGL content is fully compatible with the existing Context2D renderer.
+ * On devices or browsers that don't support WebGL, content will automatically be rendered via canvas 2D.
@@ -11389,8 +11385,7 @@ index 6eada6f..1e77464 100644
+ * @param {(boolean|null)} antialias Specifies whether or not the browser's WebGL implementation should try to perform antialiasing.
+ * @constructor
+ * @extends createjs.Stage
- */
--
+
-// namespace:
-this.createjs = this.createjs||{};
-
@@ -12343,6 +12338,7 @@ index 6eada6f..1e77464 100644
- this._currentBoxIndex = -1;
- this._drawTexture = null;
- };
++ */
+createjs.SpriteStage = function (canvas, preserveDrawingBuffer, antialias) {}
+
+ /**
@@ -12484,10 +12480,10 @@ index 6eada6f..1e77464 100644
- createjs.SpriteStage = createjs.promote(SpriteStage, "Stage");
-}());
diff --git a/createjs/target/downloads/EaselJS-0.8.0/src/easeljs/display/Stage.js b/createjs/target/downloads/EaselJS-0.8.0/src/easeljs/display/Stage.js
-index 9cb6625..f3d912d 100644
+index 9cb6625..ea3c3a0 100644
--- a/createjs/target/downloads/EaselJS-0.8.0/src/easeljs/display/Stage.js
+++ b/createjs/target/downloads/EaselJS-0.8.0/src/easeljs/display/Stage.js
-@@ -1,880 +1,276 @@
+@@ -1,880 +1,277 @@
-/*
-* Stage
-* Visit http://createjs.com/ for documentation, updates and examples.
@@ -12516,11 +12512,12 @@ index 9cb6625..f3d912d 100644
-* OTHER DEALINGS IN THE SOFTWARE.
-*/
-
+-/**
+- * @module EaselJS
+/** @fileoverview Auto-generated Externs files
+ * @externs
-+ */
- /**
-- * @module EaselJS
+ */
++/**
+ * A stage is the root level {{#crossLink "Container"}}{{/crossLink}} for a display list. Each time its {{#crossLink "Stage/tick"}}{{/crossLink}}
+ * method is called, it will render its display list to its target canvas.
+ *
@@ -12541,257 +12538,6 @@ index 9cb6625..f3d912d 100644
+ * @param {(HTMLCanvasElement|Object|null)} canvas A canvas object that the Stage will render to, or the string id of a canvas object in the current document.
+ * @constructor
+ * @extends createjs.Container
- */
-+createjs.Stage = function (canvas) {}
-+
-+ /**
-+ * Generated doc for missing field JSDoc.
-+ *
-+ * @see [Stage]
-+ */
-+createjs.Stage.prototype.nextStage;
-+
-+ /**
-+ * Each time the update method is called, the stage will call {{#crossLink "Stage/tick"}}{{/crossLink}}
-+ * unless {{#crossLink "Stage/tickOnUpdate:property"}}{{/crossLink}} is set to false,
-+ * and then render the display list to the canvas.
-+ *
-+ * @param {Object=} opt_props Props object to pass to `tick()`. Should usually be a {{#crossLink "Ticker"}}{{/crossLink}} event object, or similar object with a delta property.
-+ * @see [Stage]
-+ */
-+createjs.Stage.prototype.update = function (opt_props) { }
-+
-+ /**
-+ * @param {(number|null)} id
-+ * @param {(Event|null)} e
-+ * @param {(number|null)} pageX
-+ * @param {(number|null)} pageY
-+ * @param {(createjs.Stage|null)} owner Indicates that the event has already been captured & handled by the indicated stage.
-+ * @see [Stage]
-+ */
-+createjs.Stage.prototype._handlePointerDown = function (id, e, pageX, pageY, owner) { }
-+
-+
-+ /**
-+ * @param {(boolean|null)} clear If true, clears the mouseover / rollover (ie. no target)
-+ * @param {(createjs.Stage|null)} owner Indicates that the event has already been captured & handled by the indicated stage.
-+ * @param {(createjs.Stage|null)} eventTarget The stage that the cursor is actively over.
-+ * @see [Stage]
-+ */
-+createjs.Stage.prototype._testMouseOver = function (clear, owner, eventTarget) { }
-+
-+ /**
-+ * Default event handler that calls the Stage {{#crossLink "Stage/update"}}{{/crossLink}} method when a {{#crossLink "DisplayObject/tick:event"}}{{/crossLink}}
-+ * event is received. This allows you to register a Stage instance as a event listener on {{#crossLink "Ticker"}}{{/crossLink}}
-+ * directly, using:
-+ *
-+ * Ticker.addEventListener("tick", myStage");
-+ *
-+ * Note that if you subscribe to ticks using this pattern, then the tick event object will be passed through to
-+ * display object tick handlers, instead of <code>delta</code> and <code>paused</code> parameters.
-+ *
-+ * @see [Stage]
-+ */
-+createjs.Stage.prototype.handleEvent = function (evt) { }
-+
-+ /**
-+ * @param {(HTMLElement|null)} e
-+ * @see [Stage]
-+ */
-+createjs.Stage.prototype._getElementRect = function (e) { }
-+
-+ /**
-+ * Enables or disables (by passing a frequency of 0) mouse over ({{#crossLink "DisplayObject/mouseover:event"}}{{/crossLink}}
-+ * and {{#crossLink "DisplayObject/mouseout:event"}}{{/crossLink}}) and roll over events ({{#crossLink "DisplayObject/rollover:event"}}{{/crossLink}}
-+ * and {{#crossLink "DisplayObject/rollout:event"}}{{/crossLink}}) for this stage's display list. These events can
-+ * be expensive to generate, so they are disabled by default. The frequency of the events can be controlled
-+ * independently of mouse move events via the optional `frequency` parameter.
-+ *
-+ * <h4>Example</h4>
-+ *
-+ * var stage = new createjs.Stage("canvasId");
-+ * stage.enableMouseOver(10); // 10 updates per second
-+ *
-+ * @param {number=} opt_frequency Optional param specifying the maximum number of times per second to broadcast mouse over/out events. Set to 0 to disable mouse over events completely. Maximum is 50. A lower frequency is less responsive, but uses less CPU.
-+ * @see [Stage]
-+ */
-+createjs.Stage.prototype.enableMouseOver = function (opt_frequency) { }
-+
-+ /**
-+ * Returns a data url that contains a Base64-encoded image of the contents of the stage. The returned data url can
-+ * be specified as the src value of an image element.
-+ *
-+ * @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} a Base64 encoded image.
-+ */
-+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
-+ * practice to disable events when disposing of a Stage instance, otherwise the stage will continue to receive
-+ * events from the page.
-+ *
-+ * When changing the canvas property you must disable the events on the old canvas, and enable events on the
-+ * new canvas or mouse events will not work as expected. For example:
-+ *
-+ * mycreatejs.Stage.enableDOMEvents(false);
-+ * mycreatejs.Stage.canvas = anotherCanvas;
-+ * mycreatejs.Stage.enableDOMEvents(true);
-+ *
-+ * @param {boolean=} opt_enable Indicates whether to enable or disable the events. Default is true.
-+ * @see [Stage]
-+ */
-+createjs.Stage.prototype.enableDOMEvents = function (opt_enable) { }
-+
-+ /**
-+ * @param {(createjs.DisplayObject|null)} target
-+ * @param {string} type
-+ * @param {(boolean|null)} bubbles
-+ * @param {(number|null)} pointerId
-+ * @param {(Object|null)} o
-+ * @param {MouseEvent=} opt_nativeEvent
-+ * @see [Stage]
-+ */
-+createjs.Stage.prototype._dispatchMouseEvent = function (target, type, bubbles, pointerId, o, opt_nativeEvent) { }
-+
-+ /**
-+ * Specifies a target stage that will have mouse / touch interactions relayed to it after this stage handles them.
-+ * This can be useful in cases where you have multiple layered canvases and want user interactions
-+ * events to pass through. For example, this would relay mouse events from topStage to bottomStage:
-+ *
-+ * topcreatejs.Stage.nextStage = bottomStage;
-+ *
-+ * To disable relaying, set nextStage to null.
-+ *
-+ * MouseOver, MouseOut, RollOver, and RollOut interactions are also passed through using the mouse over settings
-+ * of the top-most stage, but are only processed if the target stage has mouse over interactions enabled.
-+ * Considerations when using roll over in relay targets:<OL>
-+ * <LI> The top-most (first) stage must have mouse over interactions enabled (via enableMouseOver)</LI>
-+ * <LI> All stages that wish to participate in mouse over interaction must enable them via enableMouseOver</LI>
-+ * <LI> All relay targets will share the frequency value of the top-most stage</LI>
-+ * </OL>
-+ * To illustrate, in this example the targetStage would process mouse over interactions at 10hz (despite passing
-+ * 30 as it's desired frequency):
-+ * topcreatejs.Stage.nextStage = targetStage;
-+ * topcreatejs.Stage.enableMouseOver(10);
-+ * targetcreatejs.Stage.enableMouseOver(30);
-+ *
-+ * If the target stage's canvas is completely covered by this stage's canvas, you may also want to disable its
-+ * DOM events using:
-+ *
-+ * targetcreatejs.Stage.enableDOMEvents(false);
-+ *
-+ * @see [Stage]
-+ */
-+createjs.Stage.prototype._get_nextStage = function () { }
-+
-+ /**
-+ * @param {(MouseEvent|null)} e
-+ * @param {(createjs.Stage|null)} owner Indicates that the event has already been captured & handled by the indicated stage.
-+ * @see [Stage]
-+ */
-+createjs.Stage.prototype._handleDoubleClick = function (e, owner) { }
-+
-+ /**
-+ * Clears the target canvas. Useful if {{#crossLink "Stage/autoClear:property"}}{{/crossLink}} is set to `false`.
-+ *
-+ * @see [Stage]
-+ */
-+createjs.Stage.prototype.clear = function () { }
-+
-+ /**
-+ * Propagates a tick event through the display list. This is automatically called by {{#crossLink "Stage/update"}}{{/crossLink}}
-+ * unless {{#crossLink "Stage/tickOnUpdate:property"}}{{/crossLink}} is set to false.
-+ *
-+ * If a props object is passed to `tick()`, then all of its properties will be copied to the event object that is
-+ * propagated to listeners.
-+ *
-+ * Some time-based features in EaselJS (for example {{#crossLink "Sprite/framerate"}}{{/crossLink}} require that
-+ * a {{#crossLink "Ticker/tick:event"}}{{/crossLink}} event object (or equivalent object with a delta property) be
-+ * passed as the `props` parameter to `tick()`. For example:
-+ *
-+ * Ticker.on("tick", handleTick);
-+ * function handleTick(evtObj) {
-+ * // clone the event object from Ticker, and add some custom data to it:
-+ * var evt = evtObj.clone().set({greeting:"hello", name:"world"});
-+ *
-+ * // pass it to stage.update():
-+ * mycreatejs.Stage.update(evt); // subsequently calls tick() with the same param
-+ * }
-+ *
-+ * // ...
-+ * myDisplayObject.on("tick", handleDisplayObjectTick);
-+ * function handleDisplayObjectTick(evt) {
-+ * console.log(evt.delta); // the delta property from the Ticker tick event object
-+ * console.log(evt.greeting, evt.name); // custom data: "hello world"
-+ * }
-+ *
-+ * @param {Object=} opt_props An object with properties that should be copied to the event object. Should usually be a Ticker event object, or similar object with a delta property.
-+ * @see [Stage]
-+ */
-+createjs.Stage.prototype.tick = function (opt_props) { }
-+
-+ /**
-+ * @param {(MouseEvent|null)} e
-+ * @see [Stage]
-+ */
-+createjs.Stage.prototype._handleMouseUp = function (e) { }
-+
-+ /**
-+ * @param {(MouseEvent|null)} e
-+ * @see [Stage]
-+ */
-+createjs.Stage.prototype._handleMouseMove = function (e) { }
-+
-+ /**
-+ * @param {(number|null)} id
-+ * @param {(Event|null)} e
-+ * @param {(number|null)} pageX
-+ * @param {(number|null)} pageY
-+ * @param {(createjs.Stage|null)} owner Indicates that the event has already been captured & handled by the indicated stage.
-+ * @see [Stage]
-+ */
-+createjs.Stage.prototype._handlePointerMove = function (id, e, pageX, pageY, owner) { }
-+
-+ /**
-+ * @param {(number|null)} id
-+ * @param {(Event|null)} e
-+ * @param {(boolean|null)} clear
-+ * @param {(createjs.Stage|null)} owner Indicates that the event has already been captured & handled by the indicated stage.
-+ * @see [Stage]
-+ */
-+createjs.Stage.prototype._handlePointerUp = function (id, e, clear, owner) { }
-+
-+
-+ /**
-+ * @param {(number|null)} id
-+ * @see [Stage]
-+ */
-+createjs.Stage.prototype._getPointerData = function (id) { }
-+
-+ /**
-+ * Generated doc for missing method JSDoc.
-+ *
-+ * @see [Stage]
-+ */
-+createjs.Stage.prototype._set_nextStage = function (value) { }
-+
-+ /**
-+ * @param {(MouseEvent|null)} e
-+ * @see [Stage]
-+ */
-+createjs.Stage.prototype._handleMouseDown = function (e) { }
-+
-+ /**
-+ * @param {(number|null)} id
-+ * @param {(Event|null)} e
-+ * @param {(number|null)} pageX
-+ * @param {(number|null)} pageY
-+ * @see [Stage]
-+ */
-+createjs.Stage.prototype._updatePointerPosition = function (id, e, pageX, pageY) { }
-// namespace:
-this.createjs = this.createjs||{};
@@ -13638,167 +13384,325 @@ index 9cb6625..f3d912d 100644
- target.dispatchEvent(evt);
- };
-
--
-- createjs.Stage = createjs.promote(Stage, "Container");
--}());
-diff --git a/createjs/target/downloads/EaselJS-0.8.0/src/easeljs/display/Text.js b/createjs/target/downloads/EaselJS-0.8.0/src/easeljs/display/Text.js
-index 52df706..e99a3fa 100644
---- a/createjs/target/downloads/EaselJS-0.8.0/src/easeljs/display/Text.js
-+++ b/createjs/target/downloads/EaselJS-0.8.0/src/easeljs/display/Text.js
-@@ -1,421 +1,127 @@
--/*
--* Text
--* Visit http://createjs.com/ for documentation, updates and examples.
--*
--* Copyright (c) 2010 gskinner.com, inc.
--*
--* Permission is hereby granted, free of charge, to any person
--* obtaining a copy of this software and associated documentation
--* files (the "Software"), to deal in the Software without
--* restriction, including without limitation the rights to use,
--* copy, modify, merge, publish, distribute, sublicense, and/or sell
--* copies of the Software, and to permit persons to whom the
--* Software is furnished to do so, subject to the following
--* conditions:
--*
--* The above copyright notice and this permission notice shall be
--* included in all copies or substantial portions of the Software.
--*
--* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
--* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
--* OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
--* NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
--* HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
--* WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
--* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
--* OTHER DEALINGS IN THE SOFTWARE.
--*/
--
-+/** @fileoverview Auto-generated Externs files
-+ * @externs
+ */
- /**
-- * @module EaselJS
-+ * Display one or more lines of dynamic text (not user editable) in the display list. Line wrapping support (using the
-+ * lineWidth) is very basic, wrapping on spaces and tabs only. Note that as an alternative to Text, you can position HTML
-+ * text above or below the canvas relative to items in the display list using the {{#crossLink "DisplayObject/localToGlobal"}}{{/crossLink}}
-+ * method, or using {{#crossLink "DOMElement"}}{{/crossLink}}.
-+ *
-+ * <b>Please note that Text does not support HTML text, and can only display one font style at a time.</b> To use
-+ * multiple font styles, you will need to create multiple text instances, and position them manually.
-+ *
-+ * <h4>Example</h4>
-+ *
-+ * var text = new createjs.Text("Hello World", "20px Arial", "#ff7700");
-+ * text.x = 100;
-+ * text.textBaseline = "alphabetic";
-+ *
-+ * CreateJS Text supports web fonts (the same rules as Canvas). The font must be loaded and supported by the browser
-+ * before it can be displayed.
-+ *
-+ * <strong>Note:</strong> Text can be expensive to generate, so cache instances where possible. Be aware that not all
-+ * browsers will render Text exactly the same.
-+ *
-+ * @see [Text]
-+ * @param {string=} opt_text The text to display.
-+ * @param {string=} opt_font The font style to use. Any valid value for the CSS font attribute is acceptable (ex. "bold 36px Arial").
-+ * @param {string=} opt_color The color to draw the text in. Any valid value for the CSS color attribute is acceptable (ex. "#F00", "red", or "#FF0000").
-+ * @constructor
-+ * @extends createjs.DisplayObject
- */
-+createjs.Text = function (opt_text, opt_font, opt_color) {}
++createjs.Stage = function (canvas) {}
+
+ /**
-+ * @type {string}
-+ * @see [missing]
++ * Generated doc for missing field JSDoc.
++ *
++ * @see [Stage]
+ */
-+createjs.Text.prototype.text;
++createjs.Stage.prototype.nextStage;
+
+ /**
-+ * @type {string}
-+ * @see [missing]
++ * Each time the update method is called, the stage will call {{#crossLink "Stage/tick"}}{{/crossLink}}
++ * unless {{#crossLink "Stage/tickOnUpdate:property"}}{{/crossLink}} is set to false,
++ * and then render the display list to the canvas.
++ *
++ * @param {Object=} opt_props Props object to pass to `tick()`. Should usually be a {{#crossLink "Ticker"}}{{/crossLink}} event object, or similar object with a delta property.
++ * @see [Stage]
+ */
-+createjs.Text.prototype.textAlign;
++createjs.Stage.prototype.update = function (opt_props) { }
+
+ /**
-+ * @type {string}
-+ * @see [missing]
++ * @param {(number|null)} id
++ * @param {(Event|null)} e
++ * @param {(number|null)} pageX
++ * @param {(number|null)} pageY
++ * @param {(createjs.Stage|null)} owner Indicates that the event has already been captured & handled by the indicated stage.
++ * @see [Stage]
+ */
-+createjs.Text.prototype.textBaseline;
++createjs.Stage.prototype._handlePointerDown = function (id, e, pageX, pageY, owner) { }
++
+
+ /**
-+ * @param {(CanvasRenderingContext2D|null)} ctx
-+ * @see [Text]
-+ * @returns {(CanvasRenderingContext2D|null)}
++ * @param {(boolean|null)} clear If true, clears the mouseover / rollover (ie. no target)
++ * @param {(createjs.Stage|null)} owner Indicates that the event has already been captured & handled by the indicated stage.
++ * @param {(createjs.Stage|null)} eventTarget The stage that the cursor is actively over.
++ * @see [Stage]
+ */
-+createjs.Text.prototype._prepContext = function (ctx) { return null; }
++createjs.Stage.prototype._testMouseOver = function (clear, owner, eventTarget) { }
+
+ /**
-+ * Returns the measured, untransformed width of the text without wrapping. Use getBounds for a more robust value.
++ * Default event handler that calls the Stage {{#crossLink "Stage/update"}}{{/crossLink}} method when a {{#crossLink "DisplayObject/tick:event"}}{{/crossLink}}
++ * event is received. This allows you to register a Stage instance as a event listener on {{#crossLink "Ticker"}}{{/crossLink}}
++ * directly, using:
++ *
++ * Ticker.addEventListener("tick", myStage");
++ *
++ * Note that if you subscribe to ticks using this pattern, then the tick event object will be passed through to
++ * display object tick handlers, instead of <code>delta</code> and <code>paused</code> parameters.
+ *
-+ * @see [Text]
-+ * @returns {(number|null)} The measured, untransformed width of the text.
++ * @see [Stage]
+ */
-+createjs.Text.prototype.getMeasuredWidth = function () { return 0; }
-+
++createjs.Stage.prototype.handleEvent = function (evt) { }
+
+ /**
-+ * @param {(CanvasRenderingContext2D|null)} ctx
-+ * @param {string} text
-+ * @param {(number|null)} y
-+ * @see [Text]
++ * @param {(HTMLElement|null)} e
++ * @see [Stage]
+ */
-+createjs.Text.prototype._drawTextLine = function (ctx, text, y) { }
++createjs.Stage.prototype._getElementRect = function (e) { }
+
+ /**
-+ * Returns an object with width, height, and lines properties. The width and height are the visual width and height
-+ * of the drawn text. The lines property contains an array of strings, one for
-+ * each line of text that will be drawn, accounting for line breaks and wrapping. These strings have trailing
-+ * whitespace removed.
++ * Enables or disables (by passing a frequency of 0) mouse over ({{#crossLink "DisplayObject/mouseover:event"}}{{/crossLink}}
++ * and {{#crossLink "DisplayObject/mouseout:event"}}{{/crossLink}}) and roll over events ({{#crossLink "DisplayObject/rollover:event"}}{{/crossLink}}
++ * and {{#crossLink "DisplayObject/rollout:event"}}{{/crossLink}}) for this stage's display list. These events can
++ * be expensive to generate, so they are disabled by default. The frequency of the events can be controlled
++ * independently of mouse move events via the optional `frequency` parameter.
++ *
++ * <h4>Example</h4>
++ *
++ * var stage = new createjs.Stage("canvasId");
++ * stage.enableMouseOver(10); // 10 updates per second
+ *
-+ * @see [Text]
-+ * @returns {(Object|null)} An object with width, height, and lines properties.
++ * @param {number=} opt_frequency Optional param specifying the maximum number of times per second to broadcast mouse over/out events. Set to 0 to disable mouse over events completely. Maximum is 50. A lower frequency is less responsive, but uses less CPU.
++ * @see [Stage]
+ */
-+createjs.Text.prototype.getMetrics = function () { return null; }
++createjs.Stage.prototype.enableMouseOver = function (opt_frequency) { }
+
+ /**
-+ * Returns an approximate line height of the text, ignoring the lineHeight property. This is based on the measured
-+ * width of a "M" character multiplied by 1.2, which provides an approximate line height for most fonts.
++ * Returns a data url that contains a Base64-encoded image of the contents of the stage. The returned data url can
++ * be specified as the src value of an image element.
+ *
-+ * @see [Text]
-+ * @returns {(number|null)} an approximate line height of the text, ignoring the lineHeight property. This is based on the measured width of a "M" character multiplied by 1.2, which approximates em for most fonts.
++ * @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} a Base64 encoded image.
+ */
-+createjs.Text.prototype.getMeasuredLineHeight = function () { return 0; }
++createjs.Stage.prototype.toDataURL = function (opt_backgroundColor, opt_mimeType) { return ''; }
+
+ /**
-+ * Draws multiline text.
++ * Enables or disables the event listeners that stage adds to DOM elements (window, document and canvas). It is good
++ * practice to disable events when disposing of a Stage instance, otherwise the stage will continue to receive
++ * events from the page.
++ *
++ * When changing the canvas property you must disable the events on the old canvas, and enable events on the
++ * new canvas or mouse events will not work as expected. For example:
++ *
++ * mycreatejs.Stage.enableDOMEvents(false);
++ * mycreatejs.Stage.canvas = anotherCanvas;
++ * mycreatejs.Stage.enableDOMEvents(true);
+ *
-+ * @param {(CanvasRenderingContext2D|null)} ctx
++ * @param {boolean=} opt_enable Indicates whether to enable or disable the events. Default is true.
++ * @see [Stage]
++ */
++createjs.Stage.prototype.enableDOMEvents = function (opt_enable) { }
++
++ /**
++ * @param {(createjs.DisplayObject|null)} target
++ * @param {string} type
++ * @param {(boolean|null)} bubbles
++ * @param {(number|null)} pointerId
+ * @param {(Object|null)} o
-+ * @param {(Array|null)} lines
-+ * @see [Text]
-+ * @returns {(Object|null)}
++ * @param {MouseEvent=} opt_nativeEvent
++ * @see [Stage]
+ */
-+createjs.Text.prototype._drawText = function (ctx, o, lines) { return null; }
++createjs.Stage.prototype._dispatchMouseEvent = function (target, type, bubbles, pointerId, o, opt_nativeEvent) { }
+
++ /**
++ * Specifies a target stage that will have mouse / touch interactions relayed to it after this stage handles them.
++ * This can be useful in cases where you have multiple layered canvases and want user interactions
++ * events to pass through. For example, this would relay mouse events from topStage to bottomStage:
++ *
++ * topcreatejs.Stage.nextStage = bottomStage;
++ *
++ * To disable relaying, set nextStage to null.
++ *
++ * MouseOver, MouseOut, RollOver, and RollOut interactions are also passed through using the mouse over settings
++ * of the top-most stage, but are only processed if the target stage has mouse over interactions enabled.
++ * Considerations when using roll over in relay targets:<OL>
++ * <LI> The top-most (first) stage must have mouse over interactions enabled (via enableMouseOver)</LI>
++ * <LI> All stages that wish to participate in mouse over interaction must enable them via enableMouseOver</LI>
++ * <LI> All relay targets will share the frequency value of the top-most stage</LI>
++ * </OL>
++ * To illustrate, in this example the targetStage would process mouse over interactions at 10hz (despite passing
++ * 30 as it's desired frequency):
++ * topcreatejs.Stage.nextStage = targetStage;
++ * topcreatejs.Stage.enableMouseOver(10);
++ * targetcreatejs.Stage.enableMouseOver(30);
++ *
++ * If the target stage's canvas is completely covered by this stage's canvas, you may also want to disable its
++ * DOM events using:
++ *
++ * targetcreatejs.Stage.enableDOMEvents(false);
++ *
++ * @see [Stage]
++ */
++createjs.Stage.prototype._get_nextStage = function () { }
+
++ /**
++ * @param {(MouseEvent|null)} e
++ * @param {(createjs.Stage|null)} owner Indicates that the event has already been captured & handled by the indicated stage.
++ * @see [Stage]
++ */
++createjs.Stage.prototype._handleDoubleClick = function (e, owner) { }
+
++ /**
++ * Clears the target canvas. Useful if {{#crossLink "Stage/autoClear:property"}}{{/crossLink}} is set to `false`.
++ *
++ * @see [Stage]
++ */
++createjs.Stage.prototype.clear = function () { }
+
+ /**
-+ * @param {string} text
-+ * @see [Text]
++ * Propagates a tick event through the display list. This is automatically called by {{#crossLink "Stage/update"}}{{/crossLink}}
++ * unless {{#crossLink "Stage/tickOnUpdate:property"}}{{/crossLink}} is set to false.
++ *
++ * If a props object is passed to `tick()`, then all of its properties will be copied to the event object that is
++ * propagated to listeners.
++ *
++ * Some time-based features in EaselJS (for example {{#crossLink "Sprite/framerate"}}{{/crossLink}} require that
++ * a {{#crossLink "Ticker/tick:event"}}{{/crossLink}} event object (or equivalent object with a delta property) be
++ * passed as the `props` parameter to `tick()`. For example:
++ *
++ * Ticker.on("tick", handleTick);
++ * function handleTick(evtObj) {
++ * // clone the event object from Ticker, and add some custom data to it:
++ * var evt = evtObj.clone().set({greeting:"hello", name:"world"});
++ *
++ * // pass it to stage.update():
++ * mycreatejs.Stage.update(evt); // subsequently calls tick() with the same param
++ * }
++ *
++ * // ...
++ * myDisplayObject.on("tick", handleDisplayObjectTick);
++ * function handleDisplayObjectTick(evt) {
++ * console.log(evt.delta); // the delta property from the Ticker tick event object
++ * console.log(evt.greeting, evt.name); // custom data: "hello world"
++ * }
++ *
++ * @param {Object=} opt_props An object with properties that should be copied to the event object. Should usually be a Ticker event object, or similar object with a delta property.
++ * @see [Stage]
+ */
-+createjs.Text.prototype._getMeasuredWidth = function (text) { }
++createjs.Stage.prototype.tick = function (opt_props) { }
+
+ /**
-+ * Returns the approximate height of multi-line text by multiplying the number of lines against either the
-+ * <code>lineHeight</code> (if specified) or {{#crossLink "Text/getMeasuredLineHeight"}}{{/crossLink}}. Note that
-+ * this operation requires the text flowing logic to run, which has an associated CPU cost.
++ * @param {(MouseEvent|null)} e
++ * @see [Stage]
++ */
++createjs.Stage.prototype._handleMouseUp = function (e) { }
++
++ /**
++ * @param {(MouseEvent|null)} e
++ * @see [Stage]
++ */
++createjs.Stage.prototype._handleMouseMove = function (e) { }
++
++ /**
++ * @param {(number|null)} id
++ * @param {(Event|null)} e
++ * @param {(number|null)} pageX
++ * @param {(number|null)} pageY
++ * @param {(createjs.Stage|null)} owner Indicates that the event has already been captured & handled by the indicated stage.
++ * @see [Stage]
++ */
++createjs.Stage.prototype._handlePointerMove = function (id, e, pageX, pageY, owner) { }
++
++ /**
++ * @param {(number|null)} id
++ * @param {(Event|null)} e
++ * @param {(boolean|null)} clear
++ * @param {(createjs.Stage|null)} owner Indicates that the event has already been captured & handled by the indicated stage.
++ * @see [Stage]
++ */
++createjs.Stage.prototype._handlePointerUp = function (id, e, clear, owner) { }
++
++
++ /**
++ * @param {(number|null)} id
++ * @see [Stage]
++ */
++createjs.Stage.prototype._getPointerData = function (id) { }
++
++ /**
++ * Generated doc for missing method JSDoc.
+ *
-+ * @see [Text]
-+ * @returns {(number|null)} The approximate height of the untransformed multi-line text.
++ * @see [Stage]
+ */
-+createjs.Text.prototype.getMeasuredHeight = function () { return 0; }
++createjs.Stage.prototype._set_nextStage = function (value) { }
++
++ /**
++ * @param {(MouseEvent|null)} e
++ * @see [Stage]
++ */
++createjs.Stage.prototype._handleMouseDown = function (e) { }
++
++ /**
++ * @param {(number|null)} id
++ * @param {(Event|null)} e
++ * @param {(number|null)} pageX
++ * @param {(number|null)} pageY
++ * @see [Stage]
++ */
++createjs.Stage.prototype._updatePointerPosition = function (id, e, pageX, pageY) { }
+
+- createjs.Stage = createjs.promote(Stage, "Container");
+-}());
+diff --git a/createjs/target/downloads/EaselJS-0.8.0/src/easeljs/display/Text.js b/createjs/target/downloads/EaselJS-0.8.0/src/easeljs/display/Text.js
+index 52df706..7804274 100644
+--- a/createjs/target/downloads/EaselJS-0.8.0/src/easeljs/display/Text.js
++++ b/createjs/target/downloads/EaselJS-0.8.0/src/easeljs/display/Text.js
+@@ -1,421 +1,128 @@
+-/*
+-* Text
+-* Visit http://createjs.com/ for documentation, updates and examples.
+-*
+-* Copyright (c) 2010 gskinner.com, inc.
+-*
+-* Permission is hereby granted, free of charge, to any person
+-* obtaining a copy of this software and associated documentation
+-* files (the "Software"), to deal in the Software without
+-* restriction, including without limitation the rights to use,
+-* copy, modify, merge, publish, distribute, sublicense, and/or sell
+-* copies of the Software, and to permit persons to whom the
+-* Software is furnished to do so, subject to the following
+-* conditions:
+-*
+-* The above copyright notice and this permission notice shall be
+-* included in all copies or substantial portions of the Software.
+-*
+-* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+-* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
+-* OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+-* NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
+-* HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
+-* WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+-* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
+-* OTHER DEALINGS IN THE SOFTWARE.
+-*/
+-
+-/**
+- * @module EaselJS
++/** @fileoverview Auto-generated Externs files
++ * @externs
+ */
++/**
++ * Display one or more lines of dynamic text (not user editable) in the display list. Line wrapping support (using the
++ * lineWidth) is very basic, wrapping on spaces and tabs only. Note that as an alternative to Text, you can position HTML
++ * text above or below the canvas relative to items in the display list using the {{#crossLink "DisplayObject/localToGlobal"}}{{/crossLink}}
++ * method, or using {{#crossLink "DOMElement"}}{{/crossLink}}.
++ *
++ * <b>Please note that Text does not support HTML text, and can only display one font style at a time.</b> To use
++ * multiple font styles, you will need to create multiple text instances, and position them manually.
++ *
++ * <h4>Example</h4>
++ *
++ * var text = new createjs.Text("Hello World", "20px Arial", "#ff7700");
++ * text.x = 100;
++ * text.textBaseline = "alphabetic";
++ *
++ * CreateJS Text supports web fonts (the same rules as Canvas). The font must be loaded and supported by the browser
++ * before it can be displayed.
++ *
++ * <strong>Note:</strong> Text can be expensive to generate, so cache instances where possible. Be aware that not all
++ * browsers will render Text exactly the same.
++ *
++ * @see [Text]
++ * @param {string=} opt_text The text to display.
++ * @param {string=} opt_font The font style to use. Any valid value for the CSS font attribute is acceptable (ex. "bold 36px Arial").
++ * @param {string=} opt_color The color to draw the text in. Any valid value for the CSS color attribute is acceptable (ex. "#F00", "red", or "#FF0000").
++ * @constructor
++ * @extends createjs.DisplayObject
-// namespace:
-this.createjs = this.createjs||{};
@@ -14158,7 +14062,101 @@ index 52df706..e99a3fa 100644
- if (!paint) { ctx.restore(); }
- return o;
- };
--
++ */
++createjs.Text = function (opt_text, opt_font, opt_color) {}
++
++ /**
++ * @type {string}
++ * @see [missing]
++ */
++createjs.Text.prototype.text;
++
++ /**
++ * @type {string}
++ * @see [missing]
++ */
++createjs.Text.prototype.textAlign;
++
++ /**
++ * @type {string}
++ * @see [missing]
++ */
++createjs.Text.prototype.textBaseline;
++
++ /**
++ * @param {(CanvasRenderingContext2D|null)} ctx
++ * @see [Text]
++ * @returns {(CanvasRenderingContext2D|null)}
++ */
++createjs.Text.prototype._prepContext = function (ctx) { return null; }
++
++ /**
++ * Returns the measured, untransformed width of the text without wrapping. Use getBounds for a more robust value.
++ *
++ * @see [Text]
++ * @returns {(number|null)} The measured, untransformed width of the text.
++ */
++createjs.Text.prototype.getMeasuredWidth = function () { return 0; }
++
++
++ /**
++ * @param {(CanvasRenderingContext2D|null)} ctx
++ * @param {string} text
++ * @param {(number|null)} y
++ * @see [Text]
++ */
++createjs.Text.prototype._drawTextLine = function (ctx, text, y) { }
++
++ /**
++ * Returns an object with width, height, and lines properties. The width and height are the visual width and height
++ * of the drawn text. The lines property contains an array of strings, one for
++ * each line of text that will be drawn, accounting for line breaks and wrapping. These strings have trailing
++ * whitespace removed.
++ *
++ * @see [Text]
++ * @returns {(Object|null)} An object with width, height, and lines properties.
++ */
++createjs.Text.prototype.getMetrics = function () { return null; }
++
++ /**
++ * Returns an approximate line height of the text, ignoring the lineHeight property. This is based on the measured
++ * width of a "M" character multiplied by 1.2, which provides an approximate line height for most fonts.
++ *
++ * @see [Text]
++ * @returns {(number|null)} an approximate line height of the text, ignoring the lineHeight property. This is based on the measured width of a "M" character multiplied by 1.2, which approximates em for most fonts.
++ */
++createjs.Text.prototype.getMeasuredLineHeight = function () { return 0; }
++
++ /**
++ * Draws multiline text.
++ *
++ * @param {(CanvasRenderingContext2D|null)} ctx
++ * @param {(Object|null)} o
++ * @param {(Array|null)} lines
++ * @see [Text]
++ * @returns {(Object|null)}
++ */
++createjs.Text.prototype._drawText = function (ctx, o, lines) { return null; }
++
++
++
++
++ /**
++ * @param {string} text
++ * @see [Text]
++ */
++createjs.Text.prototype._getMeasuredWidth = function (text) { }
++
++ /**
++ * Returns the approximate height of multi-line text by multiplying the number of lines against either the
++ * <code>lineHeight</code> (if specified) or {{#crossLink "Text/getMeasuredLineHeight"}}{{/crossLink}}. Note that
++ * this operation requires the text flowing logic to run, which has an associated CPU cost.
++ *
++ * @see [Text]
++ * @returns {(number|null)} The approximate height of the untransformed multi-line text.
++ */
++createjs.Text.prototype.getMeasuredHeight = function () { return 0; }
+
- /**
- * @method _drawTextLine
- * @param {CanvasRenderingContext2D} ctx
@@ -14190,10 +14188,10 @@ index 52df706..e99a3fa 100644
- createjs.Text = createjs.promote(Text, "DisplayObject");
-}());
diff --git a/createjs/target/downloads/EaselJS-0.8.0/src/easeljs/events/MouseEvent.js b/createjs/target/downloads/EaselJS-0.8.0/src/easeljs/events/MouseEvent.js
-index 2b4e1b3..098a753 100644
+index 2b4e1b3..805cb7d 100644
--- a/createjs/target/downloads/EaselJS-0.8.0/src/easeljs/events/MouseEvent.js
+++ b/createjs/target/downloads/EaselJS-0.8.0/src/easeljs/events/MouseEvent.js
-@@ -1,187 +1,46 @@
+@@ -1,187 +1,47 @@
-/*
-* MouseEvent
-* Visit http://createjs.com/ for documentation, updates and examples.
@@ -14222,11 +14220,12 @@ index 2b4e1b3..098a753 100644
-* OTHER DEALINGS IN THE SOFTWARE.
-*/
-
+-/**
+- * @module EaselJS
+/** @fileoverview Auto-generated Externs files
+ * @externs
-+ */
- /**
-- * @module EaselJS
+ */
++/**
+ * Passed as the parameter to all mouse/pointer/touch related events. For a listing of mouse events and their properties,
+ * see the {{#crossLink "DisplayObject"}}{{/crossLink}} and {{#crossLink "Stage"}}{{/crossLink}} event listings.
+ *
@@ -14243,8 +14242,6 @@ index 2b4e1b3..098a753 100644
+ * @param {(number|null)} rawY The raw y position relative to the stage.
+ * @constructor
+ * @extends createjs.Event
- */
-+createjs.MouseEvent = function (type, bubbles, cancelable, stageX, stageY, nativeEvent, pointerID, primary, rawX, rawY) {}
-// namespace:
-this.createjs = this.createjs||{};
@@ -14333,7 +14330,9 @@ index 2b4e1b3..098a753 100644
- this.primary = !!primary;
- }
- var p = createjs.extend(MouseEvent, createjs.Event);
--
++ */
++createjs.MouseEvent = function (type, bubbles, cancelable, stageX, stageY, nativeEvent, pointerID, primary, rawX, rawY) {}
+
- // TODO: deprecated
- // p.initialize = function() {}; // searchable for devs wondering where it is. REMOVED. See docs for details.
-
@@ -14420,10 +14419,10 @@ index 2b4e1b3..098a753 100644
- createjs.MouseEvent = createjs.promote(MouseEvent, "Event");
-}());
diff --git a/createjs/target/downloads/EaselJS-0.8.0/src/easeljs/filters/AlphaMapFilter.js b/createjs/target/downloads/EaselJS-0.8.0/src/easeljs/filters/AlphaMapFilter.js
-index a37a7bf..61906e6 100644
+index a37a7bf..ed645c9 100644
--- a/createjs/target/downloads/EaselJS-0.8.0/src/easeljs/filters/AlphaMapFilter.js
+++ b/createjs/target/downloads/EaselJS-0.8.0/src/easeljs/filters/AlphaMapFilter.js
-@@ -1,168 +1,42 @@
+@@ -1,168 +1,43 @@
-/*
- * AlphaMapFilter
- * Visit http://createjs.com/ for documentation, updates and examples.
@@ -14456,36 +14455,8 @@ index a37a7bf..61906e6 100644
-
/**
- * @module EaselJS
-+ * Applies a greyscale alpha map image (or canvas) to the target, such that the alpha channel of the result will
-+ * be copied from the red channel of the map, and the RGB channels will be copied from the target.
-+ *
-+ * Generally, it is recommended that you use {{#crossLink "AlphaMaskFilter"}}{{/crossLink}}, because it has much
-+ * better performance.
-+ *
-+ * <h4>Example</h4>
-+ * This example draws a red->blue box, caches it, and then uses the cache canvas as an alpha map on a 100x100 image.
-+ *
-+ * var box = new createjs.Shape();
-+ * box.graphics.beginLinearGradientFill(["#ff0000", "#0000ff"], [0, 1], 0, 0, 0, 100)
-+ * box.graphics.drawRect(0, 0, 100, 100);
-+ * box.cache(0, 0, 100, 100);
-+ *
-+ * var bmp = new createjs.Bitmap("path/to/image.jpg");
-+ * bmp.filters = [
-+ * new createjs.AlphaMapFilter(box.cacheCanvas)
-+ * ];
-+ * bmp.cache(0, 0, 100, 100);
-+ * stage.addChild(bmp);
-+ *
-+ * See {{#crossLink "Filter"}}{{/crossLink}} for more information on applying filters.
-+ *
-+ * @see [AlphaMapFilter]
-+ * @param {(HTMLCanvasElement|Image|null)} alphaMap The greyscale image (or canvas) to use as the alpha value for the result. This should be exactly the same dimensions as the target.
-+ * @constructor
-+ * @extends createjs.Filter
- */
-+createjs.AlphaMapFilter = function (alphaMap) {}
-
+- */
+-
-// namespace:
-this.createjs = this.createjs || {};
-
@@ -14571,7 +14542,34 @@ index a37a7bf..61906e6 100644
- return "[AlphaMapFilter]";
- };
-
--
++ * Applies a greyscale alpha map image (or canvas) to the target, such that the alpha channel of the result will
++ * be copied from the red channel of the map, and the RGB channels will be copied from the target.
++ *
++ * Generally, it is recommended that you use {{#crossLink "AlphaMaskFilter"}}{{/crossLink}}, because it has much
++ * better performance.
++ *
++ * <h4>Example</h4>
++ * This example draws a red->blue box, caches it, and then uses the cache canvas as an alpha map on a 100x100 image.
++ *
++ * var box = new createjs.Shape();
++ * box.graphics.beginLinearGradientFill(["#ff0000", "#0000ff"], [0, 1], 0, 0, 0, 100)
++ * box.graphics.drawRect(0, 0, 100, 100);
++ * box.cache(0, 0, 100, 100);
++ *
++ * var bmp = new createjs.Bitmap("path/to/image.jpg");
++ * bmp.filters = [
++ * new createjs.AlphaMapFilter(box.cacheCanvas)
++ * ];
++ * bmp.cache(0, 0, 100, 100);
++ * stage.addChild(bmp);
++ *
++ * See {{#crossLink "Filter"}}{{/crossLink}} for more information on applying filters.
++ *
++ * @see [AlphaMapFilter]
++ * @param {(HTMLCanvasElement|Image|null)} alphaMap The greyscale image (or canvas) to use as the alpha value for the result. This should be exactly the same dimensions as the target.
++ * @constructor
++ * @extends createjs.Filter
+
-// private methods:
- /** docced in super class **/
- p._applyFilter = function (imageData) {
@@ -14585,7 +14583,9 @@ index a37a7bf..61906e6 100644
-
- return true;
- };
--
++ */
++createjs.AlphaMapFilter = function (alphaMap) {}
+
- /**
- * @method _prepAlphaMap
- * @protected
@@ -14627,10 +14627,10 @@ index a37a7bf..61906e6 100644
- createjs.AlphaMapFilter = createjs.promote(AlphaMapFilter, "Filter");
-}());
diff --git a/createjs/target/downloads/EaselJS-0.8.0/src/easeljs/filters/AlphaMaskFilter.js b/createjs/target/downloads/EaselJS-0.8.0/src/easeljs/filters/AlphaMaskFilter.js
-index d3ee792..e5ba9f8 100644
+index d3ee792..4a2c462 100644
--- a/createjs/target/downloads/EaselJS-0.8.0/src/easeljs/filters/AlphaMaskFilter.js
+++ b/createjs/target/downloads/EaselJS-0.8.0/src/easeljs/filters/AlphaMaskFilter.js
-@@ -1,134 +1,37 @@
+@@ -1,134 +1,38 @@
-/*
- * AlphaMaskFilter
- * Visit http://createjs.com/ for documentation, updates and examples.
@@ -14663,36 +14663,8 @@ index d3ee792..e5ba9f8 100644
-
/**
- * @module EaselJS
-+ * Applies the alpha from the mask image (or canvas) to the target, such that the alpha channel of the result will
-+ * be derived from the mask, and the RGB channels will be copied from the target. This can be used, for example, to
-+ * apply an alpha mask to a display object. This can also be used to combine a JPG compressed RGB image with a PNG32
-+ * alpha mask, which can result in a much smaller file size than a single PNG32 containing ARGB.
-+ *
-+ * <b>IMPORTANT NOTE: This filter currently does not support the targetCtx, or targetX/Y parameters correctly.</b>
-+ *
-+ * <h4>Example</h4>
-+ * This example draws a gradient box, then caches it and uses the "cacheCanvas" as the alpha mask on a 100x100 image.
-+ *
-+ * var box = new createjs.Shape();
-+ * box.graphics.beginLinearGradientFill(["#000000", "rgba(0, 0, 0, 0)"], [0, 1], 0, 0, 100, 100)
-+ * box.graphics.drawRect(0, 0, 100, 100);
-+ * box.cache(0, 0, 100, 100);
-+ *
-+ * var bmp = new createjs.Bitmap("path/to/image.jpg");
-+ * bmp.filters = [
-+ * new createjs.AlphaMaskFilter(box.cacheCanvas)
-+ * ];
-+ * bmp.cache(0, 0, 100, 100);
-+ *
-+ * See {{#crossLink "Filter"}}{{/crossLink}} for more information on applying filters.
-+ *
-+ * @see [AlphaMaskFilter]
-+ * @param {(Image|null)} mask
-+ * @constructor
-+ * @extends createjs.Filter
- */
-+createjs.AlphaMaskFilter = function (mask) {}
-
+- */
+-
-// namespace:
-this.createjs = this.createjs || {};
-
@@ -14775,13 +14747,42 @@ index d3ee792..e5ba9f8 100644
- // clearRect, then draw the ctx in?
- return false;
- }
--
++ * Applies the alpha from the mask image (or canvas) to the target, such that the alpha channel of the result will
++ * be derived from the mask, and the RGB channels will be copied from the target. This can be used, for example, to
++ * apply an alpha mask to a display object. This can also be used to combine a JPG compressed RGB image with a PNG32
++ * alpha mask, which can result in a much smaller file size than a single PNG32 containing ARGB.
++ *
++ * <b>IMPORTANT NOTE: This filter currently does not support the targetCtx, or targetX/Y parameters correctly.</b>
++ *
++ * <h4>Example</h4>
++ * This example draws a gradient box, then caches it and uses the "cacheCanvas" as the alpha mask on a 100x100 image.
++ *
++ * var box = new createjs.Shape();
++ * box.graphics.beginLinearGradientFill(["#000000", "rgba(0, 0, 0, 0)"], [0, 1], 0, 0, 100, 100)
++ * box.graphics.drawRect(0, 0, 100, 100);
++ * box.cache(0, 0, 100, 100);
++ *
++ * var bmp = new createjs.Bitmap("path/to/image.jpg");
++ * bmp.filters = [
++ * new createjs.AlphaMaskFilter(box.cacheCanvas)
++ * ];
++ * bmp.cache(0, 0, 100, 100);
++ *
++ * See {{#crossLink "Filter"}}{{/crossLink}} for more information on applying filters.
++ *
++ * @see [AlphaMaskFilter]
++ * @param {(Image|null)} mask
++ * @constructor
++ * @extends createjs.Filter
+
- targetCtx.globalCompositeOperation = "destination-in";
- targetCtx.drawImage(this.mask, targetX, targetY);
- targetCtx.restore();
- return true;
- };
--
++ */
++createjs.AlphaMaskFilter = function (mask) {}
+
- /** docced in super class **/
- p.clone = function () {
- return new AlphaMaskFilter(this.mask);
@@ -14796,47 +14797,35 @@ index d3ee792..e5ba9f8 100644
- createjs.AlphaMaskFilter = createjs.promote(AlphaMaskFilter, "Filter");
-}());
diff --git a/createjs/target/downloads/EaselJS-0.8.0/src/easeljs/filters/BlurFilter.js b/createjs/target/downloads/EaselJS-0.8.0/src/easeljs/filters/BlurFilter.js
-index d6f63ff..ee7e3fa 100644
+index d6f63ff..d77376f 100644
--- a/createjs/target/downloads/EaselJS-0.8.0/src/easeljs/filters/BlurFilter.js
+++ b/createjs/target/downloads/EaselJS-0.8.0/src/easeljs/filters/BlurFilter.js
-@@ -1,354 +1,35 @@
+@@ -1,354 +1,36 @@
-/*
- * BlurFilter
- * Visit http://createjs.com/ for documentation, updates and examples.
- *
- * Copyright (c) 2010 gskinner.com, inc.
-- *
++/** @fileoverview Auto-generated Externs files
++ * @externs
++ */
++/**
++ * Applies a box blur to DisplayObjects. Note that this filter is fairly CPU intensive, particularly if the quality is
++ * set higher than 1.
+ *
- * BoxBlur Algorithm by Mario Klingemann, quasimondo.com
- *
- * Permission is hereby granted, free of charge, to any person
- * obtaining a copy of this software and associated documentation
- * files (the "Software"), to deal in the Software without
- * restriction, including without limitation the rights to use,
-- * copy, modify, merge, publish, distribute, sublicense, and/or sell
-- * copies of the Software, and to permit persons to whom the
-- * Software is furnished to do so, subject to the following
-- * conditions:
-- *
-- * The above copyright notice and this permission notice shall be
-- * included in all copies or substantial portions of the Software.
-- *
-- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-- * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
-- * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-- * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
-- * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
-- * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
-- * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
-- * OTHER DEALINGS IN THE SOFTWARE.
-+/** @fileoverview Auto-generated Externs files
-+ * @externs
- */
--
- /**
-- * @module EaselJS
-+ * Applies a box blur to DisplayObjects. Note that this filter is fairly CPU intensive, particularly if the quality is
-+ * set higher than 1.
-+ *
+- * copy, modify, merge, publish, distribute, sublicense
<TRUNCATED>
[17/36] flex-typedefs git commit: add one more extern
Posted by ah...@apache.org.
add one more extern
Project: http://git-wip-us.apache.org/repos/asf/flex-typedefs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-typedefs/commit/ae426841
Tree: http://git-wip-us.apache.org/repos/asf/flex-typedefs/tree/ae426841
Diff: http://git-wip-us.apache.org/repos/asf/flex-typedefs/diff/ae426841
Branch: refs/heads/master
Commit: ae4268418eedd71b66a317c9a6e47d2544e8653b
Parents: 94b2fdd
Author: Alex Harui <ah...@apache.org>
Authored: Sat Dec 17 07:00:26 2016 -0800
Committer: Alex Harui <ah...@apache.org>
Committed: Sat Dec 17 07:00:26 2016 -0800
----------------------------------------------------------------------
js/pom.xml | 1 +
1 file changed, 1 insertion(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-typedefs/blob/ae426841/js/pom.xml
----------------------------------------------------------------------
diff --git a/js/pom.xml b/js/pom.xml
index cca27be..e4c878a 100644
--- a/js/pom.xml
+++ b/js/pom.xml
@@ -144,6 +144,7 @@
<include>browser/html5.js</include>
<include>browser/webgl.js</include>
<include>browser/webstorage.js</include>
+ <include>browser/whatwg_encoding.js</include>
</includes>
<excludes>
<exclude>es6_collections.js</exclude>
[27/36] flex-typedefs git commit: I think the rebase/merge messed up
Posted by ah...@apache.org.
I think the rebase/merge messed up
Project: http://git-wip-us.apache.org/repos/asf/flex-typedefs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-typedefs/commit/59b73334
Tree: http://git-wip-us.apache.org/repos/asf/flex-typedefs/tree/59b73334
Diff: http://git-wip-us.apache.org/repos/asf/flex-typedefs/diff/59b73334
Branch: refs/heads/master
Commit: 59b73334651de27d60a9fa43c8de062bfb8f571e
Parents: fb2509b
Author: Alex Harui <ah...@apache.org>
Authored: Thu Apr 20 19:23:10 2017 -0700
Committer: Alex Harui <ah...@apache.org>
Committed: Thu Apr 20 19:23:10 2017 -0700
----------------------------------------------------------------------
js/src/main/javascript/missing.js | 11 -----------
1 file changed, 11 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-typedefs/blob/59b73334/js/src/main/javascript/missing.js
----------------------------------------------------------------------
diff --git a/js/src/main/javascript/missing.js b/js/src/main/javascript/missing.js
index 23d7c68..fb467c7 100644
--- a/js/src/main/javascript/missing.js
+++ b/js/src/main/javascript/missing.js
@@ -265,17 +265,6 @@ uint.MIN_VALUE;
/**
-8 @type {!Object}
-* @const
-*/
-var dialogPolyfill;;
-
-/**
-* @param {!Element} element to upgrade, if necessary
-*/
-dialogPolyfill.registerDialog = function(element) {};
-
-/**
* Many top-level classes will need a toString() defined.
* Object.toString() is excluded by the ExternC compiler
* so int.toString(radix) doesn't return an illegal override
[07/36] flex-typedefs git commit: fix artifact name
Posted by ah...@apache.org.
fix artifact name
Project: http://git-wip-us.apache.org/repos/asf/flex-typedefs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-typedefs/commit/0a40d0d7
Tree: http://git-wip-us.apache.org/repos/asf/flex-typedefs/tree/0a40d0d7
Diff: http://git-wip-us.apache.org/repos/asf/flex-typedefs/diff/0a40d0d7
Branch: refs/heads/master
Commit: 0a40d0d751569ae32281627039065cba92d71d82
Parents: e760934
Author: Alex Harui <ah...@apache.org>
Authored: Sat Nov 5 23:43:04 2016 -0700
Committer: Alex Harui <ah...@apache.org>
Committed: Sat Nov 5 23:43:04 2016 -0700
----------------------------------------------------------------------
google_maps/pom.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-typedefs/blob/0a40d0d7/google_maps/pom.xml
----------------------------------------------------------------------
diff --git a/google_maps/pom.xml b/google_maps/pom.xml
index e1afa27..da87f6b 100644
--- a/google_maps/pom.xml
+++ b/google_maps/pom.xml
@@ -26,7 +26,7 @@
<version>0.8.0-SNAPSHOT</version>
</parent>
- <artifactId>flexjs-typedefs-goolemaps</artifactId>
+ <artifactId>flexjs-typedefs-googlemaps</artifactId>
<version>0.8.0-SNAPSHOT</version>
<packaging>swc</packaging>
[18/36] flex-typedefs git commit: one more fix for DropDown remove
Posted by ah...@apache.org.
one more fix for DropDown remove
Project: http://git-wip-us.apache.org/repos/asf/flex-typedefs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-typedefs/commit/1b46e409
Tree: http://git-wip-us.apache.org/repos/asf/flex-typedefs/tree/1b46e409
Diff: http://git-wip-us.apache.org/repos/asf/flex-typedefs/diff/1b46e409
Branch: refs/heads/master
Commit: 1b46e40975b27b1a9cd122e26f9e2f7b42d6c127
Parents: ae42684
Author: Alex Harui <ah...@apache.org>
Authored: Sat Dec 17 07:20:56 2016 -0800
Committer: Alex Harui <ah...@apache.org>
Committed: Sat Dec 17 07:20:56 2016 -0800
----------------------------------------------------------------------
js/pom.xml | 1 +
1 file changed, 1 insertion(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-typedefs/blob/1b46e409/js/pom.xml
----------------------------------------------------------------------
diff --git a/js/pom.xml b/js/pom.xml
index e4c878a..07b1d7a 100644
--- a/js/pom.xml
+++ b/js/pom.xml
@@ -148,6 +148,7 @@
</includes>
<excludes>
<exclude>es6_collections.js</exclude>
+ <exclude>browser/w3c_dom4.js</exclude>
<exclude>browser/w3c_serviceworker.js</exclude>
<exclude>browser/w3c_webcrypto.js</exclude>
<exclude>browser/gecko_css.js</exclude>
[26/36] flex-typedefs git commit: add Error.prototype.toString().
Other classes may need a toString() as well
Posted by ah...@apache.org.
add Error.prototype.toString(). Other classes may need a toString() as well
Project: http://git-wip-us.apache.org/repos/asf/flex-typedefs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-typedefs/commit/fb2509b3
Tree: http://git-wip-us.apache.org/repos/asf/flex-typedefs/tree/fb2509b3
Diff: http://git-wip-us.apache.org/repos/asf/flex-typedefs/diff/fb2509b3
Branch: refs/heads/master
Commit: fb2509b33d32ff568f637d36842dff2351afee79
Parents: ede60db
Author: Alex Harui <ah...@apache.org>
Authored: Thu Apr 20 17:13:13 2017 -0700
Committer: Alex Harui <ah...@apache.org>
Committed: Thu Apr 20 17:13:47 2017 -0700
----------------------------------------------------------------------
js/src/main/config/externc-config.xml | 8 ++++++++
js/src/main/javascript/missing.js | 22 ++++++++++++++++++++++
2 files changed, 30 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-typedefs/blob/fb2509b3/js/src/main/config/externc-config.xml
----------------------------------------------------------------------
diff --git a/js/src/main/config/externc-config.xml b/js/src/main/config/externc-config.xml
index f3b3794..5935881 100644
--- a/js/src/main/config/externc-config.xml
+++ b/js/src/main/config/externc-config.xml
@@ -135,8 +135,12 @@
<class-exclude>
<class>controlRange</class>
+ <class>ITemplateArray</class>
</class-exclude>
+ <!-- Object.toString() is excluded by the ExternC compiler. Otherwise
+ int.toString(radix) becomes an illegal override. Other classes
+ need to have their toString() supplied by missing.js -->
<exclude>
<class>Array</class>
<name>toSource</name>
@@ -149,6 +153,10 @@
<class>String</class>
<name>valueOf</name>
</exclude>
+ <exclude>
+ <class>String</class>
+ <name>raw</name>
+ </exclude>
<!-- SVG -->
<exclude><class>SVGStylable</class><name>className</name></exclude>
<exclude><class>SVGStylable</class><name>style</name></exclude>
http://git-wip-us.apache.org/repos/asf/flex-typedefs/blob/fb2509b3/js/src/main/javascript/missing.js
----------------------------------------------------------------------
diff --git a/js/src/main/javascript/missing.js b/js/src/main/javascript/missing.js
index 93dc092..23d7c68 100644
--- a/js/src/main/javascript/missing.js
+++ b/js/src/main/javascript/missing.js
@@ -262,3 +262,25 @@ uint.MAX_VALUE;
* @const
*/
uint.MIN_VALUE;
+
+
+/**
+8 @type {!Object}
+* @const
+*/
+var dialogPolyfill;;
+
+/**
+* @param {!Element} element to upgrade, if necessary
+*/
+dialogPolyfill.registerDialog = function(element) {};
+
+/**
+ * Many top-level classes will need a toString() defined.
+ * Object.toString() is excluded by the ExternC compiler
+ * so int.toString(radix) doesn't return an illegal override
+ * error.
+ * @return {string} The result.
+ */
+Error.prototype.toString = function() {}
+
[11/36] flex-typedefs git commit: node: same as last commit,
but for Maven
Posted by ah...@apache.org.
node: same as last commit, but for Maven
Project: http://git-wip-us.apache.org/repos/asf/flex-typedefs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-typedefs/commit/d990e993
Tree: http://git-wip-us.apache.org/repos/asf/flex-typedefs/tree/d990e993
Diff: http://git-wip-us.apache.org/repos/asf/flex-typedefs/diff/d990e993
Branch: refs/heads/master
Commit: d990e993170f8cdc0816ce32d492bba0cc3b4066
Parents: 7659651
Author: Josh Tynjala <jo...@apache.org>
Authored: Tue Nov 22 13:47:08 2016 -0800
Committer: Josh Tynjala <jo...@apache.org>
Committed: Tue Nov 22 13:47:08 2016 -0800
----------------------------------------------------------------------
node/pom.xml | 4 ++++
1 file changed, 4 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-typedefs/blob/d990e993/node/pom.xml
----------------------------------------------------------------------
diff --git a/node/pom.xml b/node/pom.xml
index b9dc666..b29e920 100644
--- a/node/pom.xml
+++ b/node/pom.xml
@@ -139,6 +139,10 @@
<path>downloads/closure-compiler-master/contrib/nodejs/fs.js</path>
</include-file>
<include-file>
+ <name>externs/globals.js</name>
+ <path>downloads/closure-compiler-master/contrib/nodejs/globals.js</path>
+ </include-file>
+ <include-file>
<name>externs/http.js</name>
<path>downloads/closure-compiler-master/contrib/nodejs/http.js</path>
</include-file>
[14/36] flex-typedefs git commit: config files updated for stricter
externc configuration validation
Posted by ah...@apache.org.
config files updated for stricter externc configuration validation
Project: http://git-wip-us.apache.org/repos/asf/flex-typedefs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-typedefs/commit/1aa986fe
Tree: http://git-wip-us.apache.org/repos/asf/flex-typedefs/tree/1aa986fe
Diff: http://git-wip-us.apache.org/repos/asf/flex-typedefs/diff/1aa986fe
Branch: refs/heads/master
Commit: 1aa986fe07c1d0f6724265309783423cffd4aa69
Parents: 8491f1b
Author: Josh Tynjala <jo...@apache.org>
Authored: Fri Dec 16 11:40:29 2016 -0800
Committer: Josh Tynjala <jo...@apache.org>
Committed: Fri Dec 16 11:40:29 2016 -0800
----------------------------------------------------------------------
cordova/src/main/config/externc-config.xml | 4 ----
createjs/src/main/config/externc-config.xml | 4 ----
google_maps/src/main/config/externc-config.xml | 4 ----
jasmine/src/main/config/externc-config.xml | 4 ----
jquery/src/main/config/externc-config.xml | 4 ----
node/src/main/config/externc-config.xml | 4 ----
6 files changed, 24 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-typedefs/blob/1aa986fe/cordova/src/main/config/externc-config.xml
----------------------------------------------------------------------
diff --git a/cordova/src/main/config/externc-config.xml b/cordova/src/main/config/externc-config.xml
index f10016a..e33b1be 100644
--- a/cordova/src/main/config/externc-config.xml
+++ b/cordova/src/main/config/externc-config.xml
@@ -23,10 +23,6 @@
<locale/>
- <source-path>
- <path-element>src/main/javascript</path-element>
- </source-path>
-
<warn-no-constructor>false</warn-no-constructor>
</compiler>
http://git-wip-us.apache.org/repos/asf/flex-typedefs/blob/1aa986fe/createjs/src/main/config/externc-config.xml
----------------------------------------------------------------------
diff --git a/createjs/src/main/config/externc-config.xml b/createjs/src/main/config/externc-config.xml
index e5082de..f7590bd 100644
--- a/createjs/src/main/config/externc-config.xml
+++ b/createjs/src/main/config/externc-config.xml
@@ -52,10 +52,6 @@
</namespaces>
-->
- <source-path>
- <path-element>../javascript</path-element>
- </source-path>
-
<warn-no-constructor>true</warn-no-constructor>
</compiler>
http://git-wip-us.apache.org/repos/asf/flex-typedefs/blob/1aa986fe/google_maps/src/main/config/externc-config.xml
----------------------------------------------------------------------
diff --git a/google_maps/src/main/config/externc-config.xml b/google_maps/src/main/config/externc-config.xml
index c728055..4471475 100644
--- a/google_maps/src/main/config/externc-config.xml
+++ b/google_maps/src/main/config/externc-config.xml
@@ -23,10 +23,6 @@
<locale/>
- <source-path>
- <path-element>../javascript</path-element>
- </source-path>
-
<warn-no-constructor>false</warn-no-constructor>
</compiler>
http://git-wip-us.apache.org/repos/asf/flex-typedefs/blob/1aa986fe/jasmine/src/main/config/externc-config.xml
----------------------------------------------------------------------
diff --git a/jasmine/src/main/config/externc-config.xml b/jasmine/src/main/config/externc-config.xml
index e5474ba..b267a04 100644
--- a/jasmine/src/main/config/externc-config.xml
+++ b/jasmine/src/main/config/externc-config.xml
@@ -23,10 +23,6 @@
<locale/>
- <source-path>
- <path-element>../javascript</path-element>
- </source-path>
-
<warn-no-constructor>false</warn-no-constructor>
</compiler>
http://git-wip-us.apache.org/repos/asf/flex-typedefs/blob/1aa986fe/jquery/src/main/config/externc-config.xml
----------------------------------------------------------------------
diff --git a/jquery/src/main/config/externc-config.xml b/jquery/src/main/config/externc-config.xml
index 5728fe5..fd97d33 100644
--- a/jquery/src/main/config/externc-config.xml
+++ b/jquery/src/main/config/externc-config.xml
@@ -23,10 +23,6 @@
<locale/>
- <source-path>
- <path-element>../javascript</path-element>
- </source-path>
-
<warn-no-constructor>false</warn-no-constructor>
</compiler>
http://git-wip-us.apache.org/repos/asf/flex-typedefs/blob/1aa986fe/node/src/main/config/externc-config.xml
----------------------------------------------------------------------
diff --git a/node/src/main/config/externc-config.xml b/node/src/main/config/externc-config.xml
index 91ec254..b5a01a2 100644
--- a/node/src/main/config/externc-config.xml
+++ b/node/src/main/config/externc-config.xml
@@ -23,10 +23,6 @@
<locale/>
- <source-path>
- <path-element>src/main/javascript</path-element>
- </source-path>
-
<warn-no-constructor>false</warn-no-constructor>
</compiler>
[05/36] flex-typedefs git commit: Changed "destDir" so the node
typedefs builds correctly
Posted by ah...@apache.org.
Changed "destDir" so the node typedefs builds correctly
Project: http://git-wip-us.apache.org/repos/asf/flex-typedefs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-typedefs/commit/13b17b14
Tree: http://git-wip-us.apache.org/repos/asf/flex-typedefs/tree/13b17b14
Diff: http://git-wip-us.apache.org/repos/asf/flex-typedefs/diff/13b17b14
Branch: refs/heads/master
Commit: 13b17b14aabeb0b0aabe6d1ba13740b55a6a0815
Parents: e0f9b7a
Author: Harbs <ha...@in-tools.com>
Authored: Wed Oct 26 16:47:45 2016 +0300
Committer: Harbs <ha...@in-tools.com>
Committed: Wed Oct 26 16:47:45 2016 +0300
----------------------------------------------------------------------
node/build.xml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-typedefs/blob/13b17b14/node/build.xml
----------------------------------------------------------------------
diff --git a/node/build.xml b/node/build.xml
index e7474b4..a09e5c5 100644
--- a/node/build.xml
+++ b/node/build.xml
@@ -87,11 +87,11 @@
<antcall target="get-from-cache-if-needed" >
<param name="srcFile" value="${srcFile}" />
<param name="destFile" value="${srcFile}" />
- <param name="destDir" value="${basedir}/target/downloads" />
+ <param name="destDir" value="${destDir}" />
</antcall>
<antcall target="fail-if-not-found" >
<param name="destFile" value="${srcFile}" />
- <param name="destDir" value="${basedir}/target/downloads" />
+ <param name="destDir" value="${destDir}" />
</antcall>
</target>
[23/36] flex-typedefs git commit: Added dialogPolyfill extern to make
MDL Dialog work cross browser
Posted by ah...@apache.org.
Added dialogPolyfill extern to make MDL Dialog work cross browser
Project: http://git-wip-us.apache.org/repos/asf/flex-typedefs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-typedefs/commit/f93c8122
Tree: http://git-wip-us.apache.org/repos/asf/flex-typedefs/tree/f93c8122
Diff: http://git-wip-us.apache.org/repos/asf/flex-typedefs/diff/f93c8122
Branch: refs/heads/master
Commit: f93c812282dda1ff4593398eb40326f7adc00d9e
Parents: 15115f2
Author: Carlos Rovira <ca...@apache.org>
Authored: Fri Jan 20 18:30:30 2017 +0100
Committer: Carlos Rovira <ca...@apache.org>
Committed: Fri Jan 20 18:30:30 2017 +0100
----------------------------------------------------------------------
js/src/main/javascript/missing.js | 11 +++++++++++
1 file changed, 11 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-typedefs/blob/f93c8122/js/src/main/javascript/missing.js
----------------------------------------------------------------------
diff --git a/js/src/main/javascript/missing.js b/js/src/main/javascript/missing.js
index d3e6d3c..93dc092 100644
--- a/js/src/main/javascript/missing.js
+++ b/js/src/main/javascript/missing.js
@@ -58,6 +58,17 @@ Window.prototype.document;
Window.prototype.resolveLocalFileSystemURL = function(url, successCallback,
errorCallback) {}
+
+/**
+* @constructor
+*/
+function dialogPolyfill() {};
+
+/**
+* @param {!Element} element to upgrade, if necessary
+*/
+dialogPolyfill.registerDialog = function(element) {};
+
/**
* @constructor
*/
[03/36] flex-typedefs git commit: allow typedefs to get their
downloads from the cache in case the true source is unavailable
Posted by ah...@apache.org.
allow typedefs to get their downloads from the cache in case the true source is unavailable
Project: http://git-wip-us.apache.org/repos/asf/flex-typedefs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-typedefs/commit/e0f9b7a1
Tree: http://git-wip-us.apache.org/repos/asf/flex-typedefs/tree/e0f9b7a1
Diff: http://git-wip-us.apache.org/repos/asf/flex-typedefs/diff/e0f9b7a1
Branch: refs/heads/master
Commit: e0f9b7a1354a97b87e17d7a61291556678f54cdf
Parents: 4f6ee20
Author: Alex Harui <ah...@apache.org>
Authored: Tue Oct 25 12:55:30 2016 -0700
Committer: Alex Harui <ah...@apache.org>
Committed: Tue Oct 25 12:55:36 2016 -0700
----------------------------------------------------------------------
createjs/build.xml | 47 +++++++++++-
google_maps/build.xml | 36 ++++++++-
jasmine/build.xml | 38 +++++++++-
jquery/build.xml | 38 +++++++++-
js/build.xml | 37 ++++++++-
node/build.xml | 183 ++++++++++++++++++++++++++++++++++++++-------
6 files changed, 345 insertions(+), 34 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-typedefs/blob/e0f9b7a1/createjs/build.xml
----------------------------------------------------------------------
diff --git a/createjs/build.xml b/createjs/build.xml
index 2317049..86b9e41 100644
--- a/createjs/build.xml
+++ b/createjs/build.xml
@@ -85,13 +85,31 @@
<target name="download" >
<mkdir dir="${basedir}/target/downloads" />
<get src="https://github.com/CreateJS/EaselJS/archive/${createjs.version}.zip"
- dest="${basedir}/target/downloads/easel-${createjs.version}.zip" skipexisting="true"/>
+ dest="${basedir}/target/downloads/easel-${createjs.version}.zip" skipexisting="true" ignoreerrors="true"/>
+ <antcall target="get-from-cache-if-needed" >
+ <param name="srcFile" value="easel-${createjs.version}.zip" />
+ <param name="destFile" value="easel-${createjs.version}.zip" />
+ <param name="destDir" value="${basedir}/target/downloads" />
+ </antcall>
+ <antcall target="fail-if-not-found" >
+ <param name="destFile" value="easel-${createjs.version}.zip" />
+ <param name="destDir" value="${basedir}/target/downloads" />
+ </antcall>
</target>
<target name="download_tween" >
<mkdir dir="${basedir}/target/downloads" />
<get src="https://github.com/CreateJS/TweenJS/archive/${tweenjs.version}.zip"
- dest="${basedir}/target/downloads/tween-${tweenjs.version}.zip" skipexisting="true"/>
+ dest="${basedir}/target/downloads/tween-${tweenjs.version}.zip" skipexisting="true" ignoreerrors="true"/>
+ <antcall target="get-from-cache-if-needed" >
+ <param name="srcFile" value="tween-${tweenjs.version}.zip" />
+ <param name="destFile" value="tween-${tweenjs.version}.zip" />
+ <param name="destDir" value="${basedir}/target/downloads" />
+ </antcall>
+ <antcall target="fail-if-not-found" >
+ <param name="destFile" value="tween-${tweenjs.version}.zip" />
+ <param name="destDir" value="${basedir}/target/downloads" />
+ </antcall>
</target>
<!-- createjs files have certain patterns that fool our compilers.
@@ -577,4 +595,29 @@
<delete dir="${basedir}/target" />
</target>
+ <target name="fail-if-not-found">
+ <fail message="${destDir}/${destFile} could not be downloaded or found in cache">
+ <condition>
+ <not>
+ <available file="${destDir}/${destFile}" />
+ </not>
+ </condition>
+ </fail>
+ </target>
+
+ <target name="double-check-file" >
+ <echo>${env.FLEX_DOWNLOAD_CACHE}</echo>
+ <condition property="still-no-file" value="true">
+ <and>
+ <not>
+ <available file="${destDir}/${destFile}" />
+ </not>
+ <isset property="env.FLEX_DOWNLOAD_CACHE" />
+ </and>
+ </condition>
+ <echo>Need file: ${still_no_file}</echo>
+ </target>
+ <target name="get-from-cache-if-needed" depends="double-check-file" if="still-no-file">
+ <copy file="${env.FLEX_DOWNLOAD_CACHE}/${srcFile}" tofile="${destDir}/${destFile}" />
+ </target>
</project>
http://git-wip-us.apache.org/repos/asf/flex-typedefs/blob/e0f9b7a1/google_maps/build.xml
----------------------------------------------------------------------
diff --git a/google_maps/build.xml b/google_maps/build.xml
index 17d99b3..ea28b97 100644
--- a/google_maps/build.xml
+++ b/google_maps/build.xml
@@ -103,7 +103,16 @@
<target name="download" >
<mkdir dir="${basedir}/target/downloads" />
- <get src="https://raw.githubusercontent.com/google/closure-compiler/master/contrib/externs/maps/google_maps_api_v3_11.js" dest="${basedir}/target/downloads/google_maps_api_v3_11.js" />
+ <get src="https://raw.githubusercontent.com/google/closure-compiler/master/contrib/externs/maps/google_maps_api_v3_11.js" dest="${basedir}/target/downloads/google_maps_api_v3_11.js" ignoreerrors="true"/>
+ <antcall target="get-from-cache-if-needed" >
+ <param name="srcFile" value="google_maps_api_v3_11.js" />
+ <param name="destFile" value="google_maps_api_v3_11.js" />
+ <param name="destDir" value="${basedir}/target/downloads" />
+ </antcall>
+ <antcall target="fail-if-not-found" >
+ <param name="destFile" value="google_maps_api_v3_11.js" />
+ <param name="destDir" value="${basedir}/target/downloads" />
+ </antcall>
</target>
<target name="preprocessfile" >
@@ -184,4 +193,29 @@ google.maps = {};]]></replacevalue>
</delete>
</target>
+ <target name="fail-if-not-found">
+ <fail message="${destDir}/${destFile} could not be downloaded or found in cache">
+ <condition>
+ <not>
+ <available file="${destDir}/${destFile}" />
+ </not>
+ </condition>
+ </fail>
+ </target>
+
+ <target name="double-check-file" >
+ <echo>${env.FLEX_DOWNLOAD_CACHE}</echo>
+ <condition property="still-no-file" value="true">
+ <and>
+ <not>
+ <available file="${destDir}/${destFile}" />
+ </not>
+ <isset property="env.FLEX_DOWNLOAD_CACHE" />
+ </and>
+ </condition>
+ <echo>Need file: ${still_no_file}</echo>
+ </target>
+ <target name="get-from-cache-if-needed" depends="double-check-file" if="still-no-file">
+ <copy file="${env.FLEX_DOWNLOAD_CACHE}/${srcFile}" tofile="${destDir}/${destFile}" />
+ </target>
</project>
http://git-wip-us.apache.org/repos/asf/flex-typedefs/blob/e0f9b7a1/jasmine/build.xml
----------------------------------------------------------------------
diff --git a/jasmine/build.xml b/jasmine/build.xml
index 927b21d..5efe733 100644
--- a/jasmine/build.xml
+++ b/jasmine/build.xml
@@ -81,7 +81,16 @@
<target name="preprocess">
<mkdir dir="${basedir}/target/downloads" />
- <get src="https://raw.githubusercontent.com/google/closure-compiler/master/contrib/externs/jasmine-2.0.js" dest="${basedir}/target/downloads/jasmine-2.0.js" skipexisting="true"/>
+ <get src="https://raw.githubusercontent.com/google/closure-compiler/master/contrib/externs/jasmine-2.0.js" dest="${basedir}/target/downloads/jasmine-2.0.js" skipexisting="true" ignoreerrors="true"/>
+ <antcall target="get-from-cache-if-needed" >
+ <param name="srcFile" value="jasmine-2.0.js" />
+ <param name="destFile" value="jasmine-2.0.js" />
+ <param name="destDir" value="${basedir}/target/downloads" />
+ </antcall>
+ <antcall target="fail-if-not-found" >
+ <param name="destFile" value="jasmine-2.0.js" />
+ <param name="destDir" value="${basedir}/target/downloads" />
+ </antcall>
</target>
<target name="externc" >
@@ -125,4 +134,31 @@
</fileset>
</delete>
</target>
+
+ <target name="fail-if-not-found">
+ <fail message="${destDir}/${destFile} could not be downloaded or found in cache">
+ <condition>
+ <not>
+ <available file="${destDir}/${destFile}" />
+ </not>
+ </condition>
+ </fail>
+ </target>
+
+ <target name="double-check-file" >
+ <echo>${env.FLEX_DOWNLOAD_CACHE}</echo>
+ <condition property="still-no-file" value="true">
+ <and>
+ <not>
+ <available file="${destDir}/${destFile}" />
+ </not>
+ <isset property="env.FLEX_DOWNLOAD_CACHE" />
+ </and>
+ </condition>
+ <echo>Need file: ${still_no_file}</echo>
+ </target>
+ <target name="get-from-cache-if-needed" depends="double-check-file" if="still-no-file">
+ <copy file="${env.FLEX_DOWNLOAD_CACHE}/${srcFile}" tofile="${destDir}/${destFile}" />
+ </target>
+
</project>
http://git-wip-us.apache.org/repos/asf/flex-typedefs/blob/e0f9b7a1/jquery/build.xml
----------------------------------------------------------------------
diff --git a/jquery/build.xml b/jquery/build.xml
index 9fa1040..6a0887f 100644
--- a/jquery/build.xml
+++ b/jquery/build.xml
@@ -118,7 +118,16 @@
<target name="download" >
<mkdir dir="${basedir}/target/downloads" />
- <get src="https://raw.githubusercontent.com/google/closure-compiler/master/contrib/externs/jquery-1.9.js" dest="${basedir}/target/downloads/jquery-1.9.js"/>
+ <get src="https://raw.githubusercontent.com/google/closure-compiler/master/contrib/externs/jquery-1.9.js" dest="${basedir}/target/downloads/jquery-1.9.js" ignoreerrors="true"/>
+ <antcall target="get-from-cache-if-needed" >
+ <param name="srcFile" value="jquery-1.9.js" />
+ <param name="destFile" value="jquery-1.9.js" />
+ <param name="destDir" value="${basedir}/target/downloads" />
+ </antcall>
+ <antcall target="fail-if-not-found" >
+ <param name="destFile" value="jquery-1.9.js" />
+ <param name="destDir" value="${basedir}/target/downloads" />
+ </antcall>
</target>
<target name="externc" >
@@ -162,4 +171,31 @@
</fileset>
</delete>
</target>
+
+ <target name="fail-if-not-found">
+ <fail message="${destDir}/${destFile} could not be downloaded or found in cache">
+ <condition>
+ <not>
+ <available file="${destDir}/${destFile}" />
+ </not>
+ </condition>
+ </fail>
+ </target>
+
+ <target name="double-check-file" >
+ <echo>${env.FLEX_DOWNLOAD_CACHE}</echo>
+ <condition property="still-no-file" value="true">
+ <and>
+ <not>
+ <available file="${destDir}/${destFile}" />
+ </not>
+ <isset property="env.FLEX_DOWNLOAD_CACHE" />
+ </and>
+ </condition>
+ <echo>Need file: ${still_no_file}</echo>
+ </target>
+ <target name="get-from-cache-if-needed" depends="double-check-file" if="still-no-file">
+ <copy file="${env.FLEX_DOWNLOAD_CACHE}/${srcFile}" tofile="${destDir}/${destFile}" />
+ </target>
+
</project>
http://git-wip-us.apache.org/repos/asf/flex-typedefs/blob/e0f9b7a1/js/build.xml
----------------------------------------------------------------------
diff --git a/js/build.xml b/js/build.xml
index 528b048..eb1ba0e 100644
--- a/js/build.xml
+++ b/js/build.xml
@@ -90,7 +90,16 @@
</unjar>
<mkdir dir="${basedir}/target/downloads" />
<unzip src="${basedir}/target/temp/externs/externs.zip" dest="${basedir}/target/downloads" />
- <get src="https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/closureidl/svg.js" dest="${basedir}/target/downloads/svg.js"/>
+ <get src="https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/closureidl/svg.js" dest="${basedir}/target/downloads/svg.js" ignoreerrors="true"/>
+ <antcall target="get-from-cache-if-needed" >
+ <param name="srcFile" value="svg.js" />
+ <param name="destFile" value="svg.js" />
+ <param name="destDir" value="${basedir}/target/downloads" />
+ </antcall>
+ <antcall target="fail-if-not-found" >
+ <param name="destFile" value="svg.js" />
+ <param name="destDir" value="${basedir}/target/downloads" />
+ </antcall>
</target>
<target name="make_patch" depends="download">
@@ -182,4 +191,30 @@
</delete>
</target>
+ <target name="fail-if-not-found">
+ <fail message="${destDir}/${destFile} could not be downloaded or found in cache">
+ <condition>
+ <not>
+ <available file="${destDir}/${destFile}" />
+ </not>
+ </condition>
+ </fail>
+ </target>
+
+ <target name="double-check-file" >
+ <echo>${env.FLEX_DOWNLOAD_CACHE}</echo>
+ <condition property="still-no-file" value="true">
+ <and>
+ <not>
+ <available file="${destDir}/${destFile}" />
+ </not>
+ <isset property="env.FLEX_DOWNLOAD_CACHE" />
+ </and>
+ </condition>
+ <echo>Need file: ${still_no_file}</echo>
+ </target>
+ <target name="get-from-cache-if-needed" depends="double-check-file" if="still-no-file">
+ <copy file="${env.FLEX_DOWNLOAD_CACHE}/${srcFile}" tofile="${destDir}/${destFile}" />
+ </target>
+
</project>
http://git-wip-us.apache.org/repos/asf/flex-typedefs/blob/e0f9b7a1/node/build.xml
----------------------------------------------------------------------
diff --git a/node/build.xml b/node/build.xml
index 578047c..e7474b4 100644
--- a/node/build.xml
+++ b/node/build.xml
@@ -79,36 +79,136 @@
<target name="main" depends="preprocess, externc, postprocess, compc" />
+ <property name="srcServer" value="https://raw.githubusercontent.com/google/closure-compiler/master/contrib/nodejs" />
+ <property name="destDir" value="${basedir}/target/downloads/closure-compiler-master/contrib/nodejs" />
+
+ <target name="getfile" >
+ <get src="${srcServer}/${srcFile}" dest="${destDir}/${destFile}" skipexisting="true" ignoreerrors="true"/>
+ <antcall target="get-from-cache-if-needed" >
+ <param name="srcFile" value="${srcFile}" />
+ <param name="destFile" value="${srcFile}" />
+ <param name="destDir" value="${basedir}/target/downloads" />
+ </antcall>
+ <antcall target="fail-if-not-found" >
+ <param name="destFile" value="${srcFile}" />
+ <param name="destDir" value="${basedir}/target/downloads" />
+ </antcall>
+ </target>
+
<target name="preprocess">
<mkdir dir="${basedir}/target/downloads/closure-compiler-master/contrib/nodejs" />
- <get src="https://raw.githubusercontent.com/google/closure-compiler/master/contrib/nodejs/assert.js" dest="${basedir}/target/downloads/closure-compiler-master/contrib/nodejs/assert.js" skipexisting="true"/>
- <get src="https://raw.githubusercontent.com/google/closure-compiler/master/contrib/nodejs/buffer.js" dest="${basedir}/target/downloads/closure-compiler-master/contrib/nodejs/buffer.js" skipexisting="true"/>
- <get src="https://raw.githubusercontent.com/google/closure-compiler/master/contrib/nodejs/child_process.js" dest="${basedir}/target/downloads/closure-compiler-master/contrib/nodejs/child_process.js" skipexisting="true"/>
- <get src="https://raw.githubusercontent.com/google/closure-compiler/master/contrib/nodejs/cluster.js" dest="${basedir}/target/downloads/closure-compiler-master/contrib/nodejs/cluster.js" skipexisting="true"/>
- <get src="https://raw.githubusercontent.com/google/closure-compiler/master/contrib/nodejs/crypto.js" dest="${basedir}/target/downloads/closure-compiler-master/contrib/nodejs/crypto.js" skipexisting="true"/>
- <get src="https://raw.githubusercontent.com/google/closure-compiler/master/contrib/nodejs/dgram.js" dest="${basedir}/target/downloads/closure-compiler-master/contrib/nodejs/dgram.js" skipexisting="true"/>
- <get src="https://raw.githubusercontent.com/google/closure-compiler/master/contrib/nodejs/dns.js" dest="${basedir}/target/downloads/closure-compiler-master/contrib/nodejs/dns.js" skipexisting="true"/>
- <get src="https://raw.githubusercontent.com/google/closure-compiler/master/contrib/nodejs/domain.js" dest="${basedir}/target/downloads/closure-compiler-master/contrib/nodejs/domain.js" skipexisting="true"/>
- <get src="https://raw.githubusercontent.com/google/closure-compiler/master/contrib/nodejs/events.js" dest="${basedir}/target/downloads/closure-compiler-master/contrib/nodejs/events.js" skipexisting="true"/>
- <get src="https://raw.githubusercontent.com/google/closure-compiler/master/contrib/nodejs/fs.js" dest="${basedir}/target/downloads/closure-compiler-master/contrib/nodejs/fs.js" skipexisting="true"/>
- <get src="https://raw.githubusercontent.com/google/closure-compiler/master/contrib/nodejs/globals.js" dest="${basedir}/target/downloads/closure-compiler-master/contrib/nodejs/globals.js" skipexisting="true"/>
- <get src="https://raw.githubusercontent.com/google/closure-compiler/master/contrib/nodejs/http.js" dest="${basedir}/target/downloads/closure-compiler-master/contrib/nodejs/http.js" skipexisting="true"/>
- <get src="https://raw.githubusercontent.com/google/closure-compiler/master/contrib/nodejs/https.js" dest="${basedir}/target/downloads/closure-compiler-master/contrib/nodejs/https.js" skipexisting="true"/>
- <get src="https://raw.githubusercontent.com/google/closure-compiler/master/contrib/nodejs/net.js" dest="${basedir}/target/downloads/closure-compiler-master/contrib/nodejs/net.js" skipexisting="true"/>
- <get src="https://raw.githubusercontent.com/google/closure-compiler/master/contrib/nodejs/os.js" dest="${basedir}/target/downloads/closure-compiler-master/contrib/nodejs/os.js" skipexisting="true"/>
- <get src="https://raw.githubusercontent.com/google/closure-compiler/master/contrib/nodejs/path.js" dest="${basedir}/target/downloads/closure-compiler-master/contrib/nodejs/path.js" skipexisting="true"/>
- <get src="https://raw.githubusercontent.com/google/closure-compiler/master/contrib/nodejs/punycode.js" dest="${basedir}/target/downloads/closure-compiler-master/contrib/nodejs/punycode.js" skipexisting="true"/>
- <get src="https://raw.githubusercontent.com/google/closure-compiler/master/contrib/nodejs/querystring.js" dest="${basedir}/target/downloads/closure-compiler-master/contrib/nodejs/querystring.js" skipexisting="true"/>
- <get src="https://raw.githubusercontent.com/google/closure-compiler/master/contrib/nodejs/readline.js" dest="${basedir}/target/downloads/closure-compiler-master/contrib/nodejs/readline.js" skipexisting="true"/>
- <get src="https://raw.githubusercontent.com/google/closure-compiler/master/contrib/nodejs/repl.js" dest="${basedir}/target/downloads/closure-compiler-master/contrib/nodejs/repl.js" skipexisting="true"/>
- <get src="https://raw.githubusercontent.com/google/closure-compiler/master/contrib/nodejs/stream.js" dest="${basedir}/target/downloads/closure-compiler-master/contrib/nodejs/stream.js" skipexisting="true"/>
- <get src="https://raw.githubusercontent.com/google/closure-compiler/master/contrib/nodejs/string_decoder.js" dest="${basedir}/target/downloads/closure-compiler-master/contrib/nodejs/string_decoder.js" skipexisting="true"/>
- <get src="https://raw.githubusercontent.com/google/closure-compiler/master/contrib/nodejs/tls.js" dest="${basedir}/target/downloads/closure-compiler-master/contrib/nodejs/tls.js" skipexisting="true"/>
- <get src="https://raw.githubusercontent.com/google/closure-compiler/master/contrib/nodejs/tty.js" dest="${basedir}/target/downloads/closure-compiler-master/contrib/nodejs/tty.js" skipexisting="true"/>
- <get src="https://raw.githubusercontent.com/google/closure-compiler/master/contrib/nodejs/url.js" dest="${basedir}/target/downloads/closure-compiler-master/contrib/nodejs/url.js" skipexisting="true"/>
- <get src="https://raw.githubusercontent.com/google/closure-compiler/master/contrib/nodejs/util.js" dest="${basedir}/target/downloads/closure-compiler-master/contrib/nodejs/util.js" skipexisting="true"/>
- <get src="https://raw.githubusercontent.com/google/closure-compiler/master/contrib/nodejs/vm.js" dest="${basedir}/target/downloads/closure-compiler-master/contrib/nodejs/vm.js" skipexisting="true"/>
- <get src="https://raw.githubusercontent.com/google/closure-compiler/master/contrib/nodejs/zlib.js" dest="${basedir}/target/downloads/closure-compiler-master/contrib/nodejs/zlib.js" skipexisting="true"/>
+ <antcall target="getfile">
+ <param name="srcFile" value="assert.js" />
+ <param name="destFile" value="assert.js"/>
+ </antcall>
+ <antcall target="getfile">
+ <param name="srcFile" value="buffer.js" />
+ <param name="destFile" value="buffer.js"/>
+ </antcall>
+ <antcall target="getfile">
+ <param name="srcFile" value="child_process.js" />
+ <param name="destFile" value="child_process.js"/>
+ </antcall>
+ <antcall target="getfile">
+ <param name="srcFile" value="cluster.js" />
+ <param name="destFile" value="cluster.js"/>
+ </antcall>
+ <antcall target="getfile">
+ <param name="srcFile" value="crypto.js" />
+ <param name="destFile" value="crypto.js"/>
+ </antcall>
+ <antcall target="getfile">
+ <param name="srcFile" value="dgram.js" />
+ <param name="destFile" value="dgram.js"/>
+ </antcall>
+ <antcall target="getfile">
+ <param name="srcFile" value="dns.js" />
+ <param name="destFile" value="dns.js"/>
+ </antcall>
+ <antcall target="getfile">
+ <param name="srcFile" value="domain.js" />
+ <param name="destFile" value="domain.js"/>
+ </antcall>
+ <antcall target="getfile">
+ <param name="srcFile" value="events.js" />
+ <param name="destFile" value="events.js"/>
+ </antcall>
+ <antcall target="getfile">
+ <param name="srcFile" value="fs.js" />
+ <param name="destFile" value="fs.js"/>
+ </antcall>
+ <antcall target="getfile">
+ <param name="srcFile" value="globals.js" />
+ <param name="destFile" value="globals.js"/>
+ </antcall>
+ <antcall target="getfile">
+ <param name="srcFile" value="http.js" />
+ <param name="destFile" value="http.js"/>
+ </antcall>
+ <antcall target="getfile">
+ <param name="srcFile" value="https.js" />
+ <param name="destFile" value="https.js"/>
+ </antcall>
+ <antcall target="getfile">
+ <param name="srcFile" value="net.js" />
+ <param name="destFile" value="net.js"/>
+ </antcall>
+ <antcall target="getfile">
+ <param name="srcFile" value="os.js" />
+ <param name="destFile" value="os.js"/>
+ </antcall>
+ <antcall target="getfile">
+ <param name="srcFile" value="path.js" />
+ <param name="destFile" value="path.js"/>
+ </antcall>
+ <antcall target="getfile">
+ <param name="srcFile" value="punycode.js" />
+ <param name="destFile" value="punycode.js"/>
+ </antcall>
+ <antcall target="getfile">
+ <param name="srcFile" value="querystring.js" />
+ <param name="destFile" value="querystring.js"/>
+ </antcall>
+ <antcall target="getfile">
+ <param name="srcFile" value="readline.js" />
+ <param name="destFile" value="readline.js"/>
+ </antcall>
+ <antcall target="getfile">
+ <param name="srcFile" value="repl.js" />
+ <param name="destFile" value="repl.js"/>
+ </antcall>
+ <antcall target="getfile">
+ <param name="srcFile" value="stream.js" />
+ <param name="destFile" value="stream.js"/>
+ </antcall>
+ <antcall target="getfile">
+ <param name="srcFile" value="string_decoder.js" />
+ <param name="destFile" value="string_decoder.js"/>
+ </antcall>
+ <antcall target="getfile">
+ <param name="srcFile" value="tls.js" />
+ <param name="destFile" value="tls.js"/>
+ </antcall>
+ <antcall target="getfile">
+ <param name="srcFile" value="tty.js" />
+ <param name="destFile" value="tty.js"/>
+ </antcall>
+ <antcall target="getfile">
+ <param name="srcFile" value="url.js" />
+ <param name="destFile" value="url.js"/>
+ </antcall>
+ <antcall target="getfile">
+ <param name="srcFile" value="util.js" />
+ <param name="destFile" value="util.js"/>
+ </antcall>
+ <antcall target="getfile">
+ <param name="srcFile" value="vm.js" />
+ <param name="destFile" value="vm.js"/>
+ </antcall>
+ <antcall target="getfile">
+ <param name="srcFile" value="zlib.js" />
+ <param name="destFile" value="zlib.js"/>
+ </antcall>
</target>
<target name="externc" >
@@ -152,4 +252,31 @@
</fileset>
</delete>
</target>
+
+ <target name="fail-if-not-found">
+ <fail message="${destDir}/${destFile} could not be downloaded or found in cache">
+ <condition>
+ <not>
+ <available file="${destDir}/${destFile}" />
+ </not>
+ </condition>
+ </fail>
+ </target>
+
+ <target name="double-check-file" >
+ <echo>${env.FLEX_DOWNLOAD_CACHE}</echo>
+ <condition property="still-no-file" value="true">
+ <and>
+ <not>
+ <available file="${destDir}/${destFile}" />
+ </not>
+ <isset property="env.FLEX_DOWNLOAD_CACHE" />
+ </and>
+ </condition>
+ <echo>Need file: ${still_no_file}</echo>
+ </target>
+ <target name="get-from-cache-if-needed" depends="double-check-file" if="still-no-file">
+ <copy file="${env.FLEX_DOWNLOAD_CACHE}/${srcFile}" tofile="${destDir}/${destFile}" />
+ </target>
+
</project>
[10/36] flex-typedefs git commit: node: added missing globals.js
extern
Posted by ah...@apache.org.
node: added missing globals.js extern
Project: http://git-wip-us.apache.org/repos/asf/flex-typedefs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-typedefs/commit/7659651f
Tree: http://git-wip-us.apache.org/repos/asf/flex-typedefs/tree/7659651f
Diff: http://git-wip-us.apache.org/repos/asf/flex-typedefs/diff/7659651f
Branch: refs/heads/master
Commit: 7659651f38fe0e0aa14c4d50c3f456dabe14973e
Parents: c07aedf
Author: Josh Tynjala <jo...@apache.org>
Authored: Tue Nov 22 13:39:51 2016 -0800
Committer: Josh Tynjala <jo...@apache.org>
Committed: Tue Nov 22 13:39:51 2016 -0800
----------------------------------------------------------------------
node/src/main/config/compile-as-config.xml | 4 ++++
1 file changed, 4 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-typedefs/blob/7659651f/node/src/main/config/compile-as-config.xml
----------------------------------------------------------------------
diff --git a/node/src/main/config/compile-as-config.xml b/node/src/main/config/compile-as-config.xml
index 2af392d..d3b0965 100644
--- a/node/src/main/config/compile-as-config.xml
+++ b/node/src/main/config/compile-as-config.xml
@@ -88,6 +88,10 @@
<path>downloads/closure-compiler-master/contrib/nodejs/fs.js</path>
</include-file>
<include-file>
+ <name>externs/globals.js</name>
+ <path>downloads/closure-compiler-master/contrib/nodejs/globals.js</path>
+ </include-file>
+ <include-file>
<name>externs/http.js</name>
<path>downloads/closure-compiler-master/contrib/nodejs/http.js</path>
</include-file>
[35/36] flex-typedefs git commit: stop caching of JS file as it
breaks the build sometimes
Posted by ah...@apache.org.
stop caching of JS file as it breaks the build sometimes
Project: http://git-wip-us.apache.org/repos/asf/flex-typedefs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-typedefs/commit/b72f9b8b
Tree: http://git-wip-us.apache.org/repos/asf/flex-typedefs/tree/b72f9b8b
Diff: http://git-wip-us.apache.org/repos/asf/flex-typedefs/diff/b72f9b8b
Branch: refs/heads/master
Commit: b72f9b8b2fb387e40988ee5e7bff1b456afa80fd
Parents: 2bd4044
Author: Justin Mclean <jm...@apache.org>
Authored: Fri Jun 16 11:58:17 2017 +1000
Committer: Justin Mclean <jm...@apache.org>
Committed: Fri Jun 16 11:58:57 2017 +1000
----------------------------------------------------------------------
js/pom.xml | 1 +
1 file changed, 1 insertion(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-typedefs/blob/b72f9b8b/js/pom.xml
----------------------------------------------------------------------
diff --git a/js/pom.xml b/js/pom.xml
index d10843b..1e4bb7d 100644
--- a/js/pom.xml
+++ b/js/pom.xml
@@ -51,6 +51,7 @@
<url>https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/closureidl/svg.js</url>
<outputFileName>svg.js</outputFileName>
<outputDirectory>${project.build.directory}/downloads</outputDirectory>
+ <skipCache>true</skipCache>
</configuration>
</execution>
</executions>
[33/36] flex-typedefs git commit: legal-discuss recommended removing
ASF headers from patches
Posted by ah...@apache.org.
legal-discuss recommended removing ASF headers from patches
Project: http://git-wip-us.apache.org/repos/asf/flex-typedefs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-typedefs/commit/fed0d3bf
Tree: http://git-wip-us.apache.org/repos/asf/flex-typedefs/tree/fed0d3bf
Diff: http://git-wip-us.apache.org/repos/asf/flex-typedefs/diff/fed0d3bf
Branch: refs/heads/master
Commit: fed0d3bf9a20875f4876102553d1e5998bd8f3c9
Parents: 6a88521
Author: Alex Harui <ah...@apache.org>
Authored: Wed May 10 15:27:04 2017 -0700
Committer: Alex Harui <ah...@apache.org>
Committed: Wed May 10 15:27:04 2017 -0700
----------------------------------------------------------------------
google_maps/src/main/patch/google_maps.patch | 15 ---------------
jquery/src/main/patch/jquery.patch | 18 +-----------------
js/src/main/patch/js.patch | 15 ---------------
pom.xml | 6 ++++++
4 files changed, 7 insertions(+), 47 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-typedefs/blob/fed0d3bf/google_maps/src/main/patch/google_maps.patch
----------------------------------------------------------------------
diff --git a/google_maps/src/main/patch/google_maps.patch b/google_maps/src/main/patch/google_maps.patch
index 7738989..8061e47 100644
--- a/google_maps/src/main/patch/google_maps.patch
+++ b/google_maps/src/main/patch/google_maps.patch
@@ -1,19 +1,4 @@
- Licensed to the Apache Software Foundation (ASF) under one or more
- contributor license agreements. See the NOTICE file distributed with
- this work for additional information regarding copyright ownership.
- The ASF licenses this file to You under the Apache License, Version 2.0
- (the "License"); you may not use this file except in compliance with
- the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
-
Generated from Ant script
diff --git a/google_maps/target/downloads/google_maps_api_v3_11.js b/google_maps/target/downloads/google_maps_api_v3_11.js
index ac91685..5dbb628 100644
http://git-wip-us.apache.org/repos/asf/flex-typedefs/blob/fed0d3bf/jquery/src/main/patch/jquery.patch
----------------------------------------------------------------------
diff --git a/jquery/src/main/patch/jquery.patch b/jquery/src/main/patch/jquery.patch
index 690dc91..9091cd1 100644
--- a/jquery/src/main/patch/jquery.patch
+++ b/jquery/src/main/patch/jquery.patch
@@ -1,20 +1,4 @@
-
- Licensed to the Apache Software Foundation (ASF) under one or more
- contributor license agreements. See the NOTICE file distributed with
- this work for additional information regarding copyright ownership.
- The ASF licenses this file to You under the Apache License, Version 2.0
- (the "License"); you may not use this file except in compliance with
- the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
-
-Generated from Ant script
+Generated from Ant script and manually updated type
diff --git a/jquery/target/downloads/jquery-1.9.js b/jquery/target/downloads/jquery-1.9.js
index d00166a..1d85908 100644
--- a/jquery/target/downloads/jquery-1.9.js
http://git-wip-us.apache.org/repos/asf/flex-typedefs/blob/fed0d3bf/js/src/main/patch/js.patch
----------------------------------------------------------------------
diff --git a/js/src/main/patch/js.patch b/js/src/main/patch/js.patch
index 2f9b124..1f8d551 100644
--- a/js/src/main/patch/js.patch
+++ b/js/src/main/patch/js.patch
@@ -1,19 +1,4 @@
- Licensed to the Apache Software Foundation (ASF) under one or more
- contributor license agreements. See the NOTICE file distributed with
- this work for additional information regarding copyright ownership.
- The ASF licenses this file to You under the Apache License, Version 2.0
- (the "License"); you may not use this file except in compliance with
- the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
-
Generated from Ant script
diff --git a/js/target/downloads/es3.js b/js/target/downloads/es3.js
index 4396804..82032c8 100644
http://git-wip-us.apache.org/repos/asf/flex-typedefs/blob/fed0d3bf/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 3e731fb..756bf24 100644
--- a/pom.xml
+++ b/pom.xml
@@ -120,6 +120,12 @@
</goals>
</execution>
</executions>
+ <configuration>
+ <excludes>
+ <!-- Patch files aren't supposed to have headers -->
+ <exclude>**/*.patch</exclude>
+ </excludes>
+ </configuration>
<dependencies>
<dependency>
<groupId>org.apache.maven.doxia</groupId>
[24/36] flex-typedefs git commit: add Map/WeakMap to Maven build
Posted by ah...@apache.org.
add Map/WeakMap to Maven build
Project: http://git-wip-us.apache.org/repos/asf/flex-typedefs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-typedefs/commit/72a73822
Tree: http://git-wip-us.apache.org/repos/asf/flex-typedefs/tree/72a73822
Diff: http://git-wip-us.apache.org/repos/asf/flex-typedefs/diff/72a73822
Branch: refs/heads/master
Commit: 72a73822825ed4c78d2ec549305e35375ad788d0
Parents: f93c812
Author: Alex Harui <ah...@apache.org>
Authored: Sun Feb 12 22:35:07 2017 -0800
Committer: Alex Harui <ah...@apache.org>
Committed: Sun Feb 12 22:35:07 2017 -0800
----------------------------------------------------------------------
js/pom.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-typedefs/blob/72a73822/js/pom.xml
----------------------------------------------------------------------
diff --git a/js/pom.xml b/js/pom.xml
index 07b1d7a..d10843b 100644
--- a/js/pom.xml
+++ b/js/pom.xml
@@ -145,9 +145,9 @@
<include>browser/webgl.js</include>
<include>browser/webstorage.js</include>
<include>browser/whatwg_encoding.js</include>
+ <include>es6_collections.js</include>
</includes>
<excludes>
- <exclude>es6_collections.js</exclude>
<exclude>browser/w3c_dom4.js</exclude>
<exclude>browser/w3c_serviceworker.js</exclude>
<exclude>browser/w3c_webcrypto.js</exclude>
[04/36] flex-typedefs git commit: change fireListener to a var so we
can reassign it at runtime
Posted by ah...@apache.org.
change fireListener to a var so we can reassign it at runtime
Project: http://git-wip-us.apache.org/repos/asf/flex-typedefs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-typedefs/commit/4f6ee20b
Tree: http://git-wip-us.apache.org/repos/asf/flex-typedefs/tree/4f6ee20b
Diff: http://git-wip-us.apache.org/repos/asf/flex-typedefs/diff/4f6ee20b
Branch: refs/heads/master
Commit: 4f6ee20bd4cf98bdae11cec16e81d14094432ded
Parents: 08f98e8
Author: Alex Harui <ah...@apache.org>
Authored: Tue Oct 25 12:55:09 2016 -0700
Committer: Alex Harui <ah...@apache.org>
Committed: Tue Oct 25 12:55:36 2016 -0700
----------------------------------------------------------------------
GCL/src/main/flex/goog/events.as | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-typedefs/blob/4f6ee20b/GCL/src/main/flex/goog/events.as
----------------------------------------------------------------------
diff --git a/GCL/src/main/flex/goog/events.as b/GCL/src/main/flex/goog/events.as
index 62c7141..b01dbc9 100644
--- a/GCL/src/main/flex/goog/events.as
+++ b/GCL/src/main/flex/goog/events.as
@@ -14,8 +14,8 @@
package goog {
public class events {
- public static function get fireListener():Function{return null;}
- public static function set fireListener(value:Function):void{}
+ // fireListener is a static function, but we want to re-assign it from FlexJS so we declare it as a var
+ public static var fireListener:Function;
public static function hasListener(object:Object, type:String = null, capture:Boolean = false):Boolean{return false};
public static function listen(object:Object, type:String, handler:Function, capture:Boolean = false, scope:Object = null):Boolean{return false};
public static function unlisten(object:Object, type:String, handler:Function, capture:Boolean = false, scope:Object = null):Boolean{return false};
[30/36] flex-typedefs git commit: manually clean up externs for
createjs and get rid of patches
Posted by ah...@apache.org.
http://git-wip-us.apache.org/repos/asf/flex-typedefs/blob/2658a72d/createjs/src/main/patch/easeljs.patch
----------------------------------------------------------------------
diff --git a/createjs/src/main/patch/easeljs.patch b/createjs/src/main/patch/easeljs.patch
deleted file mode 100644
index 49b79f9..0000000
--- a/createjs/src/main/patch/easeljs.patch
+++ /dev/null
@@ -1,19387 +0,0 @@
-
-Generated from Ant script
-diff --git a/createjs/target/downloads/EaselJS-0.8.0/src/createjs/events/Event.js b/createjs/target/downloads/EaselJS-0.8.0/src/createjs/events/Event.js
-index 3ce0025..e8a377d 100644
---- a/createjs/target/downloads/EaselJS-0.8.0/src/createjs/events/Event.js
-+++ b/createjs/target/downloads/EaselJS-0.8.0/src/createjs/events/Event.js
-@@ -1,262 +1,80 @@
--/*
--* Event
--* Visit http://createjs.com/ for documentation, updates and examples.
--*
--* Copyright (c) 2010 gskinner.com, inc.
--*
--* Permission is hereby granted, free of charge, to any person
--* obtaining a copy of this software and associated documentation
--* files (the "Software"), to deal in the Software without
--* restriction, including without limitation the rights to use,
--* copy, modify, merge, publish, distribute, sublicense, and/or sell
--* copies of the Software, and to permit persons to whom the
--* Software is furnished to do so, subject to the following
--* conditions:
--*
--* The above copyright notice and this permission notice shall be
--* included in all copies or substantial portions of the Software.
--*
--* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
--* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
--* OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
--* NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
--* HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
--* WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
--* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
--* OTHER DEALINGS IN THE SOFTWARE.
--*/
--
-+/** @fileoverview Auto-generated Externs files
-+ * @externs
-+ */
- /**
-- * A collection of Classes that are shared across all the CreateJS libraries. The classes are included in the minified
-- * files of each library and are available on the createsjs namespace directly.
-- *
-- * <h4>Example</h4>
-+ * Contains properties and methods shared by all events for use with
-+ * {{#crossLink "EventDispatcher"}}{{/crossLink}}.
-+ *
-+ * Note that Event objects are often reused, so you should never
-+ * rely on an event object's state outside of the call stack it was received in.
- *
-- * myObject.addEventListener("change", createjs.proxy(myMethod, scope));
-- *
-- * @module CreateJS
-- * @main CreateJS
-+ * @see [Event]
-+ * @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
- */
-+createjs.Event = function (type, bubbles, cancelable) {}
-
--// namespace:
--this.createjs = this.createjs||{};
--
--(function() {
-- "use strict";
-+ /**
-+ * Returns a clone of the Event instance.
-+ *
-+ * @see [Event]
-+ * @returns {(Event|null)} a clone of the Event instance.
-+ */
-+createjs.Event.prototype.clone = function () { return null; }
-
--// constructor:
-- /**
-- * Contains properties and methods shared by all events for use with
-- * {{#crossLink "EventDispatcher"}}{{/crossLink}}.
-- *
-- * Note that Event objects are often reused, so you should never
-- * rely on an event object's state outside of the call stack it was received in.
-- * @class Event
-- * @param {String} type The event type.
-- * @param {Boolean} bubbles Indicates whether the event will bubble through the display list.
-- * @param {Boolean} cancelable Indicates whether the default behaviour of this event can be cancelled.
-- * @constructor
-- **/
-- function Event(type, bubbles, cancelable) {
--
--
-- // public properties:
-- /**
-- * The type of event.
-- * @property type
-- * @type String
-- **/
-- this.type = type;
--
-- /**
-- * The object that generated an event.
-- * @property target
-- * @type Object
-- * @default null
-- * @readonly
-- */
-- this.target = null;
--
-- /**
-- * The current target that a bubbling event is being dispatched from. For non-bubbling events, this will
-- * always be the same as target. For example, if childObj.parent = parentObj, and a bubbling event
-- * is generated from childObj, then a listener on parentObj would receive the event with
-- * target=childObj (the original target) and currentTarget=parentObj (where the listener was added).
-- * @property currentTarget
-- * @type Object
-- * @default null
-- * @readonly
-- */
-- this.currentTarget = null;
--
-- /**
-- * For bubbling events, this indicates the current event phase:<OL>
-- * <LI> capture phase: starting from the top parent to the target</LI>
-- * <LI> at target phase: currently being dispatched from the target</LI>
-- * <LI> bubbling phase: from the target to the top parent</LI>
-- * </OL>
-- * @property eventPhase
-- * @type Number
-- * @default 0
-- * @readonly
-- */
-- this.eventPhase = 0;
--
-- /**
-- * Indicates whether the event will bubble through the display list.
-- * @property bubbles
-- * @type Boolean
-- * @default false
-- * @readonly
-- */
-- this.bubbles = !!bubbles;
--
-- /**
-- * Indicates whether the default behaviour of this event can be cancelled via
-- * {{#crossLink "Event/preventDefault"}}{{/crossLink}}. This is set via the Event constructor.
-- * @property cancelable
-- * @type Boolean
-- * @default false
-- * @readonly
-- */
-- this.cancelable = !!cancelable;
--
-- /**
-- * The epoch time at which this event was created.
-- * @property timeStamp
-- * @type Number
-- * @default 0
-- * @readonly
-- */
-- this.timeStamp = (new Date()).getTime();
--
-- /**
-- * Indicates if {{#crossLink "Event/preventDefault"}}{{/crossLink}} has been called
-- * on this event.
-- * @property defaultPrevented
-- * @type Boolean
-- * @default false
-- * @readonly
-- */
-- this.defaultPrevented = false;
--
-- /**
-- * Indicates if {{#crossLink "Event/stopPropagation"}}{{/crossLink}} or
-- * {{#crossLink "Event/stopImmediatePropagation"}}{{/crossLink}} has been called on this event.
-- * @property propagationStopped
-- * @type Boolean
-- * @default false
-- * @readonly
-- */
-- this.propagationStopped = false;
--
-- /**
-- * Indicates if {{#crossLink "Event/stopImmediatePropagation"}}{{/crossLink}} has been called
-- * on this event.
-- * @property immediatePropagationStopped
-- * @type Boolean
-- * @default false
-- * @readonly
-- */
-- this.immediatePropagationStopped = false;
--
-- /**
-- * Indicates if {{#crossLink "Event/remove"}}{{/crossLink}} has been called on this event.
-- * @property removed
-- * @type Boolean
-- * @default false
-- * @readonly
-- */
-- this.removed = false;
-- }
-- var p = Event.prototype;
-+ /**
-+ * Causes the active listener to be removed via removeEventListener();
-+ *
-+ * myBtn.addEventListener("click", function(evt) {
-+ * // do stuff...
-+ * evt.remove(); // removes this listener.
-+ * });
-+ *
-+ * @see [Event]
-+ */
-+createjs.Event.prototype.remove = function () { }
-
-- /**
-- * <strong>REMOVED</strong>. Removed in favor of using `MySuperClass_constructor`.
-- * See {{#crossLink "Utility Methods/extend"}}{{/crossLink}} and {{#crossLink "Utility Methods/promote"}}{{/crossLink}}
-- * for details.
-- *
-- * There is an inheritance tutorial distributed with EaselJS in /tutorials/Inheritance.
-- *
-- * @method initialize
-- * @protected
-- * @deprecated
-- */
-- // p.initialize = function() {}; // searchable for devs wondering where it is.
-+ /**
-+ * Provides a chainable shortcut method for setting a number of properties on the instance.
-+ *
-+ * @param {(Object|null)} props A generic object containing properties to copy to the instance.
-+ * @see [Event]
-+ * @returns {(Event|null)} Returns the instance the method is called on (useful for chaining calls.)
-+ */
-+createjs.Event.prototype.set = function (props) { return null; }
-
--// public methods:
-- /**
-- * Sets {{#crossLink "Event/defaultPrevented"}}{{/crossLink}} to true.
-- * Mirrors the DOM event standard.
-- * @method preventDefault
-- **/
-- p.preventDefault = function() {
-- this.defaultPrevented = this.cancelable&&true;
-- };
-+ /**
-+ * Sets {{#crossLink "Event/propagationStopped"}}{{/crossLink}} to true.
-+ * Mirrors the DOM event standard.
-+ *
-+ * @see [Event]
-+ */
-+createjs.Event.prototype.stopPropagation = function () { }
-
-- /**
-- * Sets {{#crossLink "Event/propagationStopped"}}{{/crossLink}} to true.
-- * Mirrors the DOM event standard.
-- * @method stopPropagation
-- **/
-- p.stopPropagation = function() {
-- this.propagationStopped = true;
-- };
-+ /**
-+ * Sets {{#crossLink "Event/propagationStopped"}}{{/crossLink}} and
-+ * {{#crossLink "Event/immediatePropagationStopped"}}{{/crossLink}} to true.
-+ * Mirrors the DOM event standard.
-+ *
-+ * @see [Event]
-+ */
-+createjs.Event.prototype.stopImmediatePropagation = function () { }
-
-- /**
-- * Sets {{#crossLink "Event/propagationStopped"}}{{/crossLink}} and
-- * {{#crossLink "Event/immediatePropagationStopped"}}{{/crossLink}} to true.
-- * Mirrors the DOM event standard.
-- * @method stopImmediatePropagation
-- **/
-- p.stopImmediatePropagation = function() {
-- this.immediatePropagationStopped = this.propagationStopped = true;
-- };
--
-- /**
-- * Causes the active listener to be removed via removeEventListener();
-- *
-- * myBtn.addEventListener("click", function(evt) {
-- * // do stuff...
-- * evt.remove(); // removes this listener.
-- * });
-- *
-- * @method remove
-- **/
-- p.remove = function() {
-- this.removed = true;
-- };
--
-- /**
-- * Returns a clone of the Event instance.
-- * @method clone
-- * @return {Event} a clone of the Event instance.
-- **/
-- p.clone = function() {
-- return new Event(this.type, this.bubbles, this.cancelable);
-- };
--
-- /**
-- * Provides a chainable shortcut method for setting a number of properties on the instance.
-- *
-- * @method set
-- * @param {Object} props A generic object containing properties to copy to the instance.
-- * @return {Event} Returns the instance the method is called on (useful for chaining calls.)
-- * @chainable
-- */
-- p.set = function(props) {
-- for (var n in props) { this[n] = props[n]; }
-- return this;
-- };
-+ /**
-+ * Returns a string representation of this object.
-+ *
-+ * @see [Event]
-+ * @returns {string} a string representation of the instance.
-+ */
-+createjs.Event.prototype.toString = function () { return ''; }
-
-- /**
-- * Returns a string representation of this object.
-- * @method toString
-- * @return {String} a string representation of the instance.
-- **/
-- p.toString = function() {
-- return "[Event (type="+this.type+")]";
-- };
-+ /**
-+ * Sets {{#crossLink "Event/defaultPrevented"}}{{/crossLink}} to true.
-+ * Mirrors the DOM event standard.
-+ *
-+ * @see [Event]
-+ */
-+createjs.Event.prototype.preventDefault = function () { }
-
-- createjs.Event = Event;
--}());
-diff --git a/createjs/target/downloads/EaselJS-0.8.0/src/createjs/events/EventDispatcher.js b/createjs/target/downloads/EaselJS-0.8.0/src/createjs/events/EventDispatcher.js
-index 0ae4781..a03fd10 100644
---- a/createjs/target/downloads/EaselJS-0.8.0/src/createjs/events/EventDispatcher.js
-+++ b/createjs/target/downloads/EaselJS-0.8.0/src/createjs/events/EventDispatcher.js
-@@ -1,407 +1,202 @@
--/*
--* EventDispatcher
--* Visit http://createjs.com/ for documentation, updates and examples.
--*
--* Copyright (c) 2010 gskinner.com, inc.
--*
--* Permission is hereby granted, free of charge, to any person
--* obtaining a copy of this software and associated documentation
--* files (the "Software"), to deal in the Software without
--* restriction, including without limitation the rights to use,
--* copy, modify, merge, publish, distribute, sublicense, and/or sell
--* copies of the Software, and to permit persons to whom the
--* Software is furnished to do so, subject to the following
--* conditions:
--*
--* The above copyright notice and this permission notice shall be
--* included in all copies or substantial portions of the Software.
--*
--* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
--* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
--* OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
--* NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
--* HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
--* WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
--* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
--* OTHER DEALINGS IN THE SOFTWARE.
--*/
--
--/**
-- * @module CreateJS
-- */
--
--// namespace:
--this.createjs = this.createjs||{};
--
--(function() {
-- "use strict";
--
--
--// constructor:
-- /**
-- * EventDispatcher provides methods for managing queues of event listeners and dispatching events.
-- *
-- * You can either extend EventDispatcher or mix its methods into an existing prototype or instance by using the
-- * EventDispatcher {{#crossLink "EventDispatcher/initialize"}}{{/crossLink}} method.
-- *
-- * Together with the CreateJS Event class, EventDispatcher provides an extended event model that is based on the
-- * DOM Level 2 event model, including addEventListener, removeEventListener, and dispatchEvent. It supports
-- * bubbling / capture, preventDefault, stopPropagation, stopImmediatePropagation, and handleEvent.
-- *
-- * EventDispatcher also exposes a {{#crossLink "EventDispatcher/on"}}{{/crossLink}} method, which makes it easier
-- * to create scoped listeners, listeners that only run once, and listeners with associated arbitrary data. The
-- * {{#crossLink "EventDispatcher/off"}}{{/crossLink}} method is merely an alias to
-- * {{#crossLink "EventDispatcher/removeEventListener"}}{{/crossLink}}.
-- *
-- * Another addition to the DOM Level 2 model is the {{#crossLink "EventDispatcher/removeAllEventListeners"}}{{/crossLink}}
-- * method, which can be used to listeners for all events, or listeners for a specific event. The Event object also
-- * includes a {{#crossLink "Event/remove"}}{{/crossLink}} method which removes the active listener.
-- *
-- * <h4>Example</h4>
-- * Add EventDispatcher capabilities to the "MyClass" class.
-- *
-- * EventDispatcher.initialize(MyClass.prototype);
-- *
-- * Add an event (see {{#crossLink "EventDispatcher/addEventListener"}}{{/crossLink}}).
-- *
-- * instance.addEventListener("eventName", handlerMethod);
-- * function handlerMethod(event) {
-- * console.log(event.target + " Was Clicked");
-- * }
-- *
-- * <b>Maintaining proper scope</b><br />
-- * Scope (ie. "this") can be be a challenge with events. Using the {{#crossLink "EventDispatcher/on"}}{{/crossLink}}
-- * method to subscribe to events simplifies this.
-- *
-- * instance.addEventListener("click", function(event) {
-- * console.log(instance == this); // false, scope is ambiguous.
-- * });
-- *
-- * instance.on("click", function(event) {
-- * console.log(instance == this); // true, "on" uses dispatcher scope by default.
-- * });
-- *
-- * If you want to use addEventListener instead, you may want to use function.bind() or a similar proxy to manage scope.
-- *
-- *
-- * @class EventDispatcher
-- * @constructor
-- **/
-- function EventDispatcher() {
--
--
-- // private properties:
-- /**
-- * @protected
-- * @property _listeners
-- * @type Object
-- **/
-- this._listeners = null;
--
-- /**
-- * @protected
-- * @property _captureListeners
-- * @type Object
-- **/
-- this._captureListeners = null;
-- }
-- var p = EventDispatcher.prototype;
--
-- /**
-- * <strong>REMOVED</strong>. Removed in favor of using `MySuperClass_constructor`.
-- * See {{#crossLink "Utility Methods/extend"}}{{/crossLink}} and {{#crossLink "Utility Methods/promote"}}{{/crossLink}}
-- * for details.
-- *
-- * There is an inheritance tutorial distributed with EaselJS in /tutorials/Inheritance.
-- *
-- * @method initialize
-- * @protected
-- * @deprecated
-- */
-- // p.initialize = function() {}; // searchable for devs wondering where it is.
--
--
--// static public methods:
-- /**
-- * Static initializer to mix EventDispatcher methods into a target object or prototype.
-- *
-- * EventDispatcher.initialize(MyClass.prototype); // add to the prototype of the class
-- * EventDispatcher.initialize(myObject); // add to a specific instance
-- *
-- * @method initialize
-- * @static
-- * @param {Object} target The target object to inject EventDispatcher methods into. This can be an instance or a
-- * prototype.
-- **/
-- EventDispatcher.initialize = function(target) {
-- target.addEventListener = p.addEventListener;
-- target.on = p.on;
-- target.removeEventListener = target.off = p.removeEventListener;
-- target.removeAllEventListeners = p.removeAllEventListeners;
-- target.hasEventListener = p.hasEventListener;
-- target.dispatchEvent = p.dispatchEvent;
-- target._dispatchEvent = p._dispatchEvent;
-- target.willTrigger = p.willTrigger;
-- };
--
--
--// public methods:
-- /**
-- * Adds the specified event listener. Note that adding multiple listeners to the same function will result in
-- * multiple callbacks getting fired.
-- *
-- * <h4>Example</h4>
-- *
-- * displayObject.addEventListener("click", handleClick);
-- * function handleClick(event) {
-- * // Click happened.
-- * }
-- *
-- * @method addEventListener
-- * @param {String} type The string type of the event.
-- * @param {Function | Object} listener An object with a handleEvent method, or a function that will be called when
-- * the event is dispatched.
-- * @param {Boolean} [useCapture] For events that bubble, indicates whether to listen for the event in the capture or bubbling/target phase.
-- * @return {Function | Object} Returns the listener for chaining or assignment.
-- **/
-- p.addEventListener = function(type, listener, useCapture) {
-- var listeners;
-- if (useCapture) {
-- listeners = this._captureListeners = this._captureListeners||{};
-- } else {
-- listeners = this._listeners = this._listeners||{};
-- }
-- var arr = listeners[type];
-- if (arr) { this.removeEventListener(type, listener, useCapture); }
-- arr = listeners[type]; // remove may have deleted the array
-- if (!arr) { listeners[type] = [listener]; }
-- else { arr.push(listener); }
-- return listener;
-- };
--
-- /**
-- * A shortcut method for using addEventListener that makes it easier to specify an execution scope, have a listener
-- * only run once, associate arbitrary data with the listener, and remove the listener.
-- *
-- * This method works by creating an anonymous wrapper function and subscribing it with addEventListener.
-- * The created anonymous function is returned for use with .removeEventListener (or .off).
-- *
-- * <h4>Example</h4>
-- *
-- * var listener = myBtn.on("click", handleClick, null, false, {count:3});
-- * function handleClick(evt, data) {
-- * data.count -= 1;
-- * console.log(this == myBtn); // true - scope defaults to the dispatcher
-- * if (data.count == 0) {
-- * alert("clicked 3 times!");
-- * myBtn.off("click", listener);
-- * // alternately: evt.remove();
-- * }
-- * }
-- *
-- * @method on
-- * @param {String} type The string type of the event.
-- * @param {Function | Object} listener An object with a handleEvent method, or a function that will be called when
-- * the event is dispatched.
-- * @param {Object} [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} [once=false] If true, the listener will remove itself after the first time it is triggered.
-- * @param {*} [data] Arbitrary data that will be included as the second parameter when the listener is called.
-- * @param {Boolean} [useCapture=false] For events that bubble, indicates whether to listen for the event in the capture or bubbling/target phase.
-- * @return {Function} Returns the anonymous function that was created and assigned as the listener. This is needed to remove the listener later using .removeEventListener.
-- **/
-- p.on = function(type, listener, scope, once, data, useCapture) {
-- if (listener.handleEvent) {
-- scope = scope||listener;
-- listener = listener.handleEvent;
-- }
-- scope = scope||this;
-- return this.addEventListener(type, function(evt) {
-- listener.call(scope, evt, data);
-- once&&evt.remove();
-- }, useCapture);
-- };
--
-- /**
-- * Removes the specified event listener.
-- *
-- * <b>Important Note:</b> that you must pass the exact function reference used when the event was added. If a proxy
-- * function, or function closure is used as the callback, the proxy/closure reference must be used - a new proxy or
-- * closure will not work.
-- *
-- * <h4>Example</h4>
-- *
-- * displayObject.removeEventListener("click", handleClick);
-- *
-- * @method removeEventListener
-- * @param {String} type The string type of the event.
-- * @param {Function | Object} listener The listener function or object.
-- * @param {Boolean} [useCapture] For events that bubble, indicates whether to listen for the event in the capture or bubbling/target phase.
-- **/
-- p.removeEventListener = function(type, listener, useCapture) {
-- var listeners = useCapture ? this._captureListeners : this._listeners;
-- if (!listeners) { return; }
-- var arr = listeners[type];
-- if (!arr) { return; }
-- for (var i=0,l=arr.length; i<l; i++) {
-- if (arr[i] == listener) {
-- if (l==1) { delete(listeners[type]); } // allows for faster checks.
-- else { arr.splice(i,1); }
-- break;
-- }
-- }
-- };
--
-- /**
-- * A shortcut to the removeEventListener method, with the same parameters and return value. This is a companion to the
-- * .on method.
-- *
-- * @method off
-- * @param {String} type The string type of the event.
-- * @param {Function | Object} listener The listener function or object.
-- * @param {Boolean} [useCapture] For events that bubble, indicates whether to listen for the event in the capture or bubbling/target phase.
-- **/
-- p.off = p.removeEventListener;
--
-- /**
-- * Removes all listeners for the specified type, or all listeners of all types.
-- *
-- * <h4>Example</h4>
-- *
-- * // Remove all listeners
-- * displayObject.removeAllEventListeners();
-- *
-- * // Remove all click listeners
-- * displayObject.removeAllEventListeners("click");
-- *
-- * @method removeAllEventListeners
-- * @param {String} [type] The string type of the event. If omitted, all listeners for all types will be removed.
-- **/
-- p.removeAllEventListeners = function(type) {
-- if (!type) { this._listeners = this._captureListeners = null; }
-- else {
-- if (this._listeners) { delete(this._listeners[type]); }
-- if (this._captureListeners) { delete(this._captureListeners[type]); }
-- }
-- };
--
-- /**
-- * Dispatches the specified event to all listeners.
-- *
-- * <h4>Example</h4>
-- *
-- * // Use a string event
-- * this.dispatchEvent("complete");
-- *
-- * // Use an Event instance
-- * var event = new createjs.Event("progress");
-- * this.dispatchEvent(event);
-- *
-- * @method dispatchEvent
-- * @param {Object | String | Event} eventObj An object with a "type" property, or a string type.
-- * While a generic object will work, it is recommended to use a CreateJS Event instance. If a string is used,
-- * dispatchEvent will construct an Event instance with the specified type.
-- * @return {Boolean} Returns the value of eventObj.defaultPrevented.
-- **/
-- p.dispatchEvent = function(eventObj) {
-- if (typeof eventObj == "string") {
-- // won't bubble, so skip everything if there's no listeners:
-- var listeners = this._listeners;
-- if (!listeners || !listeners[eventObj]) { return false; }
-- eventObj = new createjs.Event(eventObj);
-- } else if (eventObj.target && eventObj.clone) {
-- // redispatching an active event object, so clone it:
-- eventObj = eventObj.clone();
-- }
-- try { eventObj.target = this; } catch (e) {} // try/catch allows redispatching of native events
--
-- if (!eventObj.bubbles || !this.parent) {
-- this._dispatchEvent(eventObj, 2);
-- } else {
-- var top=this, list=[top];
-- while (top.parent) { list.push(top = top.parent); }
-- var i, l=list.length;
--
-- // capture & atTarget
-- for (i=l-1; i>=0 && !eventObj.propagationStopped; i--) {
-- list[i]._dispatchEvent(eventObj, 1+(i==0));
-- }
-- // bubbling
-- for (i=1; i<l && !eventObj.propagationStopped; i++) {
-- list[i]._dispatchEvent(eventObj, 3);
-- }
-- }
-- return eventObj.defaultPrevented;
-- };
--
-- /**
-- * Indicates whether there is at least one listener for the specified event type.
-- * @method hasEventListener
-- * @param {String} type The string type of the event.
-- * @return {Boolean} Returns true if there is at least one listener for the specified event.
-- **/
-- p.hasEventListener = function(type) {
-- var listeners = this._listeners, captureListeners = this._captureListeners;
-- return !!((listeners && listeners[type]) || (captureListeners && captureListeners[type]));
-- };
--
-- /**
-- * Indicates whether there is at least one listener for the specified event type on this object or any of its
-- * ancestors (parent, parent's parent, etc). A return value of true indicates that if a bubbling event of the
-- * specified type is dispatched from this object, it will trigger at least one listener.
-- *
-- * This is similar to {{#crossLink "EventDispatcher/hasEventListener"}}{{/crossLink}}, but it searches the entire
-- * event flow for a listener, not just this object.
-- * @method willTrigger
-- * @param {String} type The string type of the event.
-- * @return {Boolean} Returns `true` if there is at least one listener for the specified event.
-- **/
-- p.willTrigger = function(type) {
-- var o = this;
-- while (o) {
-- if (o.hasEventListener(type)) { return true; }
-- o = o.parent;
-- }
-- return false;
-- };
--
-- /**
-- * @method toString
-- * @return {String} a string representation of the instance.
-- **/
-- p.toString = function() {
-- return "[EventDispatcher]";
-- };
--
--
--// private methods:
-- /**
-- * @method _dispatchEvent
-- * @param {Object | String | Event} eventObj
-- * @param {Object} eventPhase
-- * @protected
-- **/
-- p._dispatchEvent = function(eventObj, eventPhase) {
-- var l, listeners = (eventPhase==1) ? this._captureListeners : this._listeners;
-- if (eventObj && listeners) {
-- var arr = listeners[eventObj.type];
-- if (!arr||!(l=arr.length)) { return; }
-- try { eventObj.currentTarget = this; } catch (e) {}
-- try { eventObj.eventPhase = eventPhase; } catch (e) {}
-- eventObj.removed = false;
--
-- arr = arr.slice(); // to avoid issues with items being removed or added during the dispatch
-- for (var i=0; i<l && !eventObj.immediatePropagationStopped; i++) {
-- var o = arr[i];
-- if (o.handleEvent) { o.handleEvent(eventObj); }
-- else { o(eventObj); }
-- if (eventObj.removed) {
-- this.off(eventObj.type, o, eventPhase==1);
-- eventObj.removed = false;
-- }
-- }
-- }
-- };
--
--
-- createjs.EventDispatcher = EventDispatcher;
--}());
-+/** @fileoverview Auto-generated Externs files
-+ * @externs
-+ */
-+/**
-+ * EventDispatcher provides methods for managing queues of event listeners and dispatching events.
-+ *
-+ * You can either extend EventDispatcher or mix its methods into an existing prototype or instance by using the
-+ * EventDispatcher {{#crossLink "EventDispatcher/initialize"}}{{/crossLink}} method.
-+ *
-+ * Together with the CreateJS Event class, EventDispatcher provides an extended event model that is based on the
-+ * DOM Level 2 event model, including addEventListener, removeEventListener, and dispatchEvent. It supports
-+ * bubbling / capture, preventDefault, stopPropagation, stopImmediatePropagation, and handleEvent.
-+ *
-+ * EventDispatcher also exposes a {{#crossLink "EventDispatcher/on"}}{{/crossLink}} method, which makes it easier
-+ * to create scoped listeners, listeners that only run once, and listeners with associated arbitrary data. The
-+ * {{#crossLink "EventDispatcher/off"}}{{/crossLink}} method is merely an alias to
-+ * {{#crossLink "EventDispatcher/removeEventListener"}}{{/crossLink}}.
-+ *
-+ * Another addition to the DOM Level 2 model is the {{#crossLink "EventDispatcher/removeAllEventListeners"}}{{/crossLink}}
-+ * method, which can be used to listeners for all events, or listeners for a specific event. The Event object also
-+ * includes a {{#crossLink "Event/remove"}}{{/crossLink}} method which removes the active listener.
-+ *
-+ * <h4>Example</h4>
-+ * Add EventDispatcher capabilities to the "MyClass" class.
-+ *
-+ * createjs.EventDispatcher.initialize(MyClass.prototype);
-+ *
-+ * Add an event (see {{#crossLink "EventDispatcher/addEventListener"}}{{/crossLink}}).
-+ *
-+ * instance.addEventListener("eventName", handlerMethod);
-+ * function handlerMethod(event) {
-+ * console.log(event.target + " Was Clicked");
-+ * }
-+ *
-+ * <b>Maintaining proper scope</b><br />
-+ * Scope (ie. "this") can be be a challenge with events. Using the {{#crossLink "EventDispatcher/on"}}{{/crossLink}}
-+ * method to subscribe to events simplifies this.
-+ *
-+ * instance.addEventListener("click", function(event) {
-+ * console.log(instance == this); // false, scope is ambiguous.
-+ * });
-+ *
-+ * instance.on("click", function(event) {
-+ * console.log(instance == this); // true, "on" uses dispatcher scope by default.
-+ * });
-+ *
-+ * If you want to use addEventListener instead, you may want to use function.bind() or a similar proxy to manage scope.
-+ *
-+ * @see [EventDispatcher]
-+ * @constructor
-+ */
-+createjs.EventDispatcher = function () {}
-+
-+ /**
-+ * Static initializer to mix EventDispatcher methods into a target object or prototype.
-+ *
-+ * createjs.EventDispatcher.initialize(MyClass.prototype); // add to the prototype of the class
-+ * createjs.EventDispatcher.initialize(myObject); // add to a specific instance
-+ *
-+ * @param {(Object|null)} target The target object to inject EventDispatcher methods into. This can be an instance or a prototype.
-+ * @see [EventDispatcher]
-+ */
-+createjs.EventDispatcher.initialize = function (target) { }
-+
-+ /**
-+ * Indicates whether there is at least one listener for the specified event type on this object or any of its
-+ * ancestors (parent, parent's parent, etc). A return value of true indicates that if a bubbling event of the
-+ * specified type is dispatched from this object, it will trigger at least one listener.
-+ *
-+ * This is similar to {{#crossLink "EventDispatcher/hasEventListener"}}{{/crossLink}}, but it searches the entire
-+ * event flow for a listener, not just this object.
-+ *
-+ * @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.
-+ */
-+createjs.EventDispatcher.prototype.willTrigger = function (type) { return null; }
-+
-+ /**
-+ * Removes all listeners for the specified type, or all listeners of all types.
-+ *
-+ * <h4>Example</h4>
-+ *
-+ * // Remove all listeners
-+ * displayObject.removeAllEventListeners();
-+ *
-+ * // Remove all click listeners
-+ * displayObject.removeAllEventListeners("click");
-+ *
-+ * @param {string=} opt_type The string type of the event. If omitted, all listeners for all types will be removed.
-+ * @see [EventDispatcher]
-+ */
-+createjs.EventDispatcher.prototype.removeAllEventListeners = function (opt_type) { }
-+
-+ /**
-+ * Adds the specified event listener. Note that adding multiple listeners to the same function will result in
-+ * multiple callbacks getting fired.
-+ *
-+ * <h4>Example</h4>
-+ *
-+ * displayObject.addEventListener("click", handleClick);
-+ * function handleClick(event) {
-+ * // Click happened.
-+ * }
-+ *
-+ * @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]
-+ * @returns {(Object|null)} Returns the listener for chaining or assignment.
-+ */
-+createjs.EventDispatcher.prototype.addEventListener = function (type, listener, opt_useCapture) { return null; }
-+
-+ /**
-+ * @param {(Event|Object|null)} eventObj
-+ * @param {(Object|null)} eventPhase
-+ * @see [EventDispatcher]
-+ */
-+createjs.EventDispatcher.prototype._dispatchEvent = function (eventObj, eventPhase) { }
-+
-+ /**
-+ * Dispatches the specified event to all listeners.
-+ *
-+ * <h4>Example</h4>
-+ *
-+ * // Use a string event
-+ * this.dispatchEvent("complete");
-+ *
-+ * // Use an Event instance
-+ * var event = new createjs.Event("progress");
-+ * this.dispatchEvent(event);
-+ *
-+ * @param {(Event|Object|null)} eventObj An object with a "type" property, or a string type. While a generic object will work, it is recommended to use a CreateJS Event instance. If a string is used, dispatchEvent will construct an Event instance with the specified type.
-+ * @see [EventDispatcher]
-+ * @returns {(boolean|null)} Returns the value of eventObj.defaultPrevented.
-+ */
-+createjs.EventDispatcher.prototype.dispatchEvent = function (eventObj) { return null; }
-+
-+ /**
-+ * Removes the specified event listener.
-+ *
-+ * <b>Important Note:</b> that you must pass the exact function reference used when the event was added. If a proxy
-+ * function, or function closure is used as the callback, the proxy/closure reference must be used - a new proxy or
-+ * closure will not work.
-+ *
-+ * <h4>Example</h4>
-+ *
-+ * displayObject.removeEventListener("click", handleClick);
-+ *
-+ * @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]
-+ */
-+createjs.EventDispatcher.prototype.removeEventListener = function (type, listener, opt_useCapture) { }
-+
-+ /**
-+ * A shortcut method for using addEventListener that makes it easier to specify an execution scope, have a listener
-+ * only run once, associate arbitrary data with the listener, and remove the listener.
-+ *
-+ * This method works by creating an anonymous wrapper function and subscribing it with addEventListener.
-+ * The created anonymous function is returned for use with .removeEventListener (or .off).
-+ *
-+ * <h4>Example</h4>
-+ *
-+ * var listener = myBtn.on("click", handleClick, null, false, {count:3});
-+ * function handleClick(evt, data) {
-+ * data.count -= 1;
-+ * console.log(this == myBtn); // true - scope defaults to the dispatcher
-+ * if (data.count == 0) {
-+ * alert("clicked 3 times!");
-+ * myBtn.off("click", listener);
-+ * // alternately: evt.remove();
-+ * }
-+ * }
-+ *
-+ * @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.
-+ * @param {*=} opt_data Arbitrary data that will be included as the second parameter when the listener is called.
-+ * @param {boolean=} opt_useCapture For events that bubble, indicates whether to listen for the event in the capture or bubbling/target phase.
-+ * @see [EventDispatcher]
-+ * @returns {(Function|null)} Returns the anonymous function that was created and assigned as the listener. This is needed to remove the listener later using .removeEventListener.
-+ */
-+createjs.EventDispatcher.prototype.on = function (type, listener, opt_scope, opt_once, opt_data, opt_useCapture) { return null; }
-+
-+ /**
-+ * @see [EventDispatcher]
-+ * @returns {string} a string representation of the instance.
-+ */
-+createjs.EventDispatcher.prototype.toString = function () { return ''; }
-+
-+ /**
-+ * Indicates whether there is at least one listener for the specified event type.
-+ *
-+ * @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.
-+ */
-+createjs.EventDispatcher.prototype.hasEventListener = function (type) { return null; }
-+
-diff --git a/createjs/target/downloads/EaselJS-0.8.0/src/createjs/utils/Ticker.js b/createjs/target/downloads/EaselJS-0.8.0/src/createjs/utils/Ticker.js
-index 3c5c4a6..6adbfb6 100644
---- a/createjs/target/downloads/EaselJS-0.8.0/src/createjs/utils/Ticker.js
-+++ b/createjs/target/downloads/EaselJS-0.8.0/src/createjs/utils/Ticker.js
-@@ -1,632 +1,183 @@
--/*
--* Ticker
--* Visit http://createjs.com/ for documentation, updates and examples.
--*
--* Copyright (c) 2010 gskinner.com, inc.
--*
--* Permission is hereby granted, free of charge, to any person
--* obtaining a copy of this software and associated documentation
--* files (the "Software"), to deal in the Software without
--* restriction, including without limitation the rights to use,
--* copy, modify, merge, publish, distribute, sublicense, and/or sell
--* copies of the Software, and to permit persons to whom the
--* Software is furnished to do so, subject to the following
--* conditions:
--*
--* The above copyright notice and this permission notice shall be
--* included in all copies or substantial portions of the Software.
--*
--* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
--* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
--* OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
--* NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
--* HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
--* WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
--* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
--* OTHER DEALINGS IN THE SOFTWARE.
--*/
--
-+/** @fileoverview Auto-generated Externs files
-+ * @externs
-+ */
- /**
-- * @module CreateJS
-+ * The Ticker provides a centralized tick or heartbeat broadcast at a set interval. Listeners can subscribe to the tick
-+ * event to be notified when a set time interval has elapsed.
-+ *
-+ * Note that the interval that the tick event is called is a target interval, and may be broadcast at a slower interval
-+ * when under high CPU load. The Ticker class uses a static interface (ex. `createjs.Ticker.framerate = 30;`) and
-+ * can not be instantiated.
-+ *
-+ * <h4>Example</h4>
-+ *
-+ * createjs.createjs.Ticker.addEventListener("tick", handleTick);
-+ * function handleTick(event) {
-+ * // Actions carried out each tick (aka frame)
-+ * if (!event.paused) {
-+ * // Actions carried out when the Ticker is not paused.
-+ * }
-+ * }
-+ *
-+ * @see [Ticker]
-+ * @constructor
- */
-+createjs.Ticker = function () {}
-+
-+ /**
-+ * Use the {{#crossLink "Ticker/framerate:property"}}{{/crossLink}} property instead.
-+ *
-+ * @param {(number|null)} value
-+ * @see [Ticker]
-+ */
-+createjs.Ticker.setFPS = function (value) { }
-+
-+ /**
-+ * @see [Ticker]
-+ */
-+createjs.Ticker._setupTick = function () { }
-+
-+ /**
-+ * Generated doc for missing method JSDoc.
-+ *
-+ * @see [Ticker]
-+ */
-+createjs.Ticker.addEventListener = function (type, handler) { }
-+
-+ /**
-+ * @see [Ticker]
-+ */
-+createjs.Ticker._handleRAF = function () { }
-+
-+ /**
-+ * Starts the tick. This is called automatically when the first listener is added.
-+ *
-+ * @see [Ticker]
-+ */
-+createjs.Ticker.init = function () { }
-+
-+ /**
-+ * @see [Ticker]
-+ */
-+createjs.Ticker._handleTimeout = function () { }
-+
-+ /**
-+ * Similar to getTime(), but returns the time on the most recent tick event object.
-+ *
-+ * @param runTime {Boolean} [runTime=false] If true, the runTime property will be returned instead of time.
-+ * @see [Ticker]
-+ * @returns {number} The time or runTime property from the most recent tick event or -1.
-+ */
-+createjs.Ticker.getEventTime = function (runTime) { return 0; }
-+
-+ /**
-+ * Use the {{#crossLink "Ticker/paused:property"}}{{/crossLink}} property instead.
-+ *
-+ * @param {(boolean|null)} value
-+ * @see [Ticker]
-+ */
-+createjs.Ticker.setPaused = function (value) { }
-+
-+ /**
-+ * Use the {{#crossLink "Ticker/framerate:property"}}{{/crossLink}} property instead.
-+ *
-+ * @see [Ticker]
-+ * @returns {(number|null)}
-+ */
-+createjs.Ticker.getInterval = function () { return 0; }
-+
-+ /**
-+ * Use the {{#crossLink "Ticker/paused:property"}}{{/crossLink}} property instead.
-+ *
-+ * @see [Ticker]
-+ * @returns {(boolean|null)}
-+ */
-+createjs.Ticker.getPaused = function () { return null; }
-+
-+ /**
-+ * @see [Ticker]
-+ */
-+createjs.Ticker._handleSynch = function () { }
-+
-+ /**
-+ * @see [Ticker]
-+ */
-+createjs.Ticker._tick = function () { }
-+
-+ /**
-+ * Returns the actual frames / ticks per second.
-+ *
-+ * @param {number=} opt_ticks The number of previous ticks over which to measure the actual frames / ticks per second. Defaults to the number of ticks per second.
-+ * @see [Ticker]
-+ * @returns {(number|null)} The actual frames / ticks per second. Depending on performance, this may differ from the target frames per second.
-+ */
-+createjs.Ticker.getMeasuredFPS = function (opt_ticks) { return 0; }
-+
-+ /**
-+ * Returns the number of milliseconds that have elapsed since Ticker was initialized via {{#crossLink "Ticker/init"}}.
-+ * Returns -1 if Ticker has not been initialized. For example, you could use
-+ * this in a time synchronized animation to determine the exact amount of time that has elapsed.
-+ *
-+ * @param {boolean=} opt_runTime If true only time elapsed while Ticker was not paused will be returned. If false, the value returned will be total time elapsed since the first tick event listener was added.
-+ * @see [Ticker]
-+ * @returns {(number|null)} Number of milliseconds that have elapsed since Ticker was initialized or -1.
-+ */
-+createjs.Ticker.getTime = function (opt_runTime) { return 0; }
-+
-+ /**
-+ * Returns the average time spent within a tick. This can vary significantly from the value provided by getMeasuredFPS
-+ * because it only measures the time spent within the tick execution stack.
-+ *
-+ * Example 1: With a target FPS of 20, getMeasuredFPS() returns 20fps, which indicates an average of 50ms between
-+ * the end of one tick and the end of the next. However, getMeasuredTickTime() returns 15ms. This indicates that
-+ * there may be up to 35ms of "idle" time between the end of one tick and the start of the next.
-+ *
-+ * Example 2: With a target FPS of 30, getFPS() returns 10fps, which indicates an average of 100ms between the end of
-+ * one tick and the end of the next. However, getMeasuredTickTime() returns 20ms. This would indicate that something
-+ * other than the tick is using ~80ms (another script, DOM rendering, etc).
-+ *
-+ * @param {number=} opt_ticks The number of previous ticks over which to measure the average time spent in a tick. Defaults to the number of ticks per second. To get only the last tick's time, pass in 1.
-+ * @see [Ticker]
-+ * @returns {(number|null)} The average time spent in a tick in milliseconds.
-+ */
-+createjs.Ticker.getMeasuredTickTime = function (opt_ticks) { return 0; }
-+
-+ /**
-+ * Generated doc for missing method JSDoc.
-+ *
-+ * @see [Ticker]
-+ */
-+createjs.Ticker._getTime = function () { }
-+
-+ /**
-+ * Stops the Ticker and removes all listeners. Use init() to restart the createjs.Ticker.
-+ *
-+ * @see [Ticker]
-+ */
-+createjs.Ticker.reset = function () { }
-+
-+ /**
-+ * Returns the number of ticks that have been broadcast by createjs.Ticker.
-+ *
-+ * @param {(boolean|null)} pauseable Indicates whether to include ticks that would have been broadcast while Ticker was paused. If true only tick events broadcast while Ticker is not paused will be returned. If false, tick events that would have been broadcast while Ticker was paused will be included in the return value. The default value is false.
-+ * @see [Ticker]
-+ * @returns {(number|null)} of ticks that have been broadcast.
-+ */
-+createjs.Ticker.getTicks = function (pauseable) { return 0; }
-+
-+ /**
-+ * Use the {{#crossLink "Ticker/interval:property"}}{{/crossLink}} property instead.
-+ *
-+ * @see [Ticker]
-+ * @returns {(number|null)}
-+ */
-+createjs.Ticker.getFPS = function () { return 0; }
-+
-+ /**
-+ * Use the {{#crossLink "Ticker/interval:property"}}{{/crossLink}} property instead.
-+ *
-+ * @param {(number|null)} interval
-+ * @see [Ticker]
-+ */
-+createjs.Ticker.setInterval = function (interval) { }
-
--// namespace:
--this.createjs = this.createjs||{};
--
--(function() {
-- "use strict";
--
--
--// constructor:
-- /**
-- * The Ticker provides a centralized tick or heartbeat broadcast at a set interval. Listeners can subscribe to the tick
-- * event to be notified when a set time interval has elapsed.
-- *
-- * Note that the interval that the tick event is called is a target interval, and may be broadcast at a slower interval
-- * when under high CPU load. The Ticker class uses a static interface (ex. `Ticker.framerate = 30;`) and
-- * can not be instantiated.
-- *
-- * <h4>Example</h4>
-- *
-- * createjs.Ticker.addEventListener("tick", handleTick);
-- * function handleTick(event) {
-- * // Actions carried out each tick (aka frame)
-- * if (!event.paused) {
-- * // Actions carried out when the Ticker is not paused.
-- * }
-- * }
-- *
-- * @class Ticker
-- * @uses EventDispatcher
-- * @static
-- **/
-- function Ticker() {
-- throw "Ticker cannot be instantiated.";
-- }
--
--
--// constants:
-- /**
-- * In this mode, Ticker uses the requestAnimationFrame API, but attempts to synch the ticks to target framerate. It
-- * uses a simple heuristic that compares the time of the RAF return to the target time for the current frame and
-- * dispatches the tick when the time is within a certain threshold.
-- *
-- * This mode has a higher variance for time between frames than TIMEOUT, but does not require that content be time
-- * based as with RAF while gaining the benefits of that API (screen synch, background throttling).
-- *
-- * Variance is usually lowest for framerates that are a divisor of the RAF frequency. This is usually 60, so
-- * framerates of 10, 12, 15, 20, and 30 work well.
-- *
-- * Falls back on TIMEOUT if the requestAnimationFrame API is not supported.
-- * @property RAF_SYNCHED
-- * @static
-- * @type {String}
-- * @default "synched"
-- * @readonly
-- **/
-- Ticker.RAF_SYNCHED = "synched";
--
-- /**
-- * In this mode, Ticker passes through the requestAnimationFrame heartbeat, ignoring the target framerate completely.
-- * Because requestAnimationFrame frequency is not deterministic, any content using this mode should be time based.
-- * You can leverage {{#crossLink "Ticker/getTime"}}{{/crossLink}} and the tick event object's "delta" properties
-- * to make this easier.
-- *
-- * Falls back on TIMEOUT if the requestAnimationFrame API is not supported.
-- * @property RAF
-- * @static
-- * @type {String}
-- * @default "raf"
-- * @readonly
-- **/
-- Ticker.RAF = "raf";
--
-- /**
-- * In this mode, Ticker uses the setTimeout API. This provides predictable, adaptive frame timing, but does not
-- * provide the benefits of requestAnimationFrame (screen synch, background throttling).
-- * @property TIMEOUT
-- * @static
-- * @type {String}
-- * @default "timer"
-- * @readonly
-- **/
-- Ticker.TIMEOUT = "timeout";
--
--
--// static events:
-- /**
-- * Dispatched each tick. The event will be dispatched to each listener even when the Ticker has been paused using
-- * {{#crossLink "Ticker/setPaused"}}{{/crossLink}}.
-- *
-- * <h4>Example</h4>
-- *
-- * createjs.Ticker.addEventListener("tick", handleTick);
-- * function handleTick(event) {
-- * console.log("Paused:", event.paused, event.delta);
-- * }
-- *
-- * @event tick
-- * @param {Object} target The object that dispatched the event.
-- * @param {String} type The event type.
-- * @param {Boolean} paused Indicates whether the ticker is currently paused.
-- * @param {Number} delta The time elapsed in ms since the last tick.
-- * @param {Number} time The total time in ms since Ticker was initialized.
-- * @param {Number} runTime The total time in ms that Ticker was not paused since it was initialized. For example,
-- * you could determine the amount of time that the Ticker has been paused since initialization with time-runTime.
-- * @since 0.6.0
-- */
--
--
--// public static properties:
-- /**
-- * Deprecated in favour of {{#crossLink "Ticker/timingMode"}}{{/crossLink}}, and will be removed in a future version. If true, timingMode will
-- * use {{#crossLink "Ticker/RAF_SYNCHED"}}{{/crossLink}} by default.
-- * @deprecated Deprecated in favour of {{#crossLink "Ticker/timingMode"}}{{/crossLink}}.
-- * @property useRAF
-- * @static
-- * @type {Boolean}
-- * @default false
-- **/
-- Ticker.useRAF = false;
--
-- /**
-- * Specifies the timing api (setTimeout or requestAnimationFrame) and mode to use. See
-- * {{#crossLink "Ticker/TIMEOUT"}}{{/crossLink}}, {{#crossLink "Ticker/RAF"}}{{/crossLink}}, and
-- * {{#crossLink "Ticker/RAF_SYNCHED"}}{{/crossLink}} for mode details.
-- * @property timingMode
-- * @static
-- * @type {String}
-- * @default Ticker.TIMEOUT
-- **/
-- Ticker.timingMode = null;
--
-- /**
-- * Specifies a maximum value for the delta property in the tick event object. This is useful when building time
-- * based animations and systems to prevent issues caused by large time gaps caused by background tabs, system sleep,
-- * alert dialogs, or other blocking routines. Double the expected frame duration is often an effective value
-- * (ex. maxDelta=50 when running at 40fps).
-- *
-- * This does not impact any other values (ex. time, runTime, etc), so you may experience issues if you enable maxDelta
-- * when using both delta and other values.
-- *
-- * If 0, there is no maximum.
-- * @property maxDelta
-- * @static
-- * @type {number}
-- * @default 0
-- */
-- Ticker.maxDelta = 0;
--
-- /**
-- * When the ticker is paused, all listeners will still receive a tick event, but the <code>paused</code> property of the event will be false.
-- * Also, while paused the `runTime` will not increase. See {{#crossLink "Ticker/tick:event"}}{{/crossLink}},
-- * {{#crossLink "Ticker/getTime"}}{{/crossLink}}, and {{#crossLink "Ticker/getEventTime"}}{{/crossLink}} for more info.
-- *
-- * <h4>Example</h4>
-- *
-- * createjs.Ticker.addEventListener("tick", handleTick);
-- * createjs.Ticker.paused = true;
-- * function handleTick(event) {
-- * console.log(event.paused,
-- * createjs.Ticker.getTime(false),
-- * createjs.Ticker.getTime(true));
-- * }
-- *
-- * @property paused
-- * @static
-- * @type {Boolean}
-- * @default false
-- **/
-- Ticker.paused = false;
--
--
--// mix-ins:
-- // EventDispatcher methods:
-- Ticker.removeEventListener = null;
-- Ticker.removeAllEventListeners = null;
-- Ticker.dispatchEvent = null;
-- Ticker.hasEventListener = null;
-- Ticker._listeners = null;
-- createjs.EventDispatcher.initialize(Ticker); // inject EventDispatcher methods.
-- Ticker._addEventListener = Ticker.addEventListener;
-- Ticker.addEventListener = function() {
-- !Ticker._inited&&Ticker.init();
-- return Ticker._addEventListener.apply(Ticker, arguments);
-- };
--
--
--// private static properties:
-- /**
-- * @property _inited
-- * @static
-- * @type {Boolean}
-- * @protected
-- **/
-- Ticker._inited = false;
--
-- /**
-- * @property _startTime
-- * @static
-- * @type {Number}
-- * @protected
-- **/
-- Ticker._startTime = 0;
--
-- /**
-- * @property _pausedTime
-- * @static
-- * @type {Number}
-- * @protected
-- **/
-- Ticker._pausedTime=0;
--
-- /**
-- * The number of ticks that have passed
-- * @property _ticks
-- * @static
-- * @type {Number}
-- * @protected
-- **/
-- Ticker._ticks = 0;
--
-- /**
-- * The number of ticks that have passed while Ticker has been paused
-- * @property _pausedTicks
-- * @static
-- * @type {Number}
-- * @protected
-- **/
-- Ticker._pausedTicks = 0;
--
-- /**
-- * @property _interval
-- * @static
-- * @type {Number}
-- * @protected
-- **/
-- Ticker._interval = 50;
--
-- /**
-- * @property _lastTime
-- * @static
-- * @type {Number}
-- * @protected
-- **/
-- Ticker._lastTime = 0;
--
-- /**
-- * @property _times
-- * @static
-- * @type {Array}
-- * @protected
-- **/
-- Ticker._times = null;
--
-- /**
-- * @property _tickTimes
-- * @static
-- * @type {Array}
-- * @protected
-- **/
-- Ticker._tickTimes = null;
--
-- /**
-- * Stores the timeout or requestAnimationFrame id.
-- * @property _timerId
-- * @static
-- * @type {Number}
-- * @protected
-- **/
-- Ticker._timerId = null;
--
-- /**
-- * True if currently using requestAnimationFrame, false if using setTimeout. This may be different than timingMode
-- * if that property changed and a tick hasn't fired.
-- * @property _raf
-- * @static
-- * @type {Boolean}
-- * @protected
-- **/
-- Ticker._raf = true;
--
--
--// static getter / setters:
-- /**
-- * Use the {{#crossLink "Ticker/interval:property"}}{{/crossLink}} property instead.
-- * @method setInterval
-- * @static
-- * @param {Number} interval
-- * @deprecated
-- **/
-- Ticker.setInterval = function(interval) {
-- Ticker._interval = interval;
-- if (!Ticker._inited) { return; }
-- Ticker._setupTick();
-- };
--
-- /**
-- * Use the {{#crossLink "Ticker/framerate:property"}}{{/crossLink}} property instead.
-- * @method getInterval
-- * @static
-- * @return {Number}
-- * @deprecated
-- **/
-- Ticker.getInterval = function() {
-- return Ticker._interval;
-- };
--
-- /**
-- * Use the {{#crossLink "Ticker/framerate:property"}}{{/crossLink}} property instead.
-- * @method setFPS
-- * @static
-- * @param {Number} value
-- * @deprecated
-- **/
-- Ticker.setFPS = function(value) {
-- Ticker.setInterval(1000/value);
-- };
--
-- /**
-- * Use the {{#crossLink "Ticker/interval:property"}}{{/crossLink}} property instead.
-- * @method getFPS
-- * @static
-- * @return {Number}
-- * @deprecated
-- **/
-- Ticker.getFPS = function() {
-- return 1000/Ticker._interval;
-- };
--
-- /**
-- * Indicates the target time (in milliseconds) between ticks. Default is 50 (20 FPS).
-- * Note that actual time between ticks may be more than specified depending on CPU load.
-- * This property is ignored if the ticker is using the `RAF` timing mode.
-- * @property interval
-- * @static
-- * @type {Number}
-- **/
--
-- /**
-- * Indicates the target frame rate in frames per second (FPS). Effectively just a shortcut to `interval`, where
-- * `framerate == 1000/interval`.
-- * @property framerate
-- * @static
-- * @type {Number}
-- **/
-- try {
-- Object.defineProperties(Ticker, {
-- interval: { get: Ticker.getInterval, set: Ticker.setInterval },
-- framerate: { get: Ticker.getFPS, set: Ticker.setFPS }
-- });
-- } catch (e) { console.log(e); }
--
--
--// public static methods:
-- /**
-- * Starts the tick. This is called automatically when the first listener is added.
-- * @method init
-- * @static
-- **/
-- Ticker.init = function() {
-- if (Ticker._inited) { return; }
-- Ticker._inited = true;
-- Ticker._times = [];
-- Ticker._tickTimes = [];
-- Ticker._startTime = Ticker._getTime();
-- Ticker._times.push(Ticker._lastTime = 0);
-- Ticker.interval = Ticker._interval;
-- };
--
-- /**
-- * Stops the Ticker and removes all listeners. Use init() to restart the Ticker.
-- * @method reset
-- * @static
-- **/
-- Ticker.reset = function() {
-- if (Ticker._raf) {
-- var f = window.cancelAnimationFrame || window.webkitCancelAnimationFrame || window.mozCancelAnimationFrame || window.oCancelAnimationFrame || window.msCancelAnimationFrame;
-- f&&f(Ticker._timerId);
-- } else {
-- clearTimeout(Ticker._timerId);
-- }
-- Ticker.removeAllEventListeners("tick");
-- Ticker._timerId = Ticker._times = Ticker._tickTimes = null;
-- Ticker._startTime = Ticker._lastTime = Ticker._ticks = 0;
-- Ticker._inited = false;
-- };
--
-- /**
-- * Returns the average time spent within a tick. This can vary significantly from the value provided by getMeasuredFPS
-- * because it only measures the time spent within the tick execution stack.
-- *
-- * Example 1: With a target FPS of 20, getMeasuredFPS() returns 20fps, which indicates an average of 50ms between
-- * the end of one tick and the end of the next. However, getMeasuredTickTime() returns 15ms. This indicates that
-- * there may be up to 35ms of "idle" time between the end of one tick and the start of the next.
-- *
-- * Example 2: With a target FPS of 30, getFPS() returns 10fps, which indicates an average of 100ms between the end of
-- * one tick and the end of the next. However, getMeasuredTickTime() returns 20ms. This would indicate that something
-- * other than the tick is using ~80ms (another script, DOM rendering, etc).
-- * @method getMeasuredTickTime
-- * @static
-- * @param {Number} [ticks] The number of previous ticks over which to measure the average time spent in a tick.
-- * Defaults to the number of ticks per second. To get only the last tick's time, pass in 1.
-- * @return {Number} The average time spent in a tick in milliseconds.
-- **/
-- Ticker.getMeasuredTickTime = function(ticks) {
-- var ttl=0, times=Ticker._tickTimes;
-- if (!times || times.length < 1) { return -1; }
--
-- // by default, calculate average for the past ~1 second:
-- ticks = Math.min(times.length, ticks||(Ticker.getFPS()|0));
-- for (var i=0; i<ticks; i++) { ttl += times[i]; }
-- return ttl/ticks;
-- };
--
-- /**
-- * Returns the actual frames / ticks per second.
-- * @method getMeasuredFPS
-- * @static
-- * @param {Number} [ticks] The number of previous ticks over which to measure the actual frames / ticks per second.
-- * Defaults to the number of ticks per second.
-- * @return {Number} The actual frames / ticks per second. Depending on performance, this may differ
-- * from the target frames per second.
-- **/
-- Ticker.getMeasuredFPS = function(ticks) {
-- var times = Ticker._times;
-- if (!times || times.length < 2) { return -1; }
--
-- // by default, calculate fps for the past ~1 second:
-- ticks = Math.min(times.length-1, ticks||(Ticker.getFPS()|0));
-- return 1000/((times[0]-times[ticks])/ticks);
-- };
--
-- /**
-- * Use the {{#crossLink "Ticker/paused:property"}}{{/crossLink}} property instead.
-- * @method setPaused
-- * @static
-- * @param {Boolean} value
-- * @deprecated
-- **/
-- Ticker.setPaused = function(value) {
-- // TODO: deprecated.
-- Ticker.paused = value;
-- };
--
-- /**
-- * Use the {{#crossLink "Ticker/paused:property"}}{{/crossLink}} property instead.
-- * @method getPaused
-- * @static
-- * @return {Boolean}
-- * @deprecated
-- **/
-- Ticker.getPaused = function() {
-- // TODO: deprecated.
-- return Ticker.paused;
-- };
--
-- /**
-- * Returns the number of milliseconds that have elapsed since Ticker was initialized via {{#crossLink "Ticker/init"}}.
-- * Returns -1 if Ticker has not been initialized. For example, you could use
-- * this in a time synchronized animation to determine the exact amount of time that has elapsed.
-- * @method getTime
-- * @static
-- * @param {Boolean} [runTime=false] If true only time elapsed while Ticker was not paused will be returned.
-- * If false, the value returned will be total time elapsed since the first tick event listener was added.
-- * @return {Number} Number of milliseconds that have elapsed since Ticker was initialized or -1.
-- **/
-- Ticker.getTime = function(runTime) {
-- return Ticker._startTime ? Ticker._getTime() - (runTime ? Ticker._pausedTime : 0) : -1;
-- };
--
-- /**
-- * Similar to getTime(), but returns the time on the most recent tick event object.
-- * @method getEventTime
-- * @static
-- * @param runTime {Boolean} [runTime=false] If true, the runTime property will be returned instead of time.
-- * @returns {number} The time or runTime property from the most recent tick event or -1.
-- */
-- Ticker.getEventTime = function(runTime) {
-- return Ticker._startTime ? (Ticker._lastTime || Ticker._startTime) - (runTime ? Ticker._pausedTime : 0) : -1;
-- };
--
-- /**
-- * Returns the number of ticks that have been broadcast by Ticker.
-- * @method getTicks
-- * @static
-- * @param {Boolean} pauseable Indicates whether to include ticks that would have been broadcast
-- * while Ticker was paused. If true only tick events broadcast while Ticker is not paused will be returned.
-- * If false, tick events that would have been broadcast while Ticker was paused will be included in the return
-- * value. The default value is false.
-- * @return {Number} of ticks that have been broadcast.
-- **/
-- Ticker.getTicks = function(pauseable) {
-- return Ticker._ticks - (pauseable ? Ticker._pausedTicks : 0);
-- };
--
--
--// private static methods:
-- /**
-- * @method _handleSynch
-- * @static
-- * @protected
-- **/
-- Ticker._handleSynch = function() {
-- Ticker._timerId = null;
-- Ticker._setupTick();
--
-- // run if enough time has elapsed, with a little bit of flexibility to be early:
-- if (Ticker._getTime() - Ticker._lastTime >= (Ticker._interval-1)*0.97) {
-- Ticker._tick();
-- }
-- };
--
-- /**
-- * @method _handleRAF
-- * @static
-- * @protected
-- **/
-- Ticker._handleRAF = function() {
-- Ticker._timerId = null;
-- Ticker._setupTick();
-- Ticker._tick();
-- };
--
-- /**
-- * @method _handleTimeout
-- * @static
-- * @protected
-- **/
-- Ticker._handleTimeout = function() {
-- Ticker._timerId = null;
-- Ticker._setupTick();
-- Ticker._tick();
-- };
--
-- /**
-- * @method _setupTick
-- * @static
-- * @protected
-- **/
-- Ticker._setupTick = function() {
-- if (Ticker._timerId != null) { return; } // avoid duplicates
--
-- var mode = Ticker.timingMode||(Ticker.useRAF&&Ticker.RAF_SYNCHED);
-- if (mode == Ticker.RAF_SYNCHED || mode == Ticker.RAF) {
-- var f = window.requestAnimationFrame || window.webkitRequestAnimationFrame || window.mozRequestAnimationFrame || window.oRequestAnimationFrame || window.msRequestAnimationFrame;
-- if (f) {
-- Ticker._timerId = f(mode == Ticker.RAF ? Ticker._handleRAF : Ticker._handleSynch);
-- Ticker._raf = true;
-- return;
-- }
-- }
-- Ticker._raf = false;
-- Ticker._timerId = setTimeout(Ticker._handleTimeout, Ticker._interval);
-- };
--
-- /**
-- * @method _tick
-- * @static
-- * @protected
-- **/
-- Ticker._tick = function() {
-- var paused = Ticker.paused;
-- var time = Ticker._getTime();
-- var elapsedTime = time-Ticker._lastTime;
-- Ticker._lastTime = time;
-- Ticker._ticks++;
--
-- if (paused) {
-- Ticker._pausedTicks++;
-- Ticker._pausedTime += elapsedTime;
-- }
--
-- if (Ticker.hasEventListener("tick")) {
-- var event = new createjs.Event("tick");
-- var maxDelta = Ticker.maxDelta;
-- event.delta = (maxDelta && elapsedTime > maxDelta) ? maxDelta : elapsedTime;
-- event.paused = paused;
-- event.time = time;
-- event.runTime = time-Ticker._pausedTime;
-- Ticker.dispatchEvent(event);
-- }
--
-- Ticker._tickTimes.unshift(Ticker._getTime()-time);
-- while (Ticker._tickTimes.length > 100) { Ticker._tickTimes.pop(); }
--
-- Ticker._times.unshift(time);
-- while (Ticker._times.length > 100) { Ticker._times.pop(); }
-- };
--
-- /**
-- * @method _getTime
-- * @static
-- * @protected
-- **/
-- var now = window.performance && (performance.now || performance.mozNow || performance.msNow || performance.oNow || performance.webkitNow);
-- Ticker._getTime = function() {
-- return ((now&&now.call(performance))||(new Date().getTime())) - Ticker._startTime;
-- };
--
--
-- createjs.Ticker = Ticker;
--}());
-diff --git a/createjs/target/downloads/EaselJS-0.8.0/src/createjs/utils/extend.js b/createjs/target/downloads/EaselJS-0.8.0/src/createjs/utils/extend.js
-index 690de15..9bf84cb 100644
---- a/createjs/target/downloads/EaselJS-0.8.0/src/createjs/utils/extend.js
-+++ b/createjs/target/downloads/EaselJS-0.8.0/src/createjs/utils/extend.js
-@@ -31,7 +31,7 @@
- */
-
- // namespace:
--this.createjs = this.createjs||{};
-+
-
- /**
- * @class Utility Methods
-@@ -52,11 +52,11 @@ this.createjs = this.createjs||{};
- *
- * @method extend
- * @param {Function} subclass The subclass.
-- * @param {Function} superclass The superclass to extend.
-+ * @param {Function} superclass The superclass to createjs.extend.
- * @return {Function} Returns the subclass's new prototype.
- */
- createjs.extend = function(subclass, superclass) {
-- "use strict";
-+
-
- function o() { this.constructor = subclass; }
- o.prototype = superclass.prototype;
-diff --git a/createjs/target/downloads/EaselJS-0.8.0/src/createjs/utils/indexOf.js b/createjs/target/downloads/EaselJS-0.8.0/src/createjs/utils/indexOf.js
-index 9719d4d..18b0bf0 100644
---- a/createjs/target/downloads/EaselJS-0.8.0/src/createjs/utils/indexOf.js
-+++ b/createjs/target/downloads/EaselJS-0.8.0/src/createjs/utils/indexOf.js
-@@ -31,7 +31,7 @@
- */
-
- // namespace:
--this.createjs = this.createjs||{};
-+
-
- /**
- * @class Utility Methods
-@@ -45,11 +45,11 @@ this.createjs = this.createjs||{};
- *
- * @method indexOf
- * @param {Array} array Array to search for searchElement
-- * @param searchElement Element to find in array.
-+ * @param {Object} searchElement Element to find in array.
- * @return {Number} The first index of searchElement in array.
- */
- createjs.indexOf = function (array, searchElement){
-- "use strict";
-+
-
- for (var i = 0,l=array.length; i < l; i++) {
- if (searchElement === array[i]) {
-diff --git a/createjs/target/downloads/EaselJS-0.8.0/src/createjs/utils/promote.js b/createjs/target/downloads/EaselJS-0.8.0/src/createjs/utils/promote.js
-index d09a381..5da6df7 100644
---- a/createjs/target/downloads/EaselJS-0.8.0/src/createjs/utils/promote.js
-+++ b/createjs/target/downloads/EaselJS-0.8.0/src/createjs/utils/promote.js
-@@ -31,7 +31,7 @@
- */
-
- // namespace:
--this.createjs = this.createjs||{};
-+
-
- /**
- * @class Utility Methods
-@@ -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) {
-- "use strict";
-+
-
- var subP = subclass.prototype, supP = (Object.getPrototypeOf&&Object.getPrototypeOf(subP))||subP.__proto__;
- if (supP) {
-diff --git a/createjs/target/downloads/EaselJS-0.8.0/src/easeljs/display/Bitmap.js b/createjs/target/downloads/EaselJS-0.8.0/src/easeljs/display/Bitmap.js
-index eecac1a..87b27d7 100644
---- a/createjs/target/downloads/EaselJS-0.8.0/src/easeljs/display/Bitmap.js
-+++ b/createjs/target/downloads/EaselJS-0.8.0/src/easeljs/display/Bitmap.js
-@@ -1,214 +1,37 @@
--/*
--* Bitmap
--* Visit http://createjs.com/ for documentation, updates and examples.
--*
--* Copyright (c) 2010 gskinner.com, inc.
--*
--* Permission is hereby granted, free of charge, to any person
--* obtaining a copy of this software and associated documentation
--* files (the "Software"), to deal in the Software without
--* restriction, including without limitation the rights to use,
--* copy, modify, merge, publish, distribute, sublicense, and/or sell
--* copies of the Software, and to permit persons to whom the
--* Software is furnished to do so, subject to the following
--* conditions:
--*
--* The above copyright notice and this permission notice shall be
--* included in all copies or substantial portions of the Software.
--*
--* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
--* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
--* OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
--* NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
--* HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
--* WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
--* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
--* OTHER DEALINGS IN THE SOFTWARE.
--*/
--
-+/** @fileoverview Auto-generated Externs files
-+ * @externs
-+ */
- /**
--* @module EaselJS
--*/
-+ * A Bitmap represents an Image, Canvas, or Video in the display list. A Bitmap can be instantiated using an existing
-+ * HTML element, or a string.
-+ *
-+ * <h4>Example</h4>
-+ *
-+ * var bitmap = new createjs.Bitmap("imagePath.jpg");
-+ *
-+ * <strong>Notes:</strong>
-+ * <ol>
-+ * <li>When a string path or image tag that is not yet loaded is used, the stage may need to be redrawn before it
-+ * will be displayed.</li>
-+ * <li>Bitmaps with an SVG source currently will not respect an alpha value other than 0 or 1. To get around this,
-+ * the Bitmap can be cached.</li>
-+ * <li>Bitmaps with an SVG source will taint the canvas with cross-origin data, which prevents interactivity. This
-+ * happens in all browsers except recent Firefox builds.</li>
-+ * <li>Images loaded cross-origin will throw cross-origin security errors when interacted with using a mouse, using
-+ * methods such as `getObjectUnderPoint`, or using filters, or caching. You can get around this by setting
-+ * `crossOrigin` flags on your images before passing them to EaselJS, eg: `img.crossOrigin="Anonymous";`</li>
-+ * </ol>
-+ *
-+ * @see [Bitmap]
-+ * @param {(HTMLCanvasElement|HTMLVideoElement|Image|string|null)} imageOrUri The source object or URI to an image to display. This can be either an Image, Canvas, or Video object, or a string URI to an image file to load and use. If it is a URI, a new Image object will be constructed and assigned to the .image property.
-+ * @constructor
-+ * @extends createjs.DisplayObject
-+
-+ */
-+createjs.Bitmap = function (imageOrUri) {}
-
--// namespace:
--this.createjs = this.createjs||{};
-
--(function() {
--
-- /**
-- * A Bitmap represents an Image, Canvas, or Video in the display list. A Bitmap can be instantiated using an existing
-- * HTML element, or a string.
-- *
-- * <h4>Example</h4>
-- *
-- * var bitmap = new createjs.Bitmap("imagePath.jpg");
-- *
-- * <strong>Notes:</strong>
-- * <ol>
-- * <li>When a string path or image tag that is not yet loaded is used, the stage may need to be redrawn before it
-- * will be displayed.</li>
-- * <li>Bitmaps with an SVG source currently will not respect an alpha value other than 0 or 1. To get around this,
-- * the Bitmap can be cached.</li>
-- * <li>Bitmaps with an SVG source will taint the canvas with cross-origin data, which prevents interactivity. This
-- * happens in all browsers except recent Firefox builds.</li>
-- * <li>Images loaded cross-origin will throw cross-origin security errors when interacted with using a mouse, using
-- * methods such as `getObjectUnderPoint`, or using filters, or caching. You can get around this by setting
-- * `crossOrigin` flags on your images before passing them to EaselJS, eg: `img.crossOrigin="Anonymous";`</li>
-- * </ol>
-- *
-- * @class Bitmap
-- * @extends DisplayObject
-- * @constructor
-- * @param {Image | HTMLCanvasElement | HTMLVideoElement | String} imageOrUri The source object or URI to an image to
-- * display. This can be either an Image, Canvas, or Video object, or a string URI to an image file to load and use.
-- * If it is a URI, a new Image object will be constructed and assigned to the .image property.
-- **/
-- function Bitmap(imageOrUri) {
-- this.DisplayObject_constructor();
--
--
-- // public properties:
-- /**
-- * The image to render. This can be an Image, a Canvas, or a Video. Not all browsers (especially
-- * mobile browsers) support drawing video to a canvas.
-- * @property image
-- * @type Image | HTMLCanvasElement | HTMLVideoElement
-- **/
-- if (typeof imageOrUri == "string") {
-- this.image = document.createElement("img");
-- this.image.src = imageOrUri;
-- } else {
-- this.image = imageOrUri;
-- }
--
-- /**
-- * Specifies an area of the source image to draw. If omitted, the whole image will be drawn.
-- * Note that video sources must have a width / height set to work correctly with `sourceRect`.
-- * @property sourceRect
-- * @type Rectangle
-- * @default null
-- */
-- this.sourceRect = null;
-- }
-- var p = createjs.extend(Bitmap, createjs.DisplayObject);
--
--
--// public methods:
-- /**
-- * Constructor alias for backwards compatibility. This method will be removed in future versions.
-- * Subclasses should be updated to use {{#crossLink "Utility Methods/extends"}}{{/crossLink}}.
-- * @method initialize
-- * @deprecated in favour of `createjs.promote()`
-- **/
-- p.initialize = Bitmap; // TODO: deprecated.
-
-- /**
-- * Returns true or false indicating whether the display object would be visible if drawn to a canvas.
-- * This does not account for whether it would be visible within the boundaries of the stage.
-- *
-- * NOTE: This method is mainly for internal use, though it may be useful for advanced uses.
-- * @method isVisible
-- * @return {Boolean} Boolean indicating whether the display object would be visible if drawn to a canvas
-- **/
-- p.isVisible = function() {
-- var hasContent = this.cacheCanvas || (this.image && (this.image.complete || this.image.getContext || this.image.readyState >= 2));
-- return !!(this.visible && this.alpha > 0 && this.scaleX != 0 && this.scaleY != 0 && hasContent);
-- };
-
-- /**
-- * Draws the display object into the specified context ignoring its visible, alpha, shadow, and transform.
-- * Returns true if the draw was handled (useful for overriding functionality).
-- *
-- * NOTE: This method is mainly for internal use, though it may be useful for advanced uses.
-- * @method draw
-- * @param {CanvasRenderingContext2D} ctx The canvas 2D context object to draw into.
-- * @param {Boolean} [ignoreCache=false] Indicates whether the draw operation should ignore any current cache.
-- * For example, used for drawing the cache (to prevent it from simply drawing an existing cache back
-- * into itself).
-- * @return {Boolean}
-- **/
-- p.draw = function(ctx, ignoreCache) {
-- if (this.DisplayObject_draw(ctx, ignoreCache) || !this.image) { return true; }
-- var img = this.image, rect = this.sourceRect;
-- if (rect) {
-- // some browsers choke on out of bound values, so we'll fix them:
-- var x1 = rect.x, y1 = rect.y, x2 = x1 + rect.width, y2 = y1 + rect.height, x = 0, y = 0, w = img.width, h = img.height;
-- if (x1 < 0) { x -= x1; x1 = 0; }
-- if (x2 > w) { x2 = w; }
-- if (y1 < 0) { y -= y1; y1 = 0; }
-- if (y2 > h) { y2 = h; }
-- ctx.drawImage(img, x1, y1, x2-x1, y2-y1, x, y, x2-x1, y2-y1);
-- } else {
-- ctx.drawImage(img, 0, 0);
-- }
-- return true;
-- };
--
-- //Note, the doc sections below document using the specified APIs (from DisplayObject) from
-- //Bitmap. This is why they have no method implementations.
--
-- /**
-- * Because the content of a Bitmap is already in a simple format, cache is unnecessary for Bitmap instances.
-- * You should <b>not</b> cache Bitmap instances as it can degrade performance.
-- *
-- * <strong>However: If you want to use a filter on a Bitmap, you <em>MUST</em> cache it, or it will not work.</strong>
-- * To see the API for caching, please visit the DisplayObject {{#crossLink "DisplayObject/cache"}}{{/crossLink}}
-- * method.
-- * @method cache
-- **/
--
-- /**
-- * Because the content of a Bitmap is already in a simple format, cache is unnecessary for Bitmap instances.
-- * You should <b>not</b> cache Bitmap instances as it can degrade performance.
-- *
-- * <strong>However: If you want to use a filter on a Bitmap, you <em>MUST</em> cache it, or it will not work.</strong>
-- * To see the API for caching, please visit the DisplayObject {{#crossLink "DisplayObject/cache"}}{{/crossLink}}
-- * method.
-- * @method updateCache
-- **/
--
-- /**
-- * Because the content of a Bitmap is already in a simple format, cache is unnecessary for Bitmap instances.
-- * You should <b>not</b> cache Bitmap instances as it can degrade performance.
-- *
-- * <strong>However: If you want to use a filter on a Bitmap, you <em>MUST</em> cache it, or it will not work.</strong>
-- * To see the API for caching, please visit the DisplayObject {{#crossLink "DisplayObject/cache"}}{{/crossLink}}
-- * method.
-- * @method uncache
-- **/
-
-- /**
-- * Docced in superclass.
-- */
-- p.getBounds = function() {
-- var rect = this.DisplayObject_getBounds();
-- if (rect) { return rect; }
-- var o = this.sourceRect || this.image;
-- var hasContent = (this.image && (this.image.complete || this.image.getContext || this.image.readyState >= 2));
-- return hasContent ? this._rectangle.setValues(0, 0, o.width, o.height) : null;
-- };
--
-- /**
-- * Returns a clone of the Bitmap instance.
-- * @method clone
-- * @return {Bitmap} a clone of the Bitmap instance.
-- **/
-- p.clone = function() {
-- var o = new Bitmap(this.image);
-- if (this.sourceRect) { o.sourceRect = this.sourceRect.clone(); }
-- this._cloneProps(o);
-- return o;
-- };
--
-- /**
-- * Returns a string representation of this object.
-- * @method toString
-- * @return {String} a string representation of the instance.
-- **/
-- p.toString = function() {
-- return "[Bitmap (name="+ this.name +")]";
-- };
-
--
-- createjs.Bitmap = createjs.promote(Bitmap, "DisplayObject");
--}());
-diff --git a/createjs/target/downloads/EaselJS-0.8.0/src/easeljs/display/BitmapText.js b/createjs/target/downloads/EaselJS-0.8.0/src/easeljs/display/BitmapText.js
-index b028d9b..60e513c 100644
---- a/createjs/target/downloads/EaselJS-0.8.0/src/easeljs/display/BitmapText.js
-+++ b/createjs/target/downloads/EaselJS-0.8.0/src/easeljs/display/BitmapText.js
-@@ -1,343 +1,61 @@
--/*
--* BitmapText
--* Visit http://createjs.com/ for documentation, updates and examples.
--*
--* Copyright (c) 2010 gskinner.com, inc.
--*
--* Permission is hereby granted, free of charge, to any person
--* obtaining a copy of this software and associated documentation
--* files (the "Software"), to deal in the Software without
--* restriction, including without limitation the rights to use,
--* copy, modify, merge, publish, distribute, sublicense, and/or sell
--* copies of the Software, and to permit persons to whom the
--* Software is furnished to do so, subject to the following
--* conditions:
--*
--* The above copyright notice and this permission notice shall be
--* included in all copies or substantial portions of the Software.
--*
--* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
--* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
--* OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
--* NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
--* HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
--* WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
--* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
--* OTHER DEALINGS IN THE SOFTWARE.
--*/
-+/** @fileoverview Auto-generated Externs files
-+ * @externs
-+ */
-+/**
-+ * Displays text using bitmap glyphs defined in a sprite sheet. Multi-line text is supported
-+ * using new line characters, but automatic wrapping is not supported. See the
-+ * {{#crossLink "BitmapText/spriteSheet:property"}}{{/crossLink}}
-+ * property for more information on defining glyphs.
-+ *
-+ * <strong>Important:</strong> BitmapText extends Container, but is not designed to be used as one.
-+ * As such, methods like addChild and removeChild are disabled.
-+ *
-+ * @see [BitmapText]
-+ * @param {string=} opt_text The text to display.
-+ * @param {createjs.SpriteSheet=} opt_spriteSheet The spritesheet that defines the character glyphs.
-+ * @constructor
-+ * @extends createjs.DisplayObject
-+
-+ */
-+createjs.BitmapText = function (opt_text, opt_spriteSheet) {}
-+
-+ /**
-+ * @param {(createjs.SpriteSheet|null)} ss
-+ * @see [BitmapText]
-+ * @returns {(number|null)}
-+ */
-+createjs.BitmapText.prototype._getLineHeight = function (ss) { return 0; }
-+
-+
-+
-+
-+ /**
-+ * @param {(createjs.SpriteSheet|null)} ss
-+ * @see [BitmapText]
-+ * @returns {(number|null)}
-+ */
-+createjs.BitmapText.prototype._getSpaceWidth = function (ss) { return 0; }
-+
-+
-+ /**
-+ * @param {string} character
-+ * @param {(createjs.SpriteSheet|null)} spriteSheet
-+ * @see [BitmapText]
-+ * @returns {(number|null)}
-+ */
-+createjs.BitmapText.prototype._getFrameIndex = function (character, spriteSheet) { return 0; }
-+
-+
-+ /**
-+ * @param {string} character
-+ * @param {(createjs.SpriteSheet|null)} spriteSheet
-+ * @see [BitmapText]
-+ * @returns {(Object|null)}
-+ */
-+createjs.BitmapText.prototype._getFrame = function (character, spriteSheet) { return null; }
-+
-+ /**
-+ * @see [BitmapText]
-+ */
-+createjs.BitmapText.prototype._updateText = function () { }
-
--this.createjs = this.createjs || {};
--
--(function () {
-- "use strict";
--
--
--// constructor:
-- /**
-- * Displays text using bitmap glyphs defined in a sprite sheet. Multi-line text is supported
-- * using new line characters, but automatic wrapping is not supported. See the
-- * {{#crossLink "BitmapText/spriteSheet:property"}}{{/crossLink}}
-- * property for more information on defining glyphs.
-- *
-- * <strong>Important:</strong> BitmapText extends Container, but is not designed to be used as one.
-- * As such, methods like addChild and removeChild are disabled.
-- * @class BitmapText
-- * @extends DisplayObject
-- * @param {String} [text=""] The text to display.
-- * @param {SpriteSheet} [spriteSheet=null] The spritesheet that defines the character glyphs.
-- * @constructor
-- **/
-- function BitmapText(text, spriteSheet) {
-- this.Container_constructor();
--
--
-- // public properties:
-- /**
-- * The text to display.
-- * @property text
-- * @type String
-- * @default ""
-- **/
-- this.text = text||"";
--
-- /**
-- * A SpriteSheet instance that defines the glyphs for this bitmap text. Each glyph/character
-- * should have a single frame animation defined in the sprite sheet named the same as
-- * corresponding character. For example, the following animation definition:
-- *
-- * "A": {frames: [0]}
-- *
-- * would indicate that the frame at index 0 of the spritesheet should be drawn for the "A" character. The short form
-- * is also acceptable:
-- *
-- * "A": 0
-- *
-- * Note that if a character in the text is not found in the sprite sheet, it will also
-- * try to use the alternate case (upper or lower).
-- *
-- * See SpriteSheet for more information on defining sprite sheet data.
-- * @property spriteSheet
-- * @type String
-- * @default null
-- **/
-- this.spriteSheet = spriteSheet;
--
-- /**
-- * The height of each line of text. If 0, then it will use a line height calculated
-- * by checking for the height of the "1", "T", or "L" character (in that order). If
-- * those characters are not defined, it will use the height of the first frame of the
-- * sprite sheet.
-- * @property lineHeight
-- * @type Number
-- * @default 0
-- **/
-- this.lineHeight = 0;
--
-- /**
-- * This spacing (in pixels) will be added after each character in the output.
-- * @property letterSpacing
-- * @type Number
-- * @default 0
-- **/
-- this.letterSpacing = 0;
--
-- /**
-- * If a space character is not defined in the sprite sheet, then empty pixels equal to
-- * spaceWidth will be inserted instead. If 0, then it will use a value calculated
-- * by checking for the width of the "1", "l", "E", or "A" character (in that order). If
-- * those characters are not defined, it will use the width of the first frame of the
-- * sprite sheet.
-- * @property spaceWidth
-- * @type Number
-- * @default 0
-- **/
-- this.spaceWidth = 0;
--
--
-- // private properties:
-- /**
-- * @property _oldProps
-- * @type Object
-- * @protected
-- **/
-- this._oldProps = {text:0,spriteSheet:0,lineHeight:0,letterSpacing:0,spaceWidth:0};
-- }
-- var p = createjs.extend(BitmapText, createjs.Container);
--
-- /**
-- * <strong>REMOVED</strong>. Removed in favor of using `MySuperClass_constructor`.
-- * See {{#crossLink "Utility Methods/extend"}}{{/crossLink}} and {{#crossLink "Utility Methods/promote"}}{{/crossLink}}
-- * for details.
-- *
-- * There is an inheritance tutorial distributed with EaselJS in /tutorials/Inheritance.
-- *
-- * @method initialize
-- * @protected
-- * @deprecated
-- */
-- // p.initialize = function() {}; // searchable for devs wondering where it is.
--
--// static properties:
-- /**
-- * BitmapText uses Sprite instances to draw text. To reduce the creation and destruction of instances (and thus garbage collection), it maintains
-- * an internal object pool of sprite instances to reuse. Increasing this value can cause more sprites to be
-- * retained, slightly increasing memory use, but reducing instantiation.
-- * @property maxPoolSize
-- * @type Number
-- * @static
-- * @default 100
-- **/
-- BitmapText.maxPoolSize = 100;
--
-- /**
-- * Sprite object pool.
-- * @type {Array}
-- * @static
-- * @private
-- */
-- BitmapText._spritePool = [];
--
--
--// public methods:
-- /**
-- * Docced in superclass.
-- **/
-- p.draw = function(ctx, ignoreCache) {
-- if (this.DisplayObject_draw(ctx, ignoreCache)) { return; }
-- this._updateText();
-- this.Container_draw(ctx, ignoreCache);
-- };
--
-- /**
-- * Docced in superclass.
-- **/
-- p.getBounds = function() {
-- this._updateText();
-- return this.Container_getBounds();
-- };
--
-- /**
-- * Returns true or false indicating whether the display object would be visible if drawn to a canvas.
-- * This does not account for whether it would be visible within the boundaries of the stage.
-- * NOTE: This method is mainly for internal use, though it may be useful for advanced uses.
-- * @method isVisible
-- * @return {Boolean} Boolean indicating whether the display object would be visible if drawn to a canvas
-- **/
-- p.isVisible =
<TRUNCATED>
[36/36] flex-typedefs git commit: prepare Maven build for next RC by
changing 0.8.0-SNAPSHOT to 0.8.0
Posted by ah...@apache.org.
prepare Maven build for next RC by changing 0.8.0-SNAPSHOT to 0.8.0
Project: http://git-wip-us.apache.org/repos/asf/flex-typedefs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-typedefs/commit/ee52d352
Tree: http://git-wip-us.apache.org/repos/asf/flex-typedefs/tree/ee52d352
Diff: http://git-wip-us.apache.org/repos/asf/flex-typedefs/diff/ee52d352
Branch: refs/heads/master
Commit: ee52d3526c3c6fe381f5908daf6708b260174151
Parents: b72f9b8
Author: piotrz <pi...@apache.org>
Authored: Fri Jun 16 08:03:54 2017 +0200
Committer: piotrz <pi...@apache.org>
Committed: Fri Jun 16 08:03:54 2017 +0200
----------------------------------------------------------------------
GCL/pom.xml | 6 +++---
cordova/pom.xml | 6 +++---
createjs/pom.xml | 6 +++---
google_maps/pom.xml | 6 +++---
jasmine/pom.xml | 6 +++---
jquery/pom.xml | 6 +++---
js/pom.xml | 4 ++--
node/pom.xml | 6 +++---
pom.xml | 4 ++--
9 files changed, 25 insertions(+), 25 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-typedefs/blob/ee52d352/GCL/pom.xml
----------------------------------------------------------------------
diff --git a/GCL/pom.xml b/GCL/pom.xml
index 8bb0d24..b9c24b5 100644
--- a/GCL/pom.xml
+++ b/GCL/pom.xml
@@ -23,11 +23,11 @@
<parent>
<groupId>org.apache.flex.flexjs.typedefs</groupId>
<artifactId>flexjs-typedefs-parent</artifactId>
- <version>0.8.0-SNAPSHOT</version>
+ <version>0.8.0</version>
</parent>
<artifactId>flexjs-typedefs-gcl</artifactId>
- <version>0.8.0-SNAPSHOT</version>
+ <version>0.8.0</version>
<packaging>swc</packaging>
<name>Apache Flex - FlexJS: TypeDefs: GCL</name>
@@ -59,7 +59,7 @@
<dependency>
<groupId>org.apache.flex.flexjs.typedefs</groupId>
<artifactId>flexjs-typedefs-js</artifactId>
- <version>0.8.0-SNAPSHOT</version>
+ <version>0.8.0</version>
<type>swc</type>
<classifier>typedefs</classifier>
<scope>runtime</scope>
http://git-wip-us.apache.org/repos/asf/flex-typedefs/blob/ee52d352/cordova/pom.xml
----------------------------------------------------------------------
diff --git a/cordova/pom.xml b/cordova/pom.xml
index 604c8a3..b6cbb05 100644
--- a/cordova/pom.xml
+++ b/cordova/pom.xml
@@ -23,11 +23,11 @@
<parent>
<groupId>org.apache.flex.flexjs.typedefs</groupId>
<artifactId>flexjs-typedefs-parent</artifactId>
- <version>0.8.0-SNAPSHOT</version>
+ <version>0.8.0</version>
</parent>
<artifactId>flexjs-typedefs-cordova</artifactId>
- <version>0.8.0-SNAPSHOT</version>
+ <version>0.8.0</version>
<packaging>swc</packaging>
<name>Apache Flex - FlexJS: TypeDefs: Cordova</name>
@@ -76,7 +76,7 @@
<dependency>
<groupId>org.apache.flex.flexjs.typedefs</groupId>
<artifactId>flexjs-typedefs-js</artifactId>
- <version>0.8.0-SNAPSHOT</version>
+ <version>0.8.0</version>
<type>swc</type>
<classifier>typedefs</classifier>
<scope>runtime</scope>
http://git-wip-us.apache.org/repos/asf/flex-typedefs/blob/ee52d352/createjs/pom.xml
----------------------------------------------------------------------
diff --git a/createjs/pom.xml b/createjs/pom.xml
index ddc313f..42f71d8 100644
--- a/createjs/pom.xml
+++ b/createjs/pom.xml
@@ -23,11 +23,11 @@
<parent>
<groupId>org.apache.flex.flexjs.typedefs</groupId>
<artifactId>flexjs-typedefs-parent</artifactId>
- <version>0.8.0-SNAPSHOT</version>
+ <version>0.8.0</version>
</parent>
<artifactId>flexjs-typedefs-createjs</artifactId>
- <version>0.8.0-SNAPSHOT</version>
+ <version>0.8.0</version>
<packaging>swc</packaging>
<name>Apache Flex - FlexJS: TypeDefs: CreateJS</name>
@@ -239,7 +239,7 @@
<dependency>
<groupId>org.apache.flex.flexjs.typedefs</groupId>
<artifactId>flexjs-typedefs-js</artifactId>
- <version>0.8.0-SNAPSHOT</version>
+ <version>0.8.0</version>
<type>swc</type>
<classifier>typedefs</classifier>
<scope>runtime</scope>
http://git-wip-us.apache.org/repos/asf/flex-typedefs/blob/ee52d352/google_maps/pom.xml
----------------------------------------------------------------------
diff --git a/google_maps/pom.xml b/google_maps/pom.xml
index da87f6b..3220ab4 100644
--- a/google_maps/pom.xml
+++ b/google_maps/pom.xml
@@ -23,11 +23,11 @@
<parent>
<groupId>org.apache.flex.flexjs.typedefs</groupId>
<artifactId>flexjs-typedefs-parent</artifactId>
- <version>0.8.0-SNAPSHOT</version>
+ <version>0.8.0</version>
</parent>
<artifactId>flexjs-typedefs-googlemaps</artifactId>
- <version>0.8.0-SNAPSHOT</version>
+ <version>0.8.0</version>
<packaging>swc</packaging>
<name>Apache Flex - FlexJS: TypeDefs: GoogleMaps</name>
@@ -126,7 +126,7 @@
<dependency>
<groupId>org.apache.flex.flexjs.typedefs</groupId>
<artifactId>flexjs-typedefs-js</artifactId>
- <version>0.8.0-SNAPSHOT</version>
+ <version>0.8.0</version>
<type>swc</type>
<classifier>typedefs</classifier>
<scope>runtime</scope>
http://git-wip-us.apache.org/repos/asf/flex-typedefs/blob/ee52d352/jasmine/pom.xml
----------------------------------------------------------------------
diff --git a/jasmine/pom.xml b/jasmine/pom.xml
index 8fd82fc..ee400f8 100644
--- a/jasmine/pom.xml
+++ b/jasmine/pom.xml
@@ -23,11 +23,11 @@
<parent>
<groupId>org.apache.flex.flexjs.typedefs</groupId>
<artifactId>flexjs-typedefs-parent</artifactId>
- <version>0.8.0-SNAPSHOT</version>
+ <version>0.8.0</version>
</parent>
<artifactId>flexjs-typedefs-jasmine</artifactId>
- <version>0.8.0-SNAPSHOT</version>
+ <version>0.8.0</version>
<packaging>swc</packaging>
<name>Apache Flex - FlexJS: TypeDefs: Jasmine</name>
@@ -110,7 +110,7 @@
<dependency>
<groupId>org.apache.flex.flexjs.typedefs</groupId>
<artifactId>flexjs-typedefs-js</artifactId>
- <version>0.8.0-SNAPSHOT</version>
+ <version>0.8.0</version>
<type>swc</type>
<classifier>typedefs</classifier>
<scope>runtime</scope>
http://git-wip-us.apache.org/repos/asf/flex-typedefs/blob/ee52d352/jquery/pom.xml
----------------------------------------------------------------------
diff --git a/jquery/pom.xml b/jquery/pom.xml
index 0eeff34..81bd566 100644
--- a/jquery/pom.xml
+++ b/jquery/pom.xml
@@ -23,11 +23,11 @@
<parent>
<groupId>org.apache.flex.flexjs.typedefs</groupId>
<artifactId>flexjs-typedefs-parent</artifactId>
- <version>0.8.0-SNAPSHOT</version>
+ <version>0.8.0</version>
</parent>
<artifactId>flexjs-typedefs-jquery</artifactId>
- <version>0.8.0-SNAPSHOT</version>
+ <version>0.8.0</version>
<packaging>swc</packaging>
<name>Apache Flex - FlexJS: TypeDefs: JQuery</name>
@@ -189,7 +189,7 @@
<dependency>
<groupId>org.apache.flex.flexjs.typedefs</groupId>
<artifactId>flexjs-typedefs-js</artifactId>
- <version>0.8.0-SNAPSHOT</version>
+ <version>0.8.0</version>
<type>swc</type>
<classifier>typedefs</classifier>
<scope>runtime</scope>
http://git-wip-us.apache.org/repos/asf/flex-typedefs/blob/ee52d352/js/pom.xml
----------------------------------------------------------------------
diff --git a/js/pom.xml b/js/pom.xml
index 1e4bb7d..475c9f9 100644
--- a/js/pom.xml
+++ b/js/pom.xml
@@ -23,11 +23,11 @@
<parent>
<groupId>org.apache.flex.flexjs.typedefs</groupId>
<artifactId>flexjs-typedefs-parent</artifactId>
- <version>0.8.0-SNAPSHOT</version>
+ <version>0.8.0</version>
</parent>
<artifactId>flexjs-typedefs-js</artifactId>
- <version>0.8.0-SNAPSHOT</version>
+ <version>0.8.0</version>
<packaging>swc</packaging>
<name>Apache Flex - FlexJS: TypeDefs: JS</name>
http://git-wip-us.apache.org/repos/asf/flex-typedefs/blob/ee52d352/node/pom.xml
----------------------------------------------------------------------
diff --git a/node/pom.xml b/node/pom.xml
index b29e920..a5a5258 100644
--- a/node/pom.xml
+++ b/node/pom.xml
@@ -23,11 +23,11 @@
<parent>
<groupId>org.apache.flex.flexjs.typedefs</groupId>
<artifactId>flexjs-typedefs-parent</artifactId>
- <version>0.8.0-SNAPSHOT</version>
+ <version>0.8.0</version>
</parent>
<artifactId>flexjs-typedefs-node</artifactId>
- <version>0.8.0-SNAPSHOT</version>
+ <version>0.8.0</version>
<packaging>swc</packaging>
<name>Apache Flex - FlexJS: TypeDefs: Node</name>
@@ -228,7 +228,7 @@
<dependency>
<groupId>org.apache.flex.flexjs.typedefs</groupId>
<artifactId>flexjs-typedefs-js</artifactId>
- <version>0.8.0-SNAPSHOT</version>
+ <version>0.8.0</version>
<type>swc</type>
<classifier>typedefs</classifier>
<scope>runtime</scope>
http://git-wip-us.apache.org/repos/asf/flex-typedefs/blob/ee52d352/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 756bf24..3fbb014 100644
--- a/pom.xml
+++ b/pom.xml
@@ -28,7 +28,7 @@
<groupId>org.apache.flex.flexjs.typedefs</groupId>
<artifactId>flexjs-typedefs-parent</artifactId>
- <version>0.8.0-SNAPSHOT</version>
+ <version>0.8.0</version>
<packaging>pom</packaging>
<name>Apache Flex - FlexJS: TypeDefs: Parent</name>
@@ -45,7 +45,7 @@
<project.reporting.outputencoding>UTF-8</project.reporting.outputencoding>
<maven.version>3.3.1</maven.version>
- <flexjs.compiler.version>0.8.0-SNAPSHOT</flexjs.compiler.version>
+ <flexjs.compiler.version>0.8.0</flexjs.compiler.version>
<flexjs.build-tools.version>1.0.0</flexjs.build-tools.version>
<git.executable>git</git.executable>
[16/36] flex-typedefs git commit: update externs in Maven build
Posted by ah...@apache.org.
update externs in Maven build
Project: http://git-wip-us.apache.org/repos/asf/flex-typedefs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-typedefs/commit/94b2fdd3
Tree: http://git-wip-us.apache.org/repos/asf/flex-typedefs/tree/94b2fdd3
Diff: http://git-wip-us.apache.org/repos/asf/flex-typedefs/diff/94b2fdd3
Branch: refs/heads/master
Commit: 94b2fdd303d2be881af11cc9b36a4af3a2b69a6e
Parents: 1e1e346
Author: Alex Harui <ah...@apache.org>
Authored: Fri Dec 16 22:33:30 2016 -0800
Committer: Alex Harui <ah...@apache.org>
Committed: Fri Dec 16 22:33:30 2016 -0800
----------------------------------------------------------------------
js/pom.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-typedefs/blob/94b2fdd3/js/pom.xml
----------------------------------------------------------------------
diff --git a/js/pom.xml b/js/pom.xml
index af0cb82..cca27be 100644
--- a/js/pom.xml
+++ b/js/pom.xml
@@ -79,7 +79,7 @@
<dependency>
<groupId>com.google.javascript</groupId>
<artifactId>closure-compiler-externs</artifactId>
- <version>v20151015</version>
+ <version>v20161201</version>
</dependency>
</dependencies>
</plugin>
[08/36] flex-typedefs git commit: add goog.DEBUG for debug-only code
Posted by ah...@apache.org.
add goog.DEBUG for debug-only code
Project: http://git-wip-us.apache.org/repos/asf/flex-typedefs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-typedefs/commit/bdab5281
Tree: http://git-wip-us.apache.org/repos/asf/flex-typedefs/tree/bdab5281
Diff: http://git-wip-us.apache.org/repos/asf/flex-typedefs/diff/bdab5281
Branch: refs/heads/master
Commit: bdab5281bc0b535a1130d34d9c6c94c61958d023
Parents: 0a40d0d
Author: Alex Harui <ah...@apache.org>
Authored: Wed Nov 16 13:22:50 2016 -0800
Committer: Alex Harui <ah...@apache.org>
Committed: Wed Nov 16 13:22:50 2016 -0800
----------------------------------------------------------------------
GCL/src/main/flex/goog/DEBUG.as | 17 +++++++++++++++++
1 file changed, 17 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-typedefs/blob/bdab5281/GCL/src/main/flex/goog/DEBUG.as
----------------------------------------------------------------------
diff --git a/GCL/src/main/flex/goog/DEBUG.as b/GCL/src/main/flex/goog/DEBUG.as
new file mode 100644
index 0000000..17b230f
--- /dev/null
+++ b/GCL/src/main/flex/goog/DEBUG.as
@@ -0,0 +1,17 @@
+// Copyright 2005 The Closure Library Authors. All Rights Reserved.
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS-IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+package goog {
+public var DEBUG:Boolean;
+}
[22/36] flex-typedefs git commit: get rid of warnings by eliminating
some files that don't convert to externs format via the make_patch target
Posted by ah...@apache.org.
get rid of warnings by eliminating some files that don't convert to externs format via the make_patch target
Project: http://git-wip-us.apache.org/repos/asf/flex-typedefs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-typedefs/commit/15115f26
Tree: http://git-wip-us.apache.org/repos/asf/flex-typedefs/tree/15115f26
Diff: http://git-wip-us.apache.org/repos/asf/flex-typedefs/diff/15115f26
Branch: refs/heads/master
Commit: 15115f26d8c07f28b8367b90bf8a4dc10d52c005
Parents: 8646b6b
Author: Alex Harui <ah...@apache.org>
Authored: Wed Dec 28 08:47:54 2016 -0800
Committer: Alex Harui <ah...@apache.org>
Committed: Wed Dec 28 08:48:00 2016 -0800
----------------------------------------------------------------------
createjs/src/main/config/externc-config.xml | 6 +
createjs/src/main/patch/easeljs.patch | 2172 +++++++++++-----------
createjs/src/main/patch/tweenjs.patch | 891 +++++----
3 files changed, 1533 insertions(+), 1536 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-typedefs/blob/15115f26/createjs/src/main/config/externc-config.xml
----------------------------------------------------------------------
diff --git a/createjs/src/main/config/externc-config.xml b/createjs/src/main/config/externc-config.xml
index f7590bd..0e82923 100644
--- a/createjs/src/main/config/externc-config.xml
+++ b/createjs/src/main/config/externc-config.xml
@@ -59,9 +59,11 @@
<path-element>../javascript/missing.js</path-element>
<path-element>../../../target/downloads/EaselJS-0.8.0/src/createjs/events/Event.js</path-element>
<path-element>../../../target/downloads/EaselJS-0.8.0/src/createjs/events/EventDispatcher.js</path-element>
+ <!-- externc with jsroot doesn't support the patterns in these files
<path-element>../../../target/downloads/EaselJS-0.8.0/src/createjs/utils/extend.js</path-element>
<path-element>../../../target/downloads/EaselJS-0.8.0/src/createjs/utils/indexOf.js</path-element>
<path-element>../../../target/downloads/EaselJS-0.8.0/src/createjs/utils/promote.js</path-element>
+ -->
<path-element>../../../target/downloads/EaselJS-0.8.0/src/createjs/utils/Ticker.js</path-element>
<path-element>../../../target/downloads/EaselJS-0.8.0/src/easeljs/display/Bitmap.js</path-element>
<path-element>../../../target/downloads/EaselJS-0.8.0/src/easeljs/display/BitmapText.js</path-element>
@@ -91,9 +93,13 @@
<path-element>../../../target/downloads/EaselJS-0.8.0/src/easeljs/geom/Point.js</path-element>
<path-element>../../../target/downloads/EaselJS-0.8.0/src/easeljs/geom/Rectangle.js</path-element>
<path-element>../../../target/downloads/EaselJS-0.8.0/src/easeljs/ui/ButtonHelper.js</path-element>
+ <!-- externc with jsroot doesn't support the patterns in these files
<path-element>../../../target/downloads/EaselJS-0.8.0/src/easeljs/ui/Touch.js</path-element>
+ -->
<path-element>../../../target/downloads/EaselJS-0.8.0/src/easeljs/utils/SpriteSheetBuilder.js</path-element>
+ <!-- externc with jsroot doesn't support the patterns in these files
<path-element>../../../target/downloads/EaselJS-0.8.0/src/easeljs/utils/SpriteSheetUtils.js</path-element>
+ -->
<path-element>../../../target/downloads/EaselJS-0.8.0/src/easeljs/utils/UID.js</path-element>
<path-element>../../../target/downloads/TweenJS-0.6.2/src/tweenjs/Ease.js</path-element>
<path-element>../../../target/downloads/TweenJS-0.6.2/src/tweenjs/Timeline.js</path-element>
[09/36] flex-typedefs git commit: expect failure from ExternC on
errors
Posted by ah...@apache.org.
expect failure from ExternC on errors
Project: http://git-wip-us.apache.org/repos/asf/flex-typedefs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-typedefs/commit/c07aedf8
Tree: http://git-wip-us.apache.org/repos/asf/flex-typedefs/tree/c07aedf8
Diff: http://git-wip-us.apache.org/repos/asf/flex-typedefs/diff/c07aedf8
Branch: refs/heads/master
Commit: c07aedf88e641e162c2f1fa720075989385dfd81
Parents: bdab528
Author: Alex Harui <ah...@apache.org>
Authored: Fri Nov 18 09:52:58 2016 -0800
Committer: Alex Harui <ah...@apache.org>
Committed: Fri Nov 18 09:52:58 2016 -0800
----------------------------------------------------------------------
cordova/build.xml | 2 +-
createjs/build.xml | 2 +-
google_maps/build.xml | 2 +-
jasmine/build.xml | 2 +-
jquery/build.xml | 2 +-
js/build.xml | 2 +-
node/build.xml | 2 +-
7 files changed, 7 insertions(+), 7 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-typedefs/blob/c07aedf8/cordova/build.xml
----------------------------------------------------------------------
diff --git a/cordova/build.xml b/cordova/build.xml
index 43495f2..b8ffda2 100644
--- a/cordova/build.xml
+++ b/cordova/build.xml
@@ -88,7 +88,7 @@
<target name="externc" >
<java jar="${FALCONJX_HOME}/lib/externc.jar" fork="true"
- failonerror="false">
+ failonerror="true">
<arg value="+flexlib=externs" />
<arg value="-debug" />
<arg value="-load-config=${basedir}/src/main/config/externc-config.xml" />
http://git-wip-us.apache.org/repos/asf/flex-typedefs/blob/c07aedf8/createjs/build.xml
----------------------------------------------------------------------
diff --git a/createjs/build.xml b/createjs/build.xml
index 86b9e41..15e79fc 100644
--- a/createjs/build.xml
+++ b/createjs/build.xml
@@ -559,7 +559,7 @@
<target name="externc" >
<delete dir="${basedir}/target/generated-sources/externs" />
<java jar="${FALCONJX_HOME}/lib/externc.jar" fork="true"
- failonerror="false">
+ failonerror="true">
<arg value="+flexlib=externs" />
<arg value="-debug" />
<arg value="-load-config=${basedir}/src/main/config/externc-config.xml" />
http://git-wip-us.apache.org/repos/asf/flex-typedefs/blob/c07aedf8/google_maps/build.xml
----------------------------------------------------------------------
diff --git a/google_maps/build.xml b/google_maps/build.xml
index ea28b97..be8c64e 100644
--- a/google_maps/build.xml
+++ b/google_maps/build.xml
@@ -153,7 +153,7 @@ google.maps = {};]]></replacevalue>
<target name="externc" >
<java jar="${FALCONJX_HOME}/lib/externc.jar" fork="true"
- failonerror="false">
+ failonerror="true">
<arg value="+flexlib=externs" />
<arg value="-debug" />
<arg value="-load-config=${basedir}/src/main/config/externc-config.xml" />
http://git-wip-us.apache.org/repos/asf/flex-typedefs/blob/c07aedf8/jasmine/build.xml
----------------------------------------------------------------------
diff --git a/jasmine/build.xml b/jasmine/build.xml
index 5efe733..b379fa6 100644
--- a/jasmine/build.xml
+++ b/jasmine/build.xml
@@ -95,7 +95,7 @@
<target name="externc" >
<java jar="${FALCONJX_HOME}/lib/externc.jar" fork="true"
- failonerror="false">
+ failonerror="true">
<arg value="+flexlib=externs" />
<arg value="-debug" />
<arg value="-load-config=${basedir}/src/main/config/externc-config.xml" />
http://git-wip-us.apache.org/repos/asf/flex-typedefs/blob/c07aedf8/jquery/build.xml
----------------------------------------------------------------------
diff --git a/jquery/build.xml b/jquery/build.xml
index 6a0887f..a5b4b75 100644
--- a/jquery/build.xml
+++ b/jquery/build.xml
@@ -132,7 +132,7 @@
<target name="externc" >
<java jar="${FALCONJX_HOME}/lib/externc.jar" fork="true"
- failonerror="false">
+ failonerror="true">
<arg value="+flexlib=externs" />
<arg value="-debug" />
<arg value="-load-config=${basedir}/src/main/config/externc-config.xml" />
http://git-wip-us.apache.org/repos/asf/flex-typedefs/blob/c07aedf8/js/build.xml
----------------------------------------------------------------------
diff --git a/js/build.xml b/js/build.xml
index 302c0fc..fa6bbb0 100644
--- a/js/build.xml
+++ b/js/build.xml
@@ -155,7 +155,7 @@
<target name="externc" >
<java jar="${FALCONJX_HOME}/lib/externc.jar" fork="true"
- failonerror="false">
+ failonerror="true">
<arg value="+flexlib=externs" />
<arg value="-debug" />
<arg value="-load-config=${basedir}/src/main/config/externc-config.xml" />
http://git-wip-us.apache.org/repos/asf/flex-typedefs/blob/c07aedf8/node/build.xml
----------------------------------------------------------------------
diff --git a/node/build.xml b/node/build.xml
index a09e5c5..88e8d88 100644
--- a/node/build.xml
+++ b/node/build.xml
@@ -213,7 +213,7 @@
<target name="externc" >
<java jar="${FALCONJX_HOME}/lib/externc.jar" fork="true"
- failonerror="false">
+ failonerror="true">
<arg value="+flexlib=externs" />
<arg value="-debug" />
<arg value="-load-config=${basedir}/src/main/config/externc-config.xml" />
[02/36] flex-typedefs git commit: - Bumped the compiler version up to
0.8.0-SNAPSHOT
Posted by ah...@apache.org.
- Bumped the compiler version up to 0.8.0-SNAPSHOT
Project: http://git-wip-us.apache.org/repos/asf/flex-typedefs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-typedefs/commit/08f98e83
Tree: http://git-wip-us.apache.org/repos/asf/flex-typedefs/tree/08f98e83
Diff: http://git-wip-us.apache.org/repos/asf/flex-typedefs/diff/08f98e83
Branch: refs/heads/master
Commit: 08f98e8317e7b233106ebd46de07700d360d392d
Parents: 83f186a
Author: Christofer Dutz <ch...@codecentric.de>
Authored: Wed Sep 28 11:06:46 2016 +0200
Committer: Christofer Dutz <ch...@codecentric.de>
Committed: Wed Sep 28 11:06:46 2016 +0200
----------------------------------------------------------------------
pom.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-typedefs/blob/08f98e83/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 8a5800a..a6a28de 100644
--- a/pom.xml
+++ b/pom.xml
@@ -45,7 +45,7 @@
<project.reporting.outputencoding>UTF-8</project.reporting.outputencoding>
<maven.version>3.3.1</maven.version>
- <flexjs.compiler.version>0.7.0</flexjs.compiler.version>
+ <flexjs.compiler.version>0.8.0-SNAPSHOT</flexjs.compiler.version>
<flexjs.build-tools.version>1.0.0</flexjs.build-tools.version>
<git.executable>git</git.executable>
[34/36] flex-typedefs git commit: need to add @fileoverview and
@externs annotation
Posted by ah...@apache.org.
need to add @fileoverview and @externs annotation
Project: http://git-wip-us.apache.org/repos/asf/flex-typedefs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-typedefs/commit/2bd4044d
Tree: http://git-wip-us.apache.org/repos/asf/flex-typedefs/tree/2bd4044d
Diff: http://git-wip-us.apache.org/repos/asf/flex-typedefs/diff/2bd4044d
Branch: refs/heads/master
Commit: 2bd4044d160a13c6a6bb45efdd4af20f3727bf97
Parents: fed0d3b
Author: Alex Harui <ah...@apache.org>
Authored: Thu May 11 23:56:41 2017 -0700
Committer: Alex Harui <ah...@apache.org>
Committed: Thu May 11 23:56:41 2017 -0700
----------------------------------------------------------------------
createjs/src/main/javascript/createjs.js | 4 ++++
1 file changed, 4 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-typedefs/blob/2bd4044d/createjs/src/main/javascript/createjs.js
----------------------------------------------------------------------
diff --git a/createjs/src/main/javascript/createjs.js b/createjs/src/main/javascript/createjs.js
index 0cc4dd0..4e6a2e2 100644
--- a/createjs/src/main/javascript/createjs.js
+++ b/createjs/src/main/javascript/createjs.js
@@ -18,6 +18,10 @@
*/
// This file is in Google Closure Compiler Externs format which is a
// non-copyrightable subset of EaselJS and TweenJS from https://github.com/CreateJS
+/**
+ * @fileoverview
+ * @externs
+ */
/**
* @param {(HTMLCanvasElement|Image|null)} alphaMap
[29/36] flex-typedefs git commit: manually clean up externs for
createjs and get rid of patches
Posted by ah...@apache.org.
http://git-wip-us.apache.org/repos/asf/flex-typedefs/blob/2658a72d/createjs/src/main/patch/tweenjs.patch
----------------------------------------------------------------------
diff --git a/createjs/src/main/patch/tweenjs.patch b/createjs/src/main/patch/tweenjs.patch
deleted file mode 100644
index 2b2140c..0000000
--- a/createjs/src/main/patch/tweenjs.patch
+++ /dev/null
@@ -1,2875 +0,0 @@
-
-Generated from Ant script
-diff --git a/createjs/target/downloads/TweenJS-0.6.2/src/tweenjs/CSSPlugin.js b/createjs/target/downloads/TweenJS-0.6.2/src/tweenjs/CSSPlugin.js
-index 52e0206..0fe6341 100644
---- a/createjs/target/downloads/TweenJS-0.6.2/src/tweenjs/CSSPlugin.js
-+++ b/createjs/target/downloads/TweenJS-0.6.2/src/tweenjs/CSSPlugin.js
-@@ -31,16 +31,16 @@
- */
-
- // namespace:
--this.createjs = this.createjs||{};
-
--(function() {
-- "use strict";
-+
-+
-+
-
- /**
- * A TweenJS plugin for working with numeric CSS string properties (ex. top, left). To use simply install after
- * TweenJS has loaded:
- *
-- * createjs.CSSPlugin.install();
-+ * createjs.createjs.CSSPlugin.install();
- *
- * You can adjust the CSS properties it will work with by modifying the <code>cssSuffixMap</code> property. Currently,
- * the top, left, bottom, right, width, height have a "px" suffix appended.
-@@ -49,7 +49,7 @@ this.createjs = this.createjs||{};
- * @class CSSPlugin
- * @constructor
- **/
-- function CSSPlugin() {
-+ createjs.CSSPlugin = function() {
- throw("CSSPlugin cannot be instantiated.")
- }
-
-@@ -65,14 +65,14 @@ this.createjs = this.createjs||{};
- * @type Object
- * @static
- **/
-- CSSPlugin.cssSuffixMap = {top:"px",left:"px",bottom:"px",right:"px",width:"px",height:"px",opacity:""};
-+ createjs.CSSPlugin.cssSuffixMap = {top:"px",left:"px",bottom:"px",right:"px",width:"px",height:"px",opacity:""};
-
- /**
- * @property priority
- * @protected
- * @static
- **/
-- CSSPlugin.priority = -100; // very low priority, should run last
-+ createjs.CSSPlugin.priority = -100; // very low priority, should run last
-
-
- // static methods
-@@ -81,8 +81,8 @@ this.createjs = this.createjs||{};
- * @method install
- * @static
- **/
-- CSSPlugin.install = function() {
-- var arr = [], map = CSSPlugin.cssSuffixMap;
-+ createjs.CSSPlugin.install = function() {
-+ var arr = [], map = createjs.CSSPlugin.cssSuffixMap;
- for (var n in map) { arr.push(n); }
- createjs.Tween.installPlugin(CSSPlugin, arr);
- }
-@@ -92,8 +92,8 @@ this.createjs = this.createjs||{};
- * @protected
- * @static
- **/
-- CSSPlugin.init = function(tween, prop, value) {
-- var sfx0,sfx1,style,map = CSSPlugin.cssSuffixMap;
-+ createjs.CSSPlugin.init = function(tween, prop, value) {
-+ var sfx0,sfx1,style,map = createjs.CSSPlugin.cssSuffixMap;
- if ((sfx0 = map[prop]) == null || !(style = tween.target.style)) { return value; }
- var str = style[prop];
- if (!str) { return 0; } // no style set.
-@@ -110,7 +110,7 @@ this.createjs = this.createjs||{};
- * @protected
- * @static
- **/
-- CSSPlugin.step = function(tween, prop, startValue, endValue, injectProps) {
-+ createjs.CSSPlugin.step = function(tween, prop, startValue, endValue, injectProps) {
- // unused
- }
-
-@@ -119,13 +119,13 @@ this.createjs = this.createjs||{};
- * @protected
- * @static
- **/
-- CSSPlugin.tween = function(tween, prop, value, startValues, endValues, ratio, wait, end) {
-- var style,map = CSSPlugin.cssSuffixMap;
-+ createjs.CSSPlugin.tween = function(tween, prop, value, startValues, endValues, ratio, wait, end) {
-+ var style,map = createjs.CSSPlugin.cssSuffixMap;
- if (map[prop] == null || !(style = tween.target.style)) { return value; }
- style[prop] = value+map[prop];
- return createjs.Tween.IGNORE;
- }
-
-- createjs.CSSPlugin = CSSPlugin;
-
--}());
-+
-+
-diff --git a/createjs/target/downloads/TweenJS-0.6.2/src/tweenjs/Ease.js b/createjs/target/downloads/TweenJS-0.6.2/src/tweenjs/Ease.js
-index e3a0809..c69b895 100644
---- a/createjs/target/downloads/TweenJS-0.6.2/src/tweenjs/Ease.js
-+++ b/createjs/target/downloads/TweenJS-0.6.2/src/tweenjs/Ease.js
-@@ -1,462 +1,188 @@
--/*
--* Ease
--* Visit http://createjs.com/ for documentation, updates and examples.
--*
--* Copyright (c) 2010 gskinner.com, inc.
--*
--* Permission is hereby granted, free of charge, to any person
--* obtaining a copy of this software and associated documentation
--* files (the "Software"), to deal in the Software without
--* restriction, including without limitation the rights to use,
--* copy, modify, merge, publish, distribute, sublicense, and/or sell
--* copies of the Software, and to permit persons to whom the
--* Software is furnished to do so, subject to the following
--* conditions:
--*
--* The above copyright notice and this permission notice shall be
--* included in all copies or substantial portions of the Software.
--*
--* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
--* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
--* OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
--* NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
--* HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
--* WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
--* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
--* OTHER DEALINGS IN THE SOFTWARE.
--*/
--
-+/** @fileoverview Auto-generated Externs files
-+ * @externs
-+ */
- /**
-- * @module TweenJS
-+ * The Ease class provides a collection of easing functions for use with TweenJS. It does not use the standard 4 param
-+ * easing signature. Instead it uses a single param which indicates the current linear ratio (0 to 1) of the tween.
-+ *
-+ * Most methods on Ease can be passed directly as easing functions:
-+ *
-+ * Tween.get(target).to({x:100}, 500, createjs.Ease.linear);
-+ *
-+ * However, methods beginning with "get" will return an easing function based on parameter values:
-+ *
-+ * Tween.get(target).to({y:200}, 500, createjs.Ease.getPowIn(2.2));
-+ *
-+ * Please see the <a href="http://www.createjs.com/Demos/TweenJS/Tween_SparkTable">spark table demo</a> for an
-+ * overview of the different ease types on <a href="http://tweenjs.com">TweenJS.com</a>.
-+ *
-+ * <em>Equations derived from work by Robert Penner.</em>
-+ *
-+ * @see [Ease]
-+ * @constructor
- */
-+createjs.Ease = function () {}
-+
-+ /**
-+ * Configurable elastic ease.
-+ *
-+ * @param {(number|null)} amplitude
-+ * @param {(number|null)} period
-+ * @see [Ease]
-+ * @returns {(Function|null)}
-+ */
-+createjs.Ease.getElasticIn = function (amplitude, period) { return null; }
-+
-+ /**
-+ * @param {(number|null)} t
-+ * @see [Ease]
-+ * @returns {(number|null)}
-+ */
-+createjs.Ease.circOut = function (t) { return 0; }
-+
-+ /**
-+ * @param {(number|null)} t
-+ * @see [Ease]
-+ * @returns {(number|null)}
-+ */
-+createjs.Ease.linear = function (t) { return 0; }
-+
-+ /**
-+ * @param {(number|null)} t
-+ * @see [Ease]
-+ * @returns {(number|null)}
-+ */
-+createjs.Ease.sineIn = function (t) { return 0; }
-+
-+ /**
-+ * @param {(number|null)} t
-+ * @see [Ease]
-+ * @returns {(number|null)}
-+ */
-+createjs.Ease.sineOut = function (t) { return 0; }
-+
-+ /**
-+ * Mimics the simple -100 to 100 easing in Flash Pro.
-+ *
-+ * @param {(number|null)} amount A value from -1 (ease in) to 1 (ease out) indicating the strength and direction of the ease.
-+ * @see [Ease]
-+ * @returns {(Function|null)}
-+ */
-+createjs.Ease.get = function (amount) { return null; }
-+
-+ /**
-+ * Configurable "back in" ease.
-+ *
-+ * @param {(number|null)} amount The strength of the ease.
-+ * @see [Ease]
-+ * @returns {(Function|null)}
-+ */
-+createjs.Ease.getBackIn = function (amount) { return null; }
-+
-+ /**
-+ * @param {(number|null)} t
-+ * @see [Ease]
-+ * @returns {(number|null)}
-+ */
-+createjs.Ease.circIn = function (t) { return 0; }
-+
-+ /**
-+ * Configurable "back out" ease.
-+ *
-+ * @param {(number|null)} amount The strength of the ease.
-+ * @see [Ease]
-+ * @returns {(Function|null)}
-+ */
-+createjs.Ease.getBackOut = function (amount) { return null; }
-+
-+ /**
-+ * Configurable elastic ease.
-+ *
-+ * @param {(number|null)} amplitude
-+ * @param {(number|null)} period
-+ * @see [Ease]
-+ * @returns {(Function|null)}
-+ */
-+createjs.Ease.getElasticInOut = function (amplitude, period) { return null; }
-+
-+ /**
-+ * @param {(number|null)} t
-+ * @see [Ease]
-+ * @returns {(number|null)}
-+ */
-+createjs.Ease.bounceInOut = function (t) { return 0; }
-+
-+ /**
-+ * @param {(number|null)} t
-+ * @see [Ease]
-+ * @returns {(number|null)}
-+ */
-+createjs.Ease.bounceIn = function (t) { return 0; }
-+
-+ /**
-+ * @param {(number|null)} t
-+ * @see [Ease]
-+ * @returns {(number|null)}
-+ */
-+createjs.Ease.sineInOut = function (t) { return 0; }
-+
-+ /**
-+ * @param {(number|null)} t
-+ * @see [Ease]
-+ * @returns {(number|null)}
-+ */
-+createjs.Ease.circInOut = function (t) { return 0; }
-+
-+ /**
-+ * Configurable exponential ease.
-+ *
-+ * @param {(number|null)} pow The exponent to use (ex. 3 would return a cubic ease).
-+ * @see [Ease]
-+ * @returns {(Function|null)}
-+ */
-+createjs.Ease.getPowOut = function (pow) { return null; }
-+
-+ /**
-+ * Configurable "back in out" ease.
-+ *
-+ * @param {(number|null)} amount The strength of the ease.
-+ * @see [Ease]
-+ * @returns {(Function|null)}
-+ */
-+createjs.Ease.getBackInOut = function (amount) { return null; }
-+
-+ /**
-+ * Configurable exponential ease.
-+ *
-+ * @param {(number|null)} pow The exponent to use (ex. 3 would return a cubic ease).
-+ * @see [Ease]
-+ * @returns {(Function|null)}
-+ */
-+createjs.Ease.getPowIn = function (pow) { return null; }
-+
-+ /**
-+ * Configurable exponential ease.
-+ *
-+ * @param {(number|null)} pow The exponent to use (ex. 3 would return a cubic ease).
-+ * @see [Ease]
-+ * @returns {(Function|null)}
-+ */
-+createjs.Ease.getPowInOut = function (pow) { return null; }
-+
-+ /**
-+ * Configurable elastic ease.
-+ *
-+ * @param {(number|null)} amplitude
-+ * @param {(number|null)} period
-+ * @see [Ease]
-+ * @returns {(Function|null)}
-+ */
-+createjs.Ease.getElasticOut = function (amplitude, period) { return null; }
-+
-+ /**
-+ * @param {(number|null)} t
-+ * @see [Ease]
-+ * @returns {(number|null)}
-+ */
-+createjs.Ease.bounceOut = function (t) { return 0; }
-
--// namespace:
--this.createjs = this.createjs||{};
--
--(function() {
-- "use strict";
--
-- /**
-- * The Ease class provides a collection of easing functions for use with TweenJS. It does not use the standard 4 param
-- * easing signature. Instead it uses a single param which indicates the current linear ratio (0 to 1) of the tween.
-- *
-- * Most methods on Ease can be passed directly as easing functions:
-- *
-- * Tween.get(target).to({x:100}, 500, Ease.linear);
-- *
-- * However, methods beginning with "get" will return an easing function based on parameter values:
-- *
-- * Tween.get(target).to({y:200}, 500, Ease.getPowIn(2.2));
-- *
-- * Please see the <a href="http://www.createjs.com/Demos/TweenJS/Tween_SparkTable">spark table demo</a> for an
-- * overview of the different ease types on <a href="http://tweenjs.com">TweenJS.com</a>.
-- *
-- * <em>Equations derived from work by Robert Penner.</em>
-- * @class Ease
-- * @static
-- **/
-- function Ease() {
-- throw "Ease cannot be instantiated.";
-- }
--
--
--// static methods and properties
-- /**
-- * @method linear
-- * @param {Number} t
-- * @static
-- * @return {Number}
-- **/
-- Ease.linear = function(t) { return t; };
--
-- /**
-- * Identical to linear.
-- * @method none
-- * @param {Number} t
-- * @static
-- * @return {Number}
-- **/
-- Ease.none = Ease.linear;
--
-- /**
-- * Mimics the simple -100 to 100 easing in Flash Pro.
-- * @method get
-- * @param {Number} amount A value from -1 (ease in) to 1 (ease out) indicating the strength and direction of the ease.
-- * @static
-- * @return {Function}
-- **/
-- Ease.get = function(amount) {
-- if (amount < -1) { amount = -1; }
-- if (amount > 1) { amount = 1; }
-- return function(t) {
-- if (amount==0) { return t; }
-- if (amount<0) { return t*(t*-amount+1+amount); }
-- return t*((2-t)*amount+(1-amount));
-- };
-- };
--
-- /**
-- * Configurable exponential ease.
-- * @method getPowIn
-- * @param {Number} pow The exponent to use (ex. 3 would return a cubic ease).
-- * @static
-- * @return {Function}
-- **/
-- Ease.getPowIn = function(pow) {
-- return function(t) {
-- return Math.pow(t,pow);
-- };
-- };
--
-- /**
-- * Configurable exponential ease.
-- * @method getPowOut
-- * @param {Number} pow The exponent to use (ex. 3 would return a cubic ease).
-- * @static
-- * @return {Function}
-- **/
-- Ease.getPowOut = function(pow) {
-- return function(t) {
-- return 1-Math.pow(1-t,pow);
-- };
-- };
--
-- /**
-- * Configurable exponential ease.
-- * @method getPowInOut
-- * @param {Number} pow The exponent to use (ex. 3 would return a cubic ease).
-- * @static
-- * @return {Function}
-- **/
-- Ease.getPowInOut = function(pow) {
-- return function(t) {
-- if ((t*=2)<1) return 0.5*Math.pow(t,pow);
-- return 1-0.5*Math.abs(Math.pow(2-t,pow));
-- };
-- };
--
-- /**
-- * @method quadIn
-- * @param {Number} t
-- * @static
-- * @return {Number}
-- **/
-- Ease.quadIn = Ease.getPowIn(2);
-- /**
-- * @method quadOut
-- * @param {Number} t
-- * @static
-- * @return {Number}
-- **/
-- Ease.quadOut = Ease.getPowOut(2);
-- /**
-- * @method quadInOut
-- * @param {Number} t
-- * @static
-- * @return {Number}
-- **/
-- Ease.quadInOut = Ease.getPowInOut(2);
--
-- /**
-- * @method cubicIn
-- * @param {Number} t
-- * @static
-- * @return {Number}
-- **/
-- Ease.cubicIn = Ease.getPowIn(3);
-- /**
-- * @method cubicOut
-- * @param {Number} t
-- * @static
-- * @return {Number}
-- **/
-- Ease.cubicOut = Ease.getPowOut(3);
-- /**
-- * @method cubicInOut
-- * @param {Number} t
-- * @static
-- * @return {Number}
-- **/
-- Ease.cubicInOut = Ease.getPowInOut(3);
--
-- /**
-- * @method quartIn
-- * @param {Number} t
-- * @static
-- * @return {Number}
-- **/
-- Ease.quartIn = Ease.getPowIn(4);
-- /**
-- * @method quartOut
-- * @param {Number} t
-- * @static
-- * @return {Number}
-- **/
-- Ease.quartOut = Ease.getPowOut(4);
-- /**
-- * @method quartInOut
-- * @param {Number} t
-- * @static
-- * @return {Number}
-- **/
-- Ease.quartInOut = Ease.getPowInOut(4);
--
-- /**
-- * @method quintIn
-- * @param {Number} t
-- * @static
-- * @return {Number}
-- **/
-- Ease.quintIn = Ease.getPowIn(5);
-- /**
-- * @method quintOut
-- * @param {Number} t
-- * @static
-- * @return {Number}
-- **/
-- Ease.quintOut = Ease.getPowOut(5);
-- /**
-- * @method quintInOut
-- * @param {Number} t
-- * @static
-- * @return {Number}
-- **/
-- Ease.quintInOut = Ease.getPowInOut(5);
--
-- /**
-- * @method sineIn
-- * @param {Number} t
-- * @static
-- * @return {Number}
-- **/
-- Ease.sineIn = function(t) {
-- return 1-Math.cos(t*Math.PI/2);
-- };
--
-- /**
-- * @method sineOut
-- * @param {Number} t
-- * @static
-- * @return {Number}
-- **/
-- Ease.sineOut = function(t) {
-- return Math.sin(t*Math.PI/2);
-- };
--
-- /**
-- * @method sineInOut
-- * @param {Number} t
-- * @static
-- * @return {Number}
-- **/
-- Ease.sineInOut = function(t) {
-- return -0.5*(Math.cos(Math.PI*t) - 1);
-- };
--
-- /**
-- * Configurable "back in" ease.
-- * @method getBackIn
-- * @param {Number} amount The strength of the ease.
-- * @static
-- * @return {Function}
-- **/
-- Ease.getBackIn = function(amount) {
-- return function(t) {
-- return t*t*((amount+1)*t-amount);
-- };
-- };
-- /**
-- * @method backIn
-- * @param {Number} t
-- * @static
-- * @return {Number}
-- **/
-- Ease.backIn = Ease.getBackIn(1.7);
--
-- /**
-- * Configurable "back out" ease.
-- * @method getBackOut
-- * @param {Number} amount The strength of the ease.
-- * @static
-- * @return {Function}
-- **/
-- Ease.getBackOut = function(amount) {
-- return function(t) {
-- return (--t*t*((amount+1)*t + amount) + 1);
-- };
-- };
-- /**
-- * @method backOut
-- * @param {Number} t
-- * @static
-- * @return {Number}
-- **/
-- Ease.backOut = Ease.getBackOut(1.7);
--
-- /**
-- * Configurable "back in out" ease.
-- * @method getBackInOut
-- * @param {Number} amount The strength of the ease.
-- * @static
-- * @return {Function}
-- **/
-- Ease.getBackInOut = function(amount) {
-- amount*=1.525;
-- return function(t) {
-- if ((t*=2)<1) return 0.5*(t*t*((amount+1)*t-amount));
-- return 0.5*((t-=2)*t*((amount+1)*t+amount)+2);
-- };
-- };
-- /**
-- * @method backInOut
-- * @param {Number} t
-- * @static
-- * @return {Number}
-- **/
-- Ease.backInOut = Ease.getBackInOut(1.7);
--
-- /**
-- * @method circIn
-- * @param {Number} t
-- * @static
-- * @return {Number}
-- **/
-- Ease.circIn = function(t) {
-- return -(Math.sqrt(1-t*t)- 1);
-- };
--
-- /**
-- * @method circOut
-- * @param {Number} t
-- * @static
-- * @return {Number}
-- **/
-- Ease.circOut = function(t) {
-- return Math.sqrt(1-(--t)*t);
-- };
--
-- /**
-- * @method circInOut
-- * @param {Number} t
-- * @static
-- * @return {Number}
-- **/
-- Ease.circInOut = function(t) {
-- if ((t*=2) < 1) return -0.5*(Math.sqrt(1-t*t)-1);
-- return 0.5*(Math.sqrt(1-(t-=2)*t)+1);
-- };
--
-- /**
-- * @method bounceIn
-- * @param {Number} t
-- * @static
-- * @return {Number}
-- **/
-- Ease.bounceIn = function(t) {
-- return 1-Ease.bounceOut(1-t);
-- };
--
-- /**
-- * @method bounceOut
-- * @param {Number} t
-- * @static
-- * @return {Number}
-- **/
-- Ease.bounceOut = function(t) {
-- if (t < 1/2.75) {
-- return (7.5625*t*t);
-- } else if (t < 2/2.75) {
-- return (7.5625*(t-=1.5/2.75)*t+0.75);
-- } else if (t < 2.5/2.75) {
-- return (7.5625*(t-=2.25/2.75)*t+0.9375);
-- } else {
-- return (7.5625*(t-=2.625/2.75)*t +0.984375);
-- }
-- };
--
-- /**
-- * @method bounceInOut
-- * @param {Number} t
-- * @static
-- * @return {Number}
-- **/
-- Ease.bounceInOut = function(t) {
-- if (t<0.5) return Ease.bounceIn (t*2) * .5;
-- return Ease.bounceOut(t*2-1)*0.5+0.5;
-- };
--
-- /**
-- * Configurable elastic ease.
-- * @method getElasticIn
-- * @param {Number} amplitude
-- * @param {Number} period
-- * @static
-- * @return {Function}
-- **/
-- Ease.getElasticIn = function(amplitude,period) {
-- var pi2 = Math.PI*2;
-- return function(t) {
-- if (t==0 || t==1) return t;
-- var s = period/pi2*Math.asin(1/amplitude);
-- return -(amplitude*Math.pow(2,10*(t-=1))*Math.sin((t-s)*pi2/period));
-- };
-- };
-- /**
-- * @method elasticIn
-- * @param {Number} t
-- * @static
-- * @return {Number}
-- **/
-- Ease.elasticIn = Ease.getElasticIn(1,0.3);
--
-- /**
-- * Configurable elastic ease.
-- * @method getElasticOut
-- * @param {Number} amplitude
-- * @param {Number} period
-- * @static
-- * @return {Function}
-- **/
-- Ease.getElasticOut = function(amplitude,period) {
-- var pi2 = Math.PI*2;
-- return function(t) {
-- if (t==0 || t==1) return t;
-- var s = period/pi2 * Math.asin(1/amplitude);
-- return (amplitude*Math.pow(2,-10*t)*Math.sin((t-s)*pi2/period )+1);
-- };
-- };
-- /**
-- * @method elasticOut
-- * @param {Number} t
-- * @static
-- * @return {Number}
-- **/
-- Ease.elasticOut = Ease.getElasticOut(1,0.3);
--
-- /**
-- * Configurable elastic ease.
-- * @method getElasticInOut
-- * @param {Number} amplitude
-- * @param {Number} period
-- * @static
-- * @return {Function}
-- **/
-- Ease.getElasticInOut = function(amplitude,period) {
-- var pi2 = Math.PI*2;
-- return function(t) {
-- var s = period/pi2 * Math.asin(1/amplitude);
-- if ((t*=2)<1) return -0.5*(amplitude*Math.pow(2,10*(t-=1))*Math.sin( (t-s)*pi2/period ));
-- return amplitude*Math.pow(2,-10*(t-=1))*Math.sin((t-s)*pi2/period)*0.5+1;
-- };
-- };
-- /**
-- * @method elasticInOut
-- * @param {Number} t
-- * @static
-- * @return {Number}
-- **/
-- Ease.elasticInOut = Ease.getElasticInOut(1,0.3*1.5);
--
-- createjs.Ease = Ease;
--
--}());
-diff --git a/createjs/target/downloads/TweenJS-0.6.2/src/tweenjs/MotionGuidePlugin.js b/createjs/target/downloads/TweenJS-0.6.2/src/tweenjs/MotionGuidePlugin.js
-index 48fe018..7d12309 100644
---- a/createjs/target/downloads/TweenJS-0.6.2/src/tweenjs/MotionGuidePlugin.js
-+++ b/createjs/target/downloads/TweenJS-0.6.2/src/tweenjs/MotionGuidePlugin.js
-@@ -31,17 +31,17 @@
- */
-
- // namespace:
--this.createjs = this.createjs||{};
-
--(function() {
-- "use strict";
-+
-+
-+
-
- /**
- * A TweenJS plugin for working with motion guides.
- *
- * To use, install the plugin after TweenJS has loaded. Next tween the 'guide' property with an object as detailed below.
- *
-- * createjs.MotionGuidePlugin.install();
-+ * createjs.createjs.MotionGuidePlugin.install();
- *
- * <h4>Example</h4>
- *
-@@ -68,7 +68,7 @@ this.createjs = this.createjs||{};
- * @class MotionGuidePlugin
- * @constructor
- **/
-- function MotionGuidePlugin() {
-+ createjs.MotionGuidePlugin = function() {
- throw("MotionGuidePlugin cannot be instantiated.")
- };
-
-@@ -79,32 +79,32 @@ this.createjs = this.createjs||{};
- * @protected
- * @static
- **/
-- MotionGuidePlugin.priority = 0; // high priority, should run sooner
-+ createjs.MotionGuidePlugin.priority = 0; // high priority, should run sooner
-
- /**
- * @property temporary variable storage
- * @private
- * @static
- */
-- MotionGuidePlugin._rotOffS;
-+ createjs.MotionGuidePlugin._rotOffS;
- /**
- * @property temporary variable storage
- * @private
- * @static
- */
-- MotionGuidePlugin._rotOffE;
-+ createjs.MotionGuidePlugin._rotOffE;
- /**
- * @property temporary variable storage
- * @private
- * @static
- */
-- MotionGuidePlugin._rotNormS;
-+ createjs.MotionGuidePlugin._rotNormS;
- /**
- * @property temporary variable storage
- * @private
- * @static
- */
-- MotionGuidePlugin._rotNormE;
-+ createjs.MotionGuidePlugin._rotNormE;
-
-
- // static methods
-@@ -113,7 +113,7 @@ this.createjs = this.createjs||{};
- * @method install
- * @static
- **/
-- MotionGuidePlugin.install = function() {
-+ createjs.MotionGuidePlugin.install = function() {
- createjs.Tween.installPlugin(MotionGuidePlugin, ["guide", "x", "y", "rotation"]);
- return createjs.Tween.IGNORE;
- };
-@@ -123,7 +123,7 @@ this.createjs = this.createjs||{};
- * @protected
- * @static
- **/
-- MotionGuidePlugin.init = function(tween, prop, value) {
-+ createjs.MotionGuidePlugin.init = function(tween, prop, value) {
- var target = tween.target;
- if(!target.hasOwnProperty("x")){ target.x = 0; }
- if(!target.hasOwnProperty("y")){ target.y = 0; }
-@@ -138,12 +138,12 @@ this.createjs = this.createjs||{};
- * @protected
- * @static
- **/
-- MotionGuidePlugin.step = function(tween, prop, startValue, endValue, injectProps) {
-+ createjs.MotionGuidePlugin.step = function(tween, prop, startValue, endValue, injectProps) {
- // other props
- if(prop == "rotation"){
- tween.__rotGlobalS = startValue;
- tween.__rotGlobalE = endValue;
-- MotionGuidePlugin.testRotData(tween, injectProps);
-+ createjs.MotionGuidePlugin.testRotData(tween, injectProps);
- }
- if(prop != "guide"){ return endValue; }
-
-@@ -191,18 +191,18 @@ this.createjs = this.createjs||{};
- temp = data.orient;
- data.orient = true;
- var o = {};
-- MotionGuidePlugin.calc(data, data.start, o);
-+ createjs.MotionGuidePlugin.calc(data, data.start, o);
- tween.__rotPathS = Number(o.rotation.toFixed(5));
-- MotionGuidePlugin.calc(data, data.end, o);
-+ createjs.MotionGuidePlugin.calc(data, data.end, o);
- tween.__rotPathE = Number(o.rotation.toFixed(5));
- data.orient = false; //here and now we don't know if we need to
-- MotionGuidePlugin.calc(data, data.end, injectProps);
-+ createjs.MotionGuidePlugin.calc(data, data.end, injectProps);
- data.orient = temp;
-
- // Setup rotation properties
- if(!data.orient){ return endValue; }
- tween.__guideData = data;
-- MotionGuidePlugin.testRotData(tween, injectProps);
-+ createjs.MotionGuidePlugin.testRotData(tween, injectProps);
- return endValue;
- };
-
-@@ -211,7 +211,7 @@ this.createjs = this.createjs||{};
- * @protected
- * @static
- **/
-- MotionGuidePlugin.testRotData = function(tween, injectProps){
-+ createjs.MotionGuidePlugin.testRotData = function(tween, injectProps){
-
- // no rotation informat? if we need it come back, if we don't use 0 & ensure we have guide data
- if(tween.__rotGlobalS === undefined || tween.__rotGlobalE === undefined){
-@@ -256,13 +256,13 @@ this.createjs = this.createjs||{};
- * @protected
- * @static
- **/
-- MotionGuidePlugin.tween = function(tween, prop, value, startValues, endValues, ratio, wait, end) {
-+ createjs.MotionGuidePlugin.tween = function(tween, prop, value, startValues, endValues, ratio, wait, end) {
- var data = endValues.guide;
- if(data == undefined || data === startValues.guide){ return value; }
- if(data.lastRatio != ratio){
- // first time through so calculate what I need to
- var t = ((data.end-data.start)*(wait?data.end:ratio)+data.start);
-- MotionGuidePlugin.calc(data, t, tween.target);
-+ createjs.MotionGuidePlugin.calc(data, t, tween.target);
- switch(data.orient){
- case "cw": // mix in the original rotation
- case "ccw":
-@@ -279,13 +279,13 @@ this.createjs = this.createjs||{};
- /**
- * Determine the appropriate x/y/rotation information about a path for a given ratio along the path.
- * Assumes a path object with all optional parameters specified.
-- * @param data Data object you would pass to the "guide:" property in a Tween
-- * @param ratio 0-1 Distance along path, values outside 0-1 are "best guess"
-- * @param target Object to copy the results onto, will use a new object if not supplied.
-+ * @param {Object} data Data object you would pass to the "guide:" property in a Tween
-+ * @param {Number} ratio 0-1 Distance along path, values outside 0-1 are "best guess"
-+ * @param {Object} target Object to copy the results onto, will use a new object if not supplied.
- * @return {Object} The target object or a new object w/ the tweened properties
- * @static
- */
-- MotionGuidePlugin.calc = function(data, ratio, target) {
-+ createjs.MotionGuidePlugin.calc = function(data, ratio, target) {
- if(data._segments == undefined){ throw("Missing critical pre-calculated information, please file a bug"); }
- if(target == undefined){ target = {x:0, y:0, rotation:0}; }
- var seg = data._segments;
-@@ -326,6 +326,6 @@ this.createjs = this.createjs||{};
- return target;
- };
-
-- createjs.MotionGuidePlugin = MotionGuidePlugin;
-
--}());
-+
-+
-diff --git a/createjs/target/downloads/TweenJS-0.6.2/src/tweenjs/SamplePlugin.js b/createjs/target/downloads/TweenJS-0.6.2/src/tweenjs/SamplePlugin.js
-index 371baa7..4bfca8c 100644
---- a/createjs/target/downloads/TweenJS-0.6.2/src/tweenjs/SamplePlugin.js
-+++ b/createjs/target/downloads/TweenJS-0.6.2/src/tweenjs/SamplePlugin.js
-@@ -31,10 +31,10 @@
- */
-
- // namespace:
--this.createjs = this.createjs||{};
-
--(function() {
-- "use strict";
-+
-+
-+
-
- /**
- * A sample TweenJS plugin. This plugin does not actually affect tweens in any way, it's merely intended to document
-@@ -45,7 +45,7 @@ this.createjs = this.createjs||{};
- * @class SamplePlugin
- * @constructor
- **/
-- function SamplePlugin() {
-+ createjs.SamplePlugin = function() {
- throw("SamplePlugin cannot be instantiated.")
- };
-
-@@ -56,7 +56,7 @@ this.createjs = this.createjs||{};
- * @property priority
- * @static
- **/
-- SamplePlugin.priority = 0;
-+ createjs.SamplePlugin.priority = 0;
-
- /**
- * Installs this plugin for use with TweenJS, and registers for a list of properties that this plugin will operate
-@@ -64,7 +64,7 @@ this.createjs = this.createjs||{};
- * @method install
- * @static
- **/
-- SamplePlugin.install = function() {
-+ createjs.SamplePlugin.install = function() {
- // this registers this plugin to work with the "test" property.
- createjs.Tween.installPlugin(SamplePlugin, ["test"]);
- };
-@@ -75,12 +75,12 @@ this.createjs = this.createjs||{};
- * @method init
- * @param {Tween} tween The related tween instance.
- * @param {String} prop The name of the property that is being initialized.
-- * @param {any} value The current value of the property on the tween's target.
-- * @return {any} The starting tween value for the property. In most cases, you would simply
-+ * @param {Object} value The current value of the property on the tween's target.
-+ * @return {Object} The starting tween value for the property. In most cases, you would simply
- * return the value parameter, but some plugins may need to modify the starting value.
- * @static
- **/
-- SamplePlugin.init = function(tween, prop, value) {
-+ createjs.SamplePlugin.init = function(tween, prop, value) {
- console.log("init", prop, value);
-
- // return the unmodified property value:
-@@ -93,14 +93,14 @@ this.createjs = this.createjs||{};
- * @method init
- * @param {Tween} tween The related tween instance.
- * @param {String} prop The name of the property being tweened.
-- * @param {any} startValue The value of the property at the beginning of the step. This will
-+ * @param {Object} startValue The value of the property at the beginning of the step. This will
- * be the same as the init value if this is the first step, or the same as the
- * endValue of the previous step if not.
- * @param {Object} injectProps A generic object to which the plugin can append other properties which should be updated on this step.
-- * @param {any} endValue The value of the property at the end of the step.
-+ * @param {Object} endValue The value of the property at the end of the step.
- * @static
- **/
-- SamplePlugin.step = function(tween, prop, startValue, endValue, injectProps) {
-+ createjs.SamplePlugin.step = function(tween, prop, startValue, endValue, injectProps) {
- console.log("to: ", prop, startValue, endValue);
- };
-
-@@ -109,7 +109,7 @@ this.createjs = this.createjs||{};
- * @method tween
- * @param {Tween} tween The related tween instance.
- * @param {String} prop The name of the property being tweened.
-- * @param {any} value The current tweened value of the property, as calculated by TweenJS.
-+ * @param {Object} value The current tweened value of the property, as calculated by TweenJS.
- * @param {Object} startValues A hash of all of the property values at the start of the current
- * step. You could access the start value of the current property using
- * startValues[prop].
-@@ -120,13 +120,13 @@ this.createjs = this.createjs||{};
- * this range.
- * @param {Boolean} wait Indicates whether the current step is a "wait" step.
- * @param {Boolean} end Indicates that the tween has reached the end.
-- * @return {any} Return the value that should be assigned to the target property. For example
-+ * @return {Object} Return the value that should be assigned to the target property. For example
- * returning <code>Math.round(value)</code> would assign the default calculated value
- * as an integer. Returning Tween.IGNORE will prevent Tween from assigning a value to
- * the target property.
- * @static
- **/
-- SamplePlugin.tween = function(tween, prop, value, startValues, endValues, ratio, wait, end) {
-+ createjs.SamplePlugin.tween = function(tween, prop, value, startValues, endValues, ratio, wait, end) {
- // ratio is the eased ratio
- console.log("tween", prop, value, ratio, wait, end);
-
-@@ -135,6 +135,6 @@ this.createjs = this.createjs||{};
- };
-
-
-- createjs.SamplePlugin = SamplePlugin;
-
--}());
-+
-+
-diff --git a/createjs/target/downloads/TweenJS-0.6.2/src/tweenjs/Timeline.js b/createjs/target/downloads/TweenJS-0.6.2/src/tweenjs/Timeline.js
-index 5546bc2..1b86359 100644
---- a/createjs/target/downloads/TweenJS-0.6.2/src/tweenjs/Timeline.js
-+++ b/createjs/target/downloads/TweenJS-0.6.2/src/tweenjs/Timeline.js
-@@ -1,444 +1,155 @@
--/*
--* Timeline
--* Visit http://createjs.com/ for documentation, updates and examples.
--*
--* Copyright (c) 2010 gskinner.com, inc.
--*
--* Permission is hereby granted, free of charge, to any person
--* obtaining a copy of this software and associated documentation
--* files (the "Software"), to deal in the Software without
--* restriction, including without limitation the rights to use,
--* copy, modify, merge, publish, distribute, sublicense, and/or sell
--* copies of the Software, and to permit persons to whom the
--* Software is furnished to do so, subject to the following
--* conditions:
--*
--* The above copyright notice and this permission notice shall be
--* included in all copies or substantial portions of the Software.
--*
--* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
--* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
--* OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
--* NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
--* HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
--* WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
--* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
--* OTHER DEALINGS IN THE SOFTWARE.
--*/
--
--/**
-- * @module TweenJS
-+/** @fileoverview Auto-generated Externs files
-+ * @externs
- */
-+/**
-+ * The Timeline class synchronizes multiple tweens and allows them to be controlled as a group. Please note that if a
-+ * timeline is looping, the tweens on it may appear to loop even if the "loop" property of the tween is false.
-+ *
-+ * @see [Timeline]
-+ * @param {(Array|null)} tweens An array of Tweens to add to this timeline. See {{#crossLink "Timeline/addTween"}}{{/crossLink}} for more info.
-+ * @param {(Object|null)} labels An object defining labels for using {{#crossLink "Timeline/gotoAndPlay"}}{{/crossLink}}/{{#crossLink "Timeline/gotoAndStop"}}{{/crossLink}}. See {{#crossLink "Timeline/setLabels"}}{{/crossLink}} for details.
-+ * @param {(Object|null)} props The configuration properties to apply to this tween instance (ex. `{loop:true}`). All properties default to false. Supported props are:<UL> <LI> loop: sets the loop property on this tween.</LI> <LI> useTicks: uses ticks for all durations instead of milliseconds.</LI> <LI> ignoreGlobalPause: sets the ignoreGlobalPause property on this tween.</LI> <LI> paused: indicates whether to start the tween paused.</LI> <LI> position: indicates the initial position for this timeline.</LI> <LI> onChange: specifies a listener to add for the {{#crossLink "Timeline/change:event"}}{{/crossLink}} event.</LI> </UL>
-+ * @constructor
-+ * @extends createjs.EventDispatcher
-
--// namespace:
--this.createjs = this.createjs||{};
--
--
--(function() {
-- "use strict";
--
--
--// constructor
-- /**
-- * The Timeline class synchronizes multiple tweens and allows them to be controlled as a group. Please note that if a
-- * timeline is looping, the tweens on it may appear to loop even if the "loop" property of the tween is false.
-- * @class Timeline
-- * @param {Array} tweens An array of Tweens to add to this timeline. See {{#crossLink "Timeline/addTween"}}{{/crossLink}}
-- * for more info.
-- * @param {Object} labels An object defining labels for using {{#crossLink "Timeline/gotoAndPlay"}}{{/crossLink}}/{{#crossLink "Timeline/gotoAndStop"}}{{/crossLink}}.
-- * See {{#crossLink "Timeline/setLabels"}}{{/crossLink}}
-- * for details.
-- * @param {Object} props The configuration properties to apply to this tween instance (ex. `{loop:true}`). All properties
-- * default to false. Supported props are:<UL>
-- * <LI> loop: sets the loop property on this tween.</LI>
-- * <LI> useTicks: uses ticks for all durations instead of milliseconds.</LI>
-- * <LI> ignoreGlobalPause: sets the ignoreGlobalPause property on this tween.</LI>
-- * <LI> paused: indicates whether to start the tween paused.</LI>
-- * <LI> position: indicates the initial position for this timeline.</LI>
-- * <LI> onChange: specifies a listener to add for the {{#crossLink "Timeline/change:event"}}{{/crossLink}} event.</LI>
-- * </UL>
-- * @extends EventDispatcher
-- * @constructor
-- **/
-- function Timeline(tweens, labels, props) {
-- this.EventDispatcher_constructor();
--
-- // public properties:
-- /**
-- * Causes this timeline to continue playing when a global pause is active.
-- * @property ignoreGlobalPause
-- * @type Boolean
-- **/
-- this.ignoreGlobalPause = false;
--
-- /**
-- * The total duration of this timeline in milliseconds (or ticks if `useTicks `is `true`). This value is usually
-- * automatically updated as you modify the timeline. See {{#crossLink "Timeline/updateDuration"}}{{/crossLink}}
-- * for more information.
-- * @property duration
-- * @type Number
-- * @default 0
-- * @readonly
-- **/
-- this.duration = 0;
--
-- /**
-- * If true, the timeline will loop when it reaches the end. Can be set via the props param.
-- * @property loop
-- * @type Boolean
-- **/
-- this.loop = false;
--
-- /**
-- * The current normalized position of the timeline. This will always be a value between 0 and
-- * {{#crossLink "Timeline/duration:property"}}{{/crossLink}}.
-- * Changing this property directly will have no effect.
-- * @property position
-- * @type Object
-- * @readonly
-- **/
-- this.position = null;
--
-- // private properties:
-- /**
-- * @property _paused
-- * @type Boolean
-- * @protected
-- **/
-- this._paused = false;
--
-- /**
-- * @property _tweens
-- * @type Array[Tween]
-- * @protected
-- **/
-- this._tweens = [];
--
-- /**
-- * @property _labels
-- * @type Object
-- * @protected
-- **/
-- this._labels = null;
--
-- /**
-- * @property _labelList
-- * @type Array[Object]
-- * @protected
-- **/
-- this._labelList = null;
--
-- /**
-- * @property _prevPosition
-- * @type Number
-- * @default 0
-- * @protected
-- **/
-- this._prevPosition = 0;
--
-- /**
-- * @property _prevPos
-- * @type Number
-- * @default -1
-- * @protected
-- **/
-- this._prevPos = -1;
--
-- /**
-- * @property _useTicks
-- * @type Boolean
-- * @default false
-- * @protected
-- **/
-- this._useTicks = false;
--
-- /**
-- * Indicates whether the timeline is currently registered with Tween.
-- * @property _registered
-- * @type {boolean}
-- * @default false
-- * @protected
-- */
-- this._registered = false;
--
--
-- if (props) {
-- this._useTicks = props.useTicks;
-- this.loop = props.loop;
-- this.ignoreGlobalPause = props.ignoreGlobalPause;
-- props.onChange&&this.addEventListener("change", props.onChange);
-- }
-- if (tweens) { this.addTween.apply(this, tweens); }
-- this.setLabels(labels);
-- if (props&&props.paused) { this._paused=true; }
-- else { createjs.Tween._register(this,true); }
-- if (props&&props.position!=null) { this.setPosition(props.position, createjs.Tween.NONE); }
--
-- };
--
-- var p = createjs.extend(Timeline, createjs.EventDispatcher);
--
-- // TODO: deprecated
-- // p.initialize = function() {}; // searchable for devs wondering where it is. REMOVED. See docs for details.
--
--
--// events:
-- /**
-- * Called whenever the timeline's position changes.
-- * @event change
-- * @since 0.5.0
-- **/
--
--
--// public methods:
-- /**
-- * Adds one or more tweens (or timelines) to this timeline. The tweens will be paused (to remove them from the
-- * normal ticking system) and managed by this timeline. Adding a tween to multiple timelines will result in
-- * unexpected behaviour.
-- * @method addTween
-- * @param {Tween} ...tween The tween(s) to add. Accepts multiple arguments.
-- * @return {Tween} The first tween that was passed in.
-- **/
-- p.addTween = function(tween) {
-- var l = arguments.length;
-- if (l > 1) {
-- for (var i=0; i<l; i++) { this.addTween(arguments[i]); }
-- return arguments[0];
-- } else if (l == 0) { return null; }
-- this.removeTween(tween);
-- this._tweens.push(tween);
-- tween.setPaused(true);
-- tween._paused = false;
-- tween._useTicks = this._useTicks;
-- if (tween.duration > this.duration) { this.duration = tween.duration; }
-- if (this._prevPos >= 0) { tween.setPosition(this._prevPos, createjs.Tween.NONE); }
-- return tween;
-- };
--
-- /**
-- * Removes one or more tweens from this timeline.
-- * @method removeTween
-- * @param {Tween} ...tween The tween(s) to remove. Accepts multiple arguments.
-- * @return Boolean Returns `true` if all of the tweens were successfully removed.
-- **/
-- p.removeTween = function(tween) {
-- var l = arguments.length;
-- if (l > 1) {
-- var good = true;
-- for (var i=0; i<l; i++) { good = good && this.removeTween(arguments[i]); }
-- return good;
-- } else if (l == 0) { return false; }
--
-- var tweens = this._tweens;
-- var i = tweens.length;
-- while (i--) {
-- if (tweens[i] == tween) {
-- tweens.splice(i, 1);
-- if (tween.duration >= this.duration) { this.updateDuration(); }
-- return true;
-- }
-- }
-- return false;
-- };
--
-- /**
-- * Adds a label that can be used with {{#crossLink "Timeline/gotoAndPlay"}}{{/crossLink}}/{{#crossLink "Timeline/gotoAndStop"}}{{/crossLink}}.
-- * @method addLabel
-- * @param {String} label The label name.
-- * @param {Number} position The position this label represents.
-- **/
-- p.addLabel = function(label, position) {
-- this._labels[label] = position;
-- var list = this._labelList;
-- if (list) {
-- for (var i= 0,l=list.length; i<l; i++) { if (position < list[i].position) { break; } }
-- list.splice(i, 0, {label:label, position:position});
-- }
-- };
--
-- /**
-- * Defines labels for use with gotoAndPlay/Stop. Overwrites any previously set labels.
-- * @method setLabels
-- * @param {Object} o An object defining labels for using {{#crossLink "Timeline/gotoAndPlay"}}{{/crossLink}}/{{#crossLink "Timeline/gotoAndStop"}}{{/crossLink}}
-- * in the form `{labelName:time}` where time is in milliseconds (or ticks if `useTicks` is `true`).
-- **/
-- p.setLabels = function(o) {
-- this._labels = o ? o : {};
-- };
--
-- /**
-- * Returns a sorted list of the labels defined on this timeline.
-- * @method getLabels
-- * @return {Array[Object]} A sorted array of objects with label and position properties.
-- **/
-- p.getLabels = function() {
-- var list = this._labelList;
-- if (!list) {
-- list = this._labelList = [];
-- var labels = this._labels;
-- for (var n in labels) {
-- list.push({label:n, position:labels[n]});
-- }
-- list.sort(function (a,b) { return a.position- b.position; });
-- }
-- return list;
-- };
--
-- /**
-- * Returns the name of the label on or immediately before the current position. For example, given a timeline with
-- * two labels, "first" on frame index 4, and "second" on frame 8, getCurrentLabel would return:
-- * <UL>
-- * <LI>null if the current position is 2.</LI>
-- * <LI>"first" if the current position is 4.</LI>
-- * <LI>"first" if the current position is 7.</LI>
-- * <LI>"second" if the current position is 15.</LI>
-- * </UL>
-- * @method getCurrentLabel
-- * @return {String} The name of the current label or null if there is no label
-- **/
-- p.getCurrentLabel = function() {
-- var labels = this.getLabels();
-- var pos = this.position;
-- var l = labels.length;
-- if (l) {
-- for (var i = 0; i<l; i++) { if (pos < labels[i].position) { break; } }
-- return (i==0) ? null : labels[i-1].label;
-- }
-- return null;
-- };
--
-- /**
-- * Unpauses this timeline and jumps to the specified position or label.
-- * @method gotoAndPlay
-- * @param {String|Number} positionOrLabel The position in milliseconds (or ticks if `useTicks` is `true`)
-- * or label to jump to.
-- **/
-- p.gotoAndPlay = function(positionOrLabel) {
-- this.setPaused(false);
-- this._goto(positionOrLabel);
-- };
--
-- /**
-- * Pauses this timeline and jumps to the specified position or label.
-- * @method gotoAndStop
-- * @param {String|Number} positionOrLabel The position in milliseconds (or ticks if `useTicks` is `true`) or label
-- * to jump to.
-- **/
-- p.gotoAndStop = function(positionOrLabel) {
-- this.setPaused(true);
-- this._goto(positionOrLabel);
-- };
--
-- /**
-- * Advances the timeline to the specified position.
-- * @method setPosition
-- * @param {Number} value The position to seek to in milliseconds (or ticks if `useTicks` is `true`).
-- * @param {Number} [actionsMode] parameter specifying how actions are handled. See the Tween {{#crossLink "Tween/setPosition"}}{{/crossLink}}
-- * method for more details.
-- * @return {Boolean} Returns `true` if the timeline is complete (ie. the full timeline has run & {{#crossLink "Timeline/loop:property"}}{{/crossLink}}
-- * is `false`).
-- **/
-- p.setPosition = function(value, actionsMode) {
-- var t = this._calcPosition(value);
-- var end = !this.loop && value >= this.duration;
-- if (t == this._prevPos) { return end; }
-- this._prevPosition = value;
-- this.position = this._prevPos = t; // in case an action changes the current frame.
-- for (var i=0, l=this._tweens.length; i<l; i++) {
-- this._tweens[i].setPosition(t, actionsMode);
-- if (t != this._prevPos) { return false; } // an action changed this timeline's position.
-- }
-- if (end) { this.setPaused(true); }
-- this.dispatchEvent("change");
-- return end;
-- };
--
-- /**
-- * Pauses or plays this timeline.
-- * @method setPaused
-- * @param {Boolean} value Indicates whether the tween should be paused (`true`) or played (`false`).
-- **/
-- p.setPaused = function(value) {
-- this._paused = !!value;
-- createjs.Tween._register(this, !value);
-- };
--
-- /**
-- * Recalculates the duration of the timeline. The duration is automatically updated when tweens are added or removed,
-- * but this method is useful if you modify a tween after it was added to the timeline.
-- * @method updateDuration
-- **/
-- p.updateDuration = function() {
-- this.duration = 0;
-- for (var i=0,l=this._tweens.length; i<l; i++) {
-- var tween = this._tweens[i];
-- if (tween.duration > this.duration) { this.duration = tween.duration; }
-- }
-- };
--
-- /**
-- * Advances this timeline by the specified amount of time in milliseconds (or ticks if `useTicks` is `true`).
-- * This is normally called automatically by the Tween engine (via the {{#crossLink "Tween/tick:event"}}{{/crossLink}}
-- * event), but is exposed for advanced uses.
-- * @method tick
-- * @param {Number} delta The time to advance in milliseconds (or ticks if useTicks is true).
-- **/
-- p.tick = function(delta) {
-- this.setPosition(this._prevPosition+delta);
-- };
--
-- /**
-- * If a numeric position is passed, it is returned unchanged. If a string is passed, the position of the
-- * corresponding frame label will be returned, or `null` if a matching label is not defined.
-- * @method resolve
-- * @param {String|Number} positionOrLabel A numeric position value or label string.
-- **/
-- p.resolve = function(positionOrLabel) {
-- var pos = Number(positionOrLabel);
-- if (isNaN(pos)) { pos = this._labels[positionOrLabel]; }
-- return pos;
-- };
--
-- /**
-- * Returns a string representation of this object.
-- * @method toString
-- * @return {String} a string representation of the instance.
-- **/
-- p.toString = function() {
-- return "[Timeline]";
-- };
--
-- /**
-- * @method clone
-- * @protected
-- **/
-- p.clone = function() {
-- throw("Timeline can not be cloned.")
-- };
--
--// private methods:
-- /**
-- * @method _goto
-- * @param {String | Number} positionOrLabel
-- * @protected
-- **/
-- p._goto = function(positionOrLabel) {
-- var pos = this.resolve(positionOrLabel);
-- if (pos != null) { this.setPosition(pos); }
-- };
--
-- /**
-- * @method _calcPosition
-- * @param {Number} value
-- * @return {Number}
-- * @protected
-- **/
-- p._calcPosition = function(value) {
-- if (value < 0) { return 0; }
-- if (value < this.duration) { return value; }
-- return this.loop ? value%this.duration : this.duration;
-- };
--
-- createjs.Timeline = createjs.promote(Timeline, "EventDispatcher");
-+ */
-+createjs.Timeline = function (tweens, labels, props) {}
-+
-+ /**
-+ * @see [Timeline]
-+ */
-+createjs.Timeline.prototype.clone = function () { }
-+
-+ /**
-+ * If a numeric position is passed, it is returned unchanged. If a string is passed, the position of the
-+ * corresponding frame label will be returned, or `null` if a matching label is not defined.
-+ *
-+ * @param {(number|string|null)} positionOrLabel A numeric position value or label string.
-+ * @see [Timeline]
-+ */
-+createjs.Timeline.prototype.resolve = function (positionOrLabel) { }
-+
-+ /**
-+ * Adds a label that can be used with {{#crossLink "Timeline/gotoAndPlay"}}{{/crossLink}}/{{#crossLink "Timeline/gotoAndStop"}}{{/crossLink}}.
-+ *
-+ * @param {(string|null)} label The label name.
-+ * @param {(number|null)} position The position this label represents.
-+ * @see [Timeline]
-+ */
-+createjs.Timeline.prototype.addLabel = function (label, position) { }
-+
-+ /**
-+ * @param {(number|null)} value
-+ * @see [Timeline]
-+ * @returns {(number|null)}
-+ */
-+createjs.Timeline.prototype._calcPosition = function (value) { return 0; }
-+
-+ /**
-+ * Pauses this timeline and jumps to the specified position or label.
-+ *
-+ * @param {(number|string|null)} positionOrLabel The position in milliseconds (or ticks if `useTicks` is `true`) or label to jump to.
-+ * @see [Timeline]
-+ */
-+createjs.Timeline.prototype.gotoAndStop = function (positionOrLabel) { }
-+
-+ /**
-+ * Removes one or more tweens from this timeline.
-+ *
-+ * @see [Timeline]
-+ * @returns {?} Boolean Returns `true` if all of the tweens were successfully removed.
-+ */
-+createjs.Timeline.prototype.removeTween = function (tween) { return null; }
-+
-+ /**
-+ * Returns the name of the label on or immediately before the current position. For example, given a timeline with
-+ * two labels, "first" on frame index 4, and "second" on frame 8, getCurrentLabel would return:
-+ * <UL>
-+ * <LI>null if the current position is 2.</LI>
-+ * <LI>"first" if the current position is 4.</LI>
-+ * <LI>"first" if the current position is 7.</LI>
-+ * <LI>"second" if the current position is 15.</LI>
-+ * </UL>
-+ *
-+ * @see [Timeline]
-+ * @returns {(string|null)} The name of the current label or null if there is no label
-+ */
-+createjs.Timeline.prototype.getCurrentLabel = function () { return ''; }
-+
-+ /**
-+ * Advances the timeline to the specified position.
-+ *
-+ * @param {(number|null)} value The position to seek to in milliseconds (or ticks if `useTicks` is `true`).
-+ * @param {number=} opt_actionsMode parameter specifying how actions are handled. See the Tween {{#crossLink "Tween/setPosition"}}{{/crossLink}} method for more details.
-+ * @see [Timeline]
-+ * @returns {(boolean|null)} Returns `true` if the timeline is complete (ie. the full timeline has run & {{#crossLink "Timeline/loop:property"}}{{/crossLink}} is `false`).
-+ */
-+createjs.Timeline.prototype.setPosition = function (value, opt_actionsMode) { return null; }
-+
-+ /**
-+ * Pauses or plays this timeline.
-+ *
-+ * @param {(boolean|null)} value Indicates whether the tween should be paused (`true`) or played (`false`).
-+ * @see [Timeline]
-+ */
-+createjs.Timeline.prototype.setPaused = function (value) { }
-+
-+ /**
-+ * Advances this timeline by the specified amount of time in milliseconds (or ticks if `useTicks` is `true`).
-+ * This is normally called automatically by the Tween engine (via the {{#crossLink "Tween/tick:event"}}{{/crossLink}}
-+ * event), but is exposed for advanced uses.
-+ *
-+ * @param {(number|null)} delta The time to advance in milliseconds (or ticks if useTicks is true).
-+ * @see [Timeline]
-+ */
-+createjs.Timeline.prototype.tick = function (delta) { }
-+
-+ /**
-+ * @param {(number|string|null)} positionOrLabel
-+ * @see [Timeline]
-+ */
-+createjs.Timeline.prototype._goto = function (positionOrLabel) { }
-+
-+ /**
-+ * Returns a sorted list of the labels defined on this timeline.
-+ *
-+ * @see [Timeline]
-+ * @returns {(Array|null)} Object]} A sorted array of objects with label and position properties.
-+ */
-+createjs.Timeline.prototype.getLabels = function () { return null; }
-+
-+ /**
-+ * Recalculates the duration of the timeline. The duration is automatically updated when tweens are added or removed,
-+ * but this method is useful if you modify a tween after it was added to the timeline.
-+ *
-+ * @see [Timeline]
-+ */
-+createjs.Timeline.prototype.updateDuration = function () { }
-+
-+ /**
-+ * Adds one or more tweens (or timelines) to this timeline. The tweens will be paused (to remove them from the
-+ * normal ticking system) and managed by this timeline. Adding a tween to multiple timelines will result in
-+ * unexpected behaviour.
-+ *
-+ * @see [Timeline]
-+ * @returns {(Tween|null)} The first tween that was passed in.
-+ */
-+createjs.Timeline.prototype.addTween = function (tween) { return null; }
-+
-+
-+ /**
-+ * Defines labels for use with gotoAndPlay/Stop. Overwrites any previously set labels.
-+ *
-+ * @param {(Object|null)} o An object defining labels for using {{#crossLink "Timeline/gotoAndPlay"}}{{/crossLink}}/{{#crossLink "Timeline/gotoAndStop"}}{{/crossLink}} in the form `{labelName:time}` where time is in milliseconds (or ticks if `useTicks` is `true`).
-+ * @see [Timeline]
-+ */
-+createjs.Timeline.prototype.setLabels = function (o) { }
-+
-+ /**
-+ * Unpauses this timeline and jumps to the specified position or label.
-+ *
-+ * @param {(number|string|null)} positionOrLabel The position in milliseconds (or ticks if `useTicks` is `true`) or label to jump to.
-+ * @see [Timeline]
-+ */
-+createjs.Timeline.prototype.gotoAndPlay = function (positionOrLabel) { }
-
--}());
-diff --git a/createjs/target/downloads/TweenJS-0.6.2/src/tweenjs/Tween.js b/createjs/target/downloads/TweenJS-0.6.2/src/tweenjs/Tween.js
-index 8945830..2440fe4 100644
---- a/createjs/target/downloads/TweenJS-0.6.2/src/tweenjs/Tween.js
-+++ b/createjs/target/downloads/TweenJS-0.6.2/src/tweenjs/Tween.js
-@@ -1,941 +1,284 @@
--/*
--* Tween
--* Visit http://createjs.com/ for documentation, updates and examples.
--*
--* Copyright (c) 2010 gskinner.com, inc.
--*
--* Permission is hereby granted, free of charge, to any person
--* obtaining a copy of this software and associated documentation
--* files (the "Software"), to deal in the Software without
--* restriction, including without limitation the rights to use,
--* copy, modify, merge, publish, distribute, sublicense, and/or sell
--* copies of the Software, and to permit persons to whom the
--* Software is furnished to do so, subject to the following
--* conditions:
--*
--* The above copyright notice and this permission notice shall be
--* included in all copies or substantial portions of the Software.
--*
--* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
--* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
--* OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
--* NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
--* HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
--* WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
--* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
--* OTHER DEALINGS IN THE SOFTWARE.
--*/
--
-+/** @fileoverview Auto-generated Externs files
-+ * @externs
-+ */
- /**
-- * The TweenJS Javascript library provides a simple but powerful tweening interface. It supports tweening of both
-- * numeric object properties & CSS style properties, and allows you to chain tweens and actions together to create
-- * complex sequences.
-- *
-- * <h4>Simple Tween</h4>
-- * This tween will tween the target's alpha property from 0 to 1 for 1s then call the <code>handleComplete</code> function.
-- *
-- * target.alpha = 0;
-- * createjs.Tween.get(target).to({alpha:1}, 1000).call(handleComplete);
-- * function handleComplete() {
-- * //Tween complete
-- * }
-- *
-- * <strong>Arguments and Scope</strong>
-- * Tween also supports a `call()` with arguments and/or a scope. If no scope is passed, then the function is called
-- * anonymously (normal JavaScript behaviour). The scope is useful for maintaining scope when doing object-oriented
-- * style development.
-- *
-- * createjs.Tween.get(target).to({alpha:0})
-- * .call(handleComplete, [argument1, argument2], this);
-- *
-- * <h4>Chainable Tween</h4>
-- * This tween will wait 0.5s, tween the target's alpha property to 0 over 1s, set it's visible to false, then call the
-- * <code>handleComplete</code> function.
-- *
-- * target.alpha = 1;
-- * createjs.Tween.get(target).wait(500).to({alpha:0, visible:false}, 1000).call(handleComplete);
-- * function handleComplete() {
-- * //Tween complete
-- * }
-- *
-- * <h4>Browser Support</h4>
-- * TweenJS will work in modern browsers. To use TweenJS with IE8 and earlier, use an older version of PreloadJS
-- * (version 0.4.1 and earlier).
-+ * A Tween instance tweens properties for a single target. Instance methods can be chained for easy construction and sequencing:
-+ *
-+ * <h4>Example</h4>
-+ *
-+ * target.alpha = 1;
-+ * createjs.createjs.Tween.get(target)
-+ * .wait(500)
-+ * .to({alpha:0, visible:false}, 1000)
-+ * .call(handleComplete);
-+ * function handleComplete() {
-+ * //Tween complete
-+ * }
-+ *
-+ * Multiple tweens can point to the same instance, however if they affect the same properties there could be unexpected
-+ * behaviour. To stop all tweens on an object, use {{#crossLink "Tween/removeTweens"}}{{/crossLink}} or pass `override:true`
-+ * in the props argument.
-+ *
-+ * createjs.createjs.Tween.get(target, {override:true}).to({x:100});
-+ *
-+ * Subscribe to the {{#crossLink "Tween/change:event"}}{{/crossLink}} event to get notified when a property of the
-+ * target is changed.
-+ *
-+ * createjs.createjs.Tween.get(target, {override:true}).to({x:100}).addEventListener("change", handleChange);
-+ * function handleChange(event) {
-+ * // The tween changed.
-+ * }
-+ *
-+ * See the Tween {{#crossLink "Tween/get"}}{{/crossLink}} method for additional param documentation.
- *
-- * @module TweenJS
-- * @main TweenJS
-- */
--
--// TODO: possibly add a END actionsMode (only runs actions that == position)?
--// TODO: evaluate a way to decouple paused from tick registration.
--
--// namespace:
--this.createjs = this.createjs||{};
--
--(function() {
-- "use strict";
--
--
--// constructor
-- /**
-- * A Tween instance tweens properties for a single target. Instance methods can be chained for easy construction and sequencing:
-- *
-- * <h4>Example</h4>
-- *
-- * target.alpha = 1;
-- * createjs.Tween.get(target)
-- * .wait(500)
-- * .to({alpha:0, visible:false}, 1000)
-- * .call(handleComplete);
-- * function handleComplete() {
-- * //Tween complete
-- * }
-- *
-- * Multiple tweens can point to the same instance, however if they affect the same properties there could be unexpected
-- * behaviour. To stop all tweens on an object, use {{#crossLink "Tween/removeTweens"}}{{/crossLink}} or pass `override:true`
-- * in the props argument.
-- *
-- * createjs.Tween.get(target, {override:true}).to({x:100});
-- *
-- * Subscribe to the {{#crossLink "Tween/change:event"}}{{/crossLink}} event to get notified when a property of the
-- * target is changed.
-- *
-- * createjs.Tween.get(target, {override:true}).to({x:100}).addEventListener("change", handleChange);
-- * function handleChange(event) {
-- * // The tween changed.
-- * }
-- *
-- * See the Tween {{#crossLink "Tween/get"}}{{/crossLink}} method for additional param documentation.
-- * @class Tween
-- * @param {Object} target The target object that will have its properties tweened.
-- * @param {Object} [props] The configuration properties to apply to this tween instance (ex. `{loop:true, paused:true}`.
-- * All properties default to false. Supported props are:<UL>
-- * <LI> loop: sets the loop property on this tween.</LI>
-- * <LI> useTicks: uses ticks for all durations instead of milliseconds.</LI>
-- * <LI> ignoreGlobalPause: sets the {{#crossLink "Tween/ignoreGlobalPause:property"}}{{/crossLink}} property on this tween.</LI>
-- * <LI> override: if true, `Tween.removeTweens(target)` will be called to remove any other tweens with the same target.
-- * <LI> paused: indicates whether to start the tween paused.</LI>
-- * <LI> position: indicates the initial position for this tween.</LI>
-- * <LI> onChange: specifies a listener for the "change" event.</LI>
-- * </UL>
-- * @param {Object} [pluginData] An object containing data for use by installed plugins. See individual
-- * plugins' documentation for details.
-- * @extends EventDispatcher
-- * @constructor
-- */
-- function Tween(target, props, pluginData) {
--
-- // public properties:
-- /**
-- * Causes this tween to continue playing when a global pause is active. For example, if TweenJS is using {{#crossLink "Ticker"}}{{/crossLink}},
-- * then setting this to true (the default) will cause this tween to be paused when <code>Ticker.setPaused(true)</code>
-- * is called. See the Tween {{#crossLink "Tween/tick"}}{{/crossLink}} method for more info. Can be set via the props
-- * parameter.
-- * @property ignoreGlobalPause
-- * @type Boolean
-- * @default false
-- */
-- this.ignoreGlobalPause = false;
--
-- /**
-- * If true, the tween will loop when it reaches the end. Can be set via the props param.
-- * @property loop
-- * @type {Boolean}
-- * @default false
-- */
-- this.loop = false;
--
-- /**
-- * Specifies the total duration of this tween in milliseconds (or ticks if useTicks is true).
-- * This value is automatically updated as you modify the tween. Changing it directly could result in unexpected
-- * behaviour.
-- * @property duration
-- * @type {Number}
-- * @default 0
-- * @readonly
-- */
-- this.duration = 0;
--
-- /**
-- * Allows you to specify data that will be used by installed plugins. Each plugin uses this differently, but in general
-- * you specify data by setting it to a property of pluginData with the same name as the plugin class.
-- * @example
-- * myTween.pluginData.PluginClassName = data;
-- * <br/>
-- * Also, most plugins support a property to enable or disable them. This is typically the plugin class name followed by "_enabled".<br/>
-- * @example
-- * myTween.pluginData.PluginClassName_enabled = false;<br/>
-- * <br/>
-- * Some plugins also store instance data in this object, usually in a property named _PluginClassName.
-- * See the documentation for individual plugins for more details.
-- * @property pluginData
-- * @type {Object}
-- */
-- this.pluginData = pluginData || {};
--
-- /**
-- * The target of this tween. This is the object on which the tweened properties will be changed. Changing
-- * this property after the tween is created will not have any effect.
-- * @property target
-- * @type {Object}
-- * @readonly
-- */
-- this.target = target;
--
-- /**
-- * The current normalized position of the tween. This will always be a value between 0 and duration.
-- * Changing this property directly will have no effect.
-- * @property position
-- * @type {Object}
-- * @readonly
-- */
-- this.position = null;
--
-- /**
-- * Indicates the tween's current position is within a passive wait.
-- * @property passive
-- * @type {Boolean}
-- * @default false
-- * @readonly
-- **/
-- this.passive = false;
--
-- // private properties:
-- /**
-- * @property _paused
-- * @type {Boolean}
-- * @default false
-- * @protected
-- */
-- this._paused = false;
--
-- /**
-- * @property _curQueueProps
-- * @type {Object}
-- * @protected
-- */
-- this._curQueueProps = {};
--
-- /**
-- * @property _initQueueProps
-- * @type {Object}
-- * @protected
-- */
-- this._initQueueProps = {};
--
-- /**
-- * @property _steps
-- * @type {Array}
-- * @protected
-- */
-- this._steps = [];
--
-- /**
-- * @property _actions
-- * @type {Array}
-- * @protected
-- */
-- this._actions = [];
--
-- /**
-- * Raw position.
-- * @property _prevPosition
-- * @type {Number}
-- * @default 0
-- * @protected
-- */
-- this._prevPosition = 0;
--
-- /**
-- * The position within the current step.
-- * @property _stepPosition
-- * @type {Number}
-- * @default 0
-- * @protected
-- */
-- this._stepPosition = 0; // this is needed by MovieClip.
--
-- /**
-- * Normalized position.
-- * @property _prevPos
-- * @type {Number}
-- * @default -1
-- * @protected
-- */
-- this._prevPos = -1;
--
-- /**
-- * @property _target
-- * @type {Object}
-- * @protected
-- */
-- this._target = target;
--
-- /**
-- * @property _useTicks
-- * @type {Boolean}
-- * @default false
-- * @protected
-- */
-- this._useTicks = false;
--
-- /**
-- * @property _inited
-- * @type {boolean}
-- * @default false
-- * @protected
-- */
-- this._inited = false;
--
-- /**
-- * Indicates whether the tween is currently registered with Tween.
-- * @property _registered
-- * @type {boolean}
-- * @default false
-- * @protected
-- */
-- this._registered = false;
--
--
-- if (props) {
-- this._useTicks = props.useTicks;
-- this.ignoreGlobalPause = props.ignoreGlobalPause;
-- this.loop = props.loop;
-- props.onChange && this.addEventListener("change", props.onChange);
-- if (props.override) { Tween.removeTweens(target); }
-- }
-- if (props&&props.paused) { this._paused=true; }
-- else { createjs.Tween._register(this,true); }
-- if (props&&props.position!=null) { this.setPosition(props.position, Tween.NONE); }
--
-- };
--
-- var p = createjs.extend(Tween, createjs.EventDispatcher);
--
-- // TODO: deprecated
-- // p.initialize = function() {}; // searchable for devs wondering where it is. REMOVED. See docs for details.
--
--
--// static properties
-- /**
-- * Constant defining the none actionsMode for use with setPosition.
-- * @property NONE
-- * @type Number
-- * @default 0
-- * @static
-- */
-- Tween.NONE = 0;
--
-- /**
-- * Constant defining the loop actionsMode for use with setPosition.
-- * @property LOOP
-- * @type Number
-- * @default 1
-- * @static
-- */
-- Tween.LOOP = 1;
--
-- /**
-- * Constant defining the reverse actionsMode for use with setPosition.
-- * @property REVERSE
-- * @type Number
-- * @default 2
-- * @static
-- */
-- Tween.REVERSE = 2;
--
-- /**
-- * Constant returned by plugins to tell the tween not to use default assignment.
-- * @property IGNORE
-- * @type Object
-- * @static
-- */
-- Tween.IGNORE = {};
--
-- /**
-- * @property _listeners
-- * @type Array[Tween]
-- * @static
-- * @protected
-- */
-- Tween._tweens = [];
--
-- /**
-- * @property _plugins
-- * @type Object
-- * @static
-- * @protected
-- */
-- Tween._plugins = {};
--
--
--// static methods
-- /**
-- * Returns a new tween instance. This is functionally identical to using "new Tween(...)", but looks cleaner
-- * with the chained syntax of TweenJS.
-- * <h4>Example</h4>
-- *
-- * var tween = createjs.Tween.get(target);
-- *
-- * @method get
-- * @param {Object} target The target object that will have its properties tweened.
-- * @param {Object} [props] The configuration properties to apply to this tween instance (ex. `{loop:true, paused:true}`).
-- * All properties default to `false`. Supported props are:
-- * <UL>
-- * <LI> loop: sets the loop property on this tween.</LI>
-- * <LI> useTicks: uses ticks for all durations instead of milliseconds.</LI>
-- * <LI> ignoreGlobalPause: sets the {{#crossLink "Tween/ignoreGlobalPause:property"}}{{/crossLink}} property on
-- * this tween.</LI>
-- * <LI> override: if true, `createjs.Tween.removeTweens(target)` will be called to remove any other tweens with
-- * the same target.
-- * <LI> paused: indicates whether to start the tween paused.</LI>
-- * <LI> position: indicates the initial position for this tween.</LI>
-- * <LI> onChange: specifies a listener for the {{#crossLink "Tween/change:event"}}{{/crossLink}} event.</LI>
-- * </UL>
-- * @param {Object} [pluginData] An object containing data for use by installed plugins. See individual plugins'
-- * documentation for details.
-- * @param {Boolean} [override=false] If true, any previous tweens on the same target will be removed. This is the
-- * same as calling `Tween.removeTweens(target)`.
-- * @return {Tween} A reference to the created tween. Additional chained tweens, method calls, or callbacks can be
-- * applied to the returned tween instance.
-- * @static
-- */
-- Tween.get = function(target, props, pluginData, override) {
-- if (override) { Tween.removeTweens(target); }
-- return new Tween(target, props, pluginData);
-- };
--
-- /**
-- * Advances all tweens. This typically uses the {{#crossLink "Ticker"}}{{/crossLink}} class, but you can call it
-- * manually if you prefer to use your own "heartbeat" implementation.
-- * @method tick
-- * @param {Number} delta The change in time in milliseconds since the last tick. Required unless all tweens have
-- * `useTicks` set to true.
-- * @param {Boolean} paused Indicates whether a global pause is in effect. Tweens with {{#crossLink "Tween/ignoreGlobalPause:property"}}{{/crossLink}}
-- * will ignore this, but all others will pause if this is `true`.
-- * @static
-- */
-- Tween.tick = function(delta, paused) {
-- var tweens = Tween._tweens.slice(); // to avoid race conditions.
-- for (var i=tweens.length-1; i>=0; i--) {
-- var tween = tweens[i];
-- if ((paused && !tween.ignoreGlobalPause) || tween._paused) { continue; }
-- tween.tick(tween._useTicks?1:delta);
-- }
-- };
--
-- /**
-- * Handle events that result from Tween being used as an event handler. This is included to allow Tween to handle
-- * {{#crossLink "Ticker/tick:event"}}{{/crossLink}} events from the createjs {{#crossLink "Ticker"}}{{/crossLink}}.
-- * No other events are handled in Tween.
-- * @method handleEvent
-- * @param {Object} event An event object passed in by the {{#crossLink "EventDispatcher"}}{{/crossLink}}. Will
-- * usually be of type "tick".
-- * @private
-- * @static
-- * @since 0.4.2
-- */
-- Tween.handleEvent = function(event) {
-- if (event.type == "tick") {
-- this.tick(event.delta, event.paused);
-- }
-- };
--
-- /**
-- * Removes all existing tweens for a target. This is called automatically by new tweens if the `override`
-- * property is `true`.
-- * @method removeTweens
-- * @param {Object} target The target object to remove existing tweens from.
-- * @static
-- */
-- Tween.removeTweens = function(target) {
-- if (!target.tweenjs_count) { return; }
-- var tweens = Tween._tweens;
-- for (var i=tweens.length-1; i>=0; i--) {
-- var tween = tweens[i];
-- if (tween._target == target) {
-- tween._paused = true;
-- tweens.splice(i, 1);
-- }
-- }
-- target.tweenjs_count = 0;
-- };
--
-- /**
-- * Stop and remove all existing tweens.
-- * @method removeAllTweens
-- * @static
-- * @since 0.4.1
-- */
-- Tween.removeAllTweens = function() {
-- var tweens = Tween._tweens;
-- for (var i= 0, l=tweens.length; i<l; i++) {
-- var tween = tweens[i];
-- tween._paused = true;
-- tween.target&&(tween.target.tweenjs_count = 0);
-- }
-- tweens.length = 0;
-- };
--
-- /**
-- * Indicates whether there are any active tweens (and how many) on the target object (if specified) or in general.
-- * @method hasActiveTweens
-- * @param {Object} [target] The target to check for active tweens. If not specified, the return value will indicate
-- * if there are any active tweens on any target.
-- * @return {Boolean} If there are active tweens.
-- * @static
-- */
-- Tween.hasActiveTweens = function(target) {
-- if (target) { return target.tweenjs_count != null && !!target.tweenjs_count; }
-- return Tween._tweens && !!Tween._tweens.length;
-- };
--
-- /**
-- * Installs a plugin, which can modify how certain properties are handled when tweened. See the {{#crossLink "CSSPlugin"}}{{/crossLink}}
-- * for an example of how to write TweenJS plugins.
-- * @method installPlugin
-- * @static
-- * @param {Object} plugin The plugin class to install
-- * @param {Array} properties An array of properties that the plugin will handle.
-- */
-- Tween.installPlugin = function(plugin, properties) {
-- var priority = plugin.priority;
-- if (priority == null) { plugin.priority = priority = 0; }
-- for (var i=0,l=properties.length,p=Tween._plugins;i<l;i++) {
-- var n = properties[i];
-- if (!p[n]) { p[n] = [plugin]; }
-- else {
-- var arr = p[n];
-- for (var j=0,jl=arr.length;j<jl;j++) {
-- if (priority < arr[j].priority) { break; }
-- }
-- p[n].splice(j,0,plugin);
-- }
-- }
-- };
-+ * @see [Tween]
-+ * @param {(Object|null)} target The target object that will have its properties tweened.
-+ * @param {Object=} opt_props The configuration properties to apply to this tween instance (ex. `{loop:true, paused:true}`. All properties default to false. Supported props are:<UL> <LI> loop: sets the loop property on this tween.</LI> <LI> useTicks: uses ticks for all durations instead of milliseconds.</LI> <LI> ignoreGlobalPause: sets the {{#crossLink "Tween/ignoreGlobalPause:property"}}{{/crossLink}} property on this tween.</LI> <LI> override: if true, `createjs.Tween.removeTweens(target)` will be called to remove any other tweens with the same target. <LI> paused: indicates whether to start the tween paused.</LI> <LI> position: indicates the initial position for this tween.</LI> <LI> onChange: specifies a listener for the "change" event.</LI> </UL>
-+ * @param {Object=} opt_pluginData An object containing data for use by installed plugins. See individual plugins' documentation for details.
-+ * @constructor
-+ * @extends createjs.EventDispatcher
-
-- /**
-- * Registers or unregisters a tween with the ticking system.
-- * @method _register
-- * @param {Tween} tween The tween instance to register or unregister.
-- * @param {Boolean} value If `true`, the tween is registered. If `false` the tween is unregistered.
-- * @static
-- * @protected
-- */
-- Tween._register = function(tween, value) {
-- var target = tween._target;
-- var tweens = Tween._tweens;
-- if (value && !tween._registered) {
-- // TODO: this approach might fail if a dev is using sealed objects in ES5
-- if (target) { target.tweenjs_count = target.tweenjs_count ? target.tweenjs_count+1 : 1; }
-- tweens.push(tween);
-- if (!Tween._inited && createjs.Ticker) { createjs.Ticker.addEventListener("tick", Tween); Tween._inited = true; }
-- } else if (!value && tween._registered) {
-- if (target) { target.tweenjs_count--; }
-- var i = tweens.length;
-- while (i--) {
-- if (tweens[i] == tween) {
-- tweens.splice(i, 1);
-- break;
-- }
-- }
-- }
-- tween._registered = value;
-- };
--
--
--// events:
-- /**
-- * Called whenever the tween's position changes.
-- * @event change
-- * @since 0.4.0
-- **/
--
--
--// public methods:
-- /**
-- * Queues a wait (essentially an empty tween).
-- * <h4>Example</h4>
-- *
-- * //This tween will wait 1s before alpha is faded to 0.
-- * createjs.Tween.get(target).wait(1000).to({alpha:0}, 1000);
-- *
-- * @method wait
-- * @param {Number} duration The duration of the wait in milliseconds (or in ticks if `useTicks` is true).
-- * @param {Boolean} [passive] Tween properties will not be updated during a passive wait. This
-- * is mostly useful for use with {{#crossLink "Timeline"}}{{/crossLink}} instances that contain multiple tweens
-- * affecting the same target at different times.
-- * @return {Tween} This tween instance (for chaining calls).
-- **/
-- p.wait = function(duration, passive) {
-- if (duration == null || duration <= 0) { return this; }
-- var o = this._cloneProps(this._curQueueProps);
-- return this._addStep({d:duration, p0:o, e:this._linearEase, p1:o, v:passive});
-- };
--
-- /**
-- * Queues a tween from the current values to the target properties. Set duration to 0 to jump to these value.
-- * Numeric properties will be tweened from their current value in the tween to the target value. Non-numeric
-- * properties will be set at the end of the specified duration.
-- * <h4>Example</h4>
-- *
-- * createjs.Tween.get(target).to({alpha:0}, 1000);
-- *
-- * @method to
-- * @param {Object} props An object specifying property target values for this tween (Ex. `{x:300}` would tween the x
-- * property of the target to 300).
-- * @param {Number} [duration=0] The duration of the wait in milliseconds (or in ticks if `useTicks` is true).
-- * @param {Function} [ease="linear"] The easing function to use for this tween. See the {{#crossLink "Ease"}}{{/crossLink}}
-- * class for a list of built-in ease functions.
-- * @return {Tween} This tween instance (for chaining calls).
-- */
-- p.to = function(props, duration, ease) {
-- if (isNaN(duration) || duration < 0) { duration = 0; }
-- return this._addStep({d:duration||0, p0:this._cloneProps(this._curQueueProps), e:ease, p1:this._cloneProps(this._appendQueueProps(props))});
-- };
--
-- /**
-- * Queues an action to call the specified function.
-- * <h4>Example</h4>
-- *
-- * //would call myFunction() after 1 second.
-- * myTween.wait(1000).call(myFunction);
-- *
-- * @method call
-- * @param {Function} callback The function to call.
-- * @param {Array} [params]. The parameters to call the function with. If this is omitted, then the function
-- * will be called with a single param pointing to this tween.
-- * @param {Object} [scope]. The scope to call the function in. If omitted, it will be called in the target's
-- * scope.
-- * @return {Tween} This tween instance (for chaining calls).
-- */
-- p.call = function(callback, params, scope) {
-- return this._addAction({f:callback, p:params ? params : [this], o:scope ? scope : this._target});
-- };
--
-- // TODO: add clarification between this and a 0 duration .to:
-- /**
-- * Queues an action to set the specified props on the specified target. If target is null, it will use this tween's
-- * target.
-- * <h4>Example</h4>
-- *
-- * myTween.wait(1000).set({visible:false},foo);
-- *
-- * @method set
-- * @param {Object} props The properties to set (ex. `{visible:false}`).
-- * @param {Object} [target] The target to set the properties on. If omitted, they will be set on the tween's target.
-- * @return {Tween} This tween instance (for chaining calls).
-- */
-- p.set = function(props, target) {
-- return this._addAction({f:this._set, o:this, p:[props, target ? target : this._target]});
-- };
--
-- /**
-- * Queues an action to play (unpause) the specified tween. This enables you to sequence multiple tweens.
-- * <h4>Example</h4>
-- *
-- * myTween.to({x:100},500).play(otherTween);
-- *
-- * @method play
-- * @param {Tween} tween The tween to play.
-- * @return {Tween} This tween instance (for chaining calls).
-- */
-- p.play = function(tween) {
-- if (!tween) { tween = this; }
-- return this.call(tween.setPaused, [false], tween);
-- };
--
-- /**
-- * Queues an action to pause the specified tween.
-- * @method pause
-- * @param {Tween} tween The tween to pause. If null, it pauses this tween.
-- * @return {Tween} This tween instance (for chaining calls)
-- */
-- p.pause = function(tween) {
-- if (!tween) { tween = this; }
-- return this.call(tween.setPaused, [true], tween);
-- };
--
-- /**
-- * Advances the tween to a specified position.
-- * @method setPosition
-- * @param {Number} value The position to seek to in milliseconds (or ticks if useTicks is true).
-- * @param {Number} [actionsMode=1] Specifies how actions are handled (ie. call, set, play, pause):
-- * <ul>
-- * <li>{{#crossLink "Tween/NONE:property"}}{{/crossLink}} (0) - run no actions.</li>
-- * <li>{{#crossLink "Tween/LOOP:property"}}{{/crossLink}} (1) - if new position is less than old, then run all
-- * actions between old and duration, then all actions between 0 and new.</li>
-- * <li>{{#crossLink "Tween/REVERSE:property"}}{{/crossLink}} (2) - if new position is less than old, run all
-- * actions between them in reverse.</li>
-- * </ul>
-- * @return {Boolean} Returns `true` if the tween is complete (ie. the full tween has run & {{#crossLink "Tween/loop:property"}}{{/crossLink}}
-- * is `false`).
-- */
-- p.setPosition = function(value, actionsMode) {
-- if (value < 0) { value = 0; }
-- if (actionsMode == null) { actionsMode = 1; }
--
-- // normalize position:
-- var t = value;
-- var end = false;
-- if (t >= this.duration) {
-- if (this.loop) { t = t%this.duration; }
-- else {
-- t = this.duration;
-- end = true;
-- }
-- }
-- if (t == this._prevPos) { return end; }
--
--
-- var prevPos = this._prevPos;
-- this.position = this._prevPos = t; // set this in advance in case an action modifies position.
-- this._prevPosition = value;
--
-- // handle tweens:
-- if (this._target) {
-- if (end) {
-- // addresses problems with an ending zero length step.
-- this._updateTargetProps(null,1);
-- } else if (this._steps.length > 0) {
-- // find our new tween index:
-- for (var i=0, l=this._steps.length; i<l; i++) {
-- if (this._steps[i].t > t) { break; }
-- }
-- var step = this._steps[i-1];
-- this._updateTargetProps(step,(this._stepPosition = t-step.t)/step.d);
-- }
-- }
--
-- // run actions:
-- if (actionsMode != 0 && this._actions.length > 0) {
-- if (this._useTicks) {
-- // only run the actions we landed on.
-- this._runActions(t,t);
-- } else if (actionsMode == 1 && t<prevPos) {
-- if (prevPos != this.duration) { this._runActions(prevPos, this.duration); }
-- this._runActions(0, t, true);
-- } else {
-- this._runActions(prevPos, t);
-- }
-- }
--
-- if (end) { this.setPaused(true); }
--
-- this.dispatchEvent("change");
-- return end;
-- };
--
-- /**
-- * Advances this tween by the specified amount of time in milliseconds (or ticks if`useTicks` is `true`).
-- * This is normally called automatically by the Tween engine (via {{#crossLink "Tween/tick"}}{{/crossLink}}), but is
-- * exposed for advanced uses.
-- * @method tick
-- * @param {Number} delta The time to advance in milliseconds (or ticks if `useTicks` is `true`).
-- */
-- p.tick = function(delta) {
-- if (this._paused) { return; }
-- this.setPosition(this._prevPosition+delta);
-- };
--
-- /**
-- * Pauses or plays this tween.
-- * @method setPaused
-- * @param {Boolean} [value=true] Indicates whether the tween should be paused (`true`) or played (`false`).
-- * @return {Tween} This tween instance (for chaining calls)
-- */
-- p.setPaused = function(value) {
-- if (this._paused === !!value) { return this; }
-- this._paused = !!value;
-- Tween._register(this, !value);
-- return this;
-- };
--
-- // tiny api (primarily for tool output):
-- p.w = p.wait;
-- p.t = p.to;
-- p.c = p.call;
-- p.s = p.set;
--
-- /**
-- * Returns a string representation of this object.
-- * @method toString
-- * @return {String} a string representation of the instance.
-- */
-- p.toString = function() {
-- return "[Tween]";
-- };
--
-- /**
-- * @method clone
-- * @protected
-- */
-- p.clone = function() {
-- throw("Tween can not be cloned.")
-- };
--
--// private methods:
-- /**
-- * @method _updateTargetProps
-- * @param {Object} step
-- * @param {Number} ratio
-- * @protected
-- */
-- p._updateTargetProps = function(step, ratio) {
-- var p0,p1,v,v0,v1,arr;
-- if (!step && ratio == 1) {
-- // GDS: when does this run? Just at the very end? Shouldn't.
-- this.passive = false;
-- p0 = p1 = this._curQueueProps;
-- } else {
-- this.passive = !!step.v;
-- if (this.passive) { return; } // don't update props.
-- // apply ease to ratio.
-- if (step.e) { ratio = step.e(ratio,0,1,1); }
-- p0 = step.p0;
-- p1 = step.p1;
-- }
--
-- for (var n in this._initQueueProps) {
-- if ((v0 = p0[n]) == null) { p0[n] = v0 = this._initQueueProps[n]; }
-- if ((v1 = p1[n]) == null) { p1[n] = v1 = v0; }
-- if (v0 == v1 || ratio == 0 || ratio == 1 || (typeof(v0) != "number")) {
-- // no interpolation - either at start, end, values don't change, or the value is non-numeric.
-- v = ratio == 1 ? v1 : v0;
-- } else {
-- v = v0+(v1-v0)*ratio;
-- }
--
-- var ignore = false;
-- if (arr = Tween._plugins[n]) {
-- for (var i=0,l=arr.length;i<l;i++) {
-- var v2 = arr[i].tween(this, n, v, p0, p1, ratio, !!step&&p0==p1, !step);
-- if (v2 == Tween.IGNORE) { ignore = true; }
-- else { v = v2; }
-- }
-- }
-- if (!ignore) { this._target[n] = v; }
-- }
--
-- };
--
-- /**
-- * @method _runActions
-- * @param {Number} startPos
-- * @param {Number} endPos
-- * @param {Boolean} includeStart
-- * @protected
-- */
-- p._runActions = function(startPos, endPos, includeStart) {
-- var sPos = startPos;
-- var ePos = endPos;
-- var i = -1;
-- var j = this._actions.length;
-- var k = 1;
-- if (startPos > endPos) {
-- // running backwards, flip everything:
-- sPos = endPos;
-- ePos = startPos;
-- i = j;
-- j = k = -1;
-- }
-- while ((i+=k) != j) {
-- var action = this._actions[i];
-- var pos = action.t;
-- if (pos == ePos || (pos > sPos && pos < ePos) || (includeStart && pos == startPos) ) {
-- action.f.apply(action.o, action.p);
-- }
-- }
-- };
--
-- /**
-- * @method _appendQueueProps
-- * @param {Object} o
-- * @protected
-- */
-- p._appendQueueProps = function(o) {
-- var arr,oldValue,i, l, injectProps;
-- for (var n in o) {
-- if (this._initQueueProps[n] === undefined) {
-- oldValue = this._target[n];
--
-- // init plugins:
-- if (arr = Tween._plugins[n]) {
-- for (i=0,l=arr.length;i<l;i++) {
-- oldValue = arr[i].init(this, n, oldValue);
-- }
-- }
-- this._initQueueProps[n] = this._curQueueProps[n] = (oldValue===undefined) ? null : oldValue;
-- } else {
-- oldValue = this._curQueueProps[n];
-- }
-- }
--
-- for (var n in o) {
-- oldValue = this._curQueueProps[n];
-- if (arr = Tween._plugins[n]) {
-- injectProps = injectProps||{};
-- for (i=0, l=arr.length;i<l;i++) {
-- // TODO: remove the check for .step in the next version. It's here for backwards compatibility.
-- if (arr[i].step) { arr[i].step(this, n, oldValue, o[n], injectProps); }
-- }
-- }
-- this._curQueueProps[n] = o[n];
-- }
-- if (injectProps) { this._appendQueueProps(injectProps); }
-- return this._curQueueProps;
-- };
--
-- /**
-- * @method _cloneProps
-- * @param {Object} props
-- * @protected
-- */
-- p._cloneProps = function(props) {
-- var o = {};
-- for (var n in props) {
-- o[n] = props[n];
-- }
-- return o;
-- };
--
-- /**
-- * @method _addStep
-- * @param {Object} o
-- * @protected
-- */
-- p._addStep = function(o) {
-- if (o.d > 0) {
-- this._steps.push(o);
-- o.t = this.duration;
-- this.duration += o.d;
-- }
-- return this;
-- };
--
-- /**
-- * @method _addAction
-- * @param {Object} o
-- * @protected
-- */
-- p._addAction = function(o) {
-- o.t = this.duration;
-- this._actions.push(o);
-- return this;
-- };
--
-- /**
-- * @method _set
-- * @param {Object} props
-- * @param {Object} o
-- * @protected
-- */
-- p._set = function(props, o) {
-- for (var n in props) {
-- o[n] = props[n];
-- }
-- };
--
-- createjs.Tween = createjs.promote(Tween, "EventDispatcher");
-+ */
-+createjs.Tween = function (target, opt_props, opt_pluginData) {}
-+
-+ /**
-+ * Advances all tweens. This typically uses the {{#crossLink "Ticker"
<TRUNCATED>
[28/36] flex-typedefs git commit: nevermind,
it had impact on downstream swcs. Node's AssertError extends Error
and adds its own toString(). We'll fix in the compiler
Posted by ah...@apache.org.
nevermind, it had impact on downstream swcs. Node's AssertError extends Error and adds its own toString(). We'll fix in the compiler
Project: http://git-wip-us.apache.org/repos/asf/flex-typedefs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-typedefs/commit/8c617b87
Tree: http://git-wip-us.apache.org/repos/asf/flex-typedefs/tree/8c617b87
Diff: http://git-wip-us.apache.org/repos/asf/flex-typedefs/diff/8c617b87
Branch: refs/heads/master
Commit: 8c617b873da5c0d84bc296f58ba55dfdf2fcfc12
Parents: 59b7333
Author: Alex Harui <ah...@apache.org>
Authored: Thu Apr 20 19:37:12 2017 -0700
Committer: Alex Harui <ah...@apache.org>
Committed: Thu Apr 20 19:37:12 2017 -0700
----------------------------------------------------------------------
js/src/main/config/externc-config.xml | 4 ++--
js/src/main/javascript/missing.js | 11 -----------
2 files changed, 2 insertions(+), 13 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-typedefs/blob/8c617b87/js/src/main/config/externc-config.xml
----------------------------------------------------------------------
diff --git a/js/src/main/config/externc-config.xml b/js/src/main/config/externc-config.xml
index 5935881..673b656 100644
--- a/js/src/main/config/externc-config.xml
+++ b/js/src/main/config/externc-config.xml
@@ -139,8 +139,8 @@
</class-exclude>
<!-- Object.toString() is excluded by the ExternC compiler. Otherwise
- int.toString(radix) becomes an illegal override. Other classes
- need to have their toString() supplied by missing.js -->
+ int.toString(radix) becomes an illegal override. The compiler should
+ allow toString() usage in every object -->
<exclude>
<class>Array</class>
<name>toSource</name>
http://git-wip-us.apache.org/repos/asf/flex-typedefs/blob/8c617b87/js/src/main/javascript/missing.js
----------------------------------------------------------------------
diff --git a/js/src/main/javascript/missing.js b/js/src/main/javascript/missing.js
index fb467c7..93dc092 100644
--- a/js/src/main/javascript/missing.js
+++ b/js/src/main/javascript/missing.js
@@ -262,14 +262,3 @@ uint.MAX_VALUE;
* @const
*/
uint.MIN_VALUE;
-
-
-/**
- * Many top-level classes will need a toString() defined.
- * Object.toString() is excluded by the ExternC compiler
- * so int.toString(radix) doesn't return an illegal override
- * error.
- * @return {string} The result.
- */
-Error.prototype.toString = function() {}
-
[12/36] flex-typedefs git commit: js: updated patch for externs
included with Google Closure compiler v20161201
Posted by ah...@apache.org.
js: updated patch for externs included with Google Closure compiler v20161201
Project: http://git-wip-us.apache.org/repos/asf/flex-typedefs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-typedefs/commit/7785bb4d
Tree: http://git-wip-us.apache.org/repos/asf/flex-typedefs/tree/7785bb4d
Diff: http://git-wip-us.apache.org/repos/asf/flex-typedefs/diff/7785bb4d
Branch: refs/heads/master
Commit: 7785bb4d27279f0add1500d4bf34d62793eef284
Parents: d990e99
Author: Josh Tynjala <jo...@apache.org>
Authored: Thu Dec 15 17:05:23 2016 -0800
Committer: Josh Tynjala <jo...@apache.org>
Committed: Thu Dec 15 17:05:23 2016 -0800
----------------------------------------------------------------------
js/build.xml | 3 ++-
js/src/main/patch/js.patch | 32 +++++++++++++++++++-------------
2 files changed, 21 insertions(+), 14 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-typedefs/blob/7785bb4d/js/build.xml
----------------------------------------------------------------------
diff --git a/js/build.xml b/js/build.xml
index fa6bbb0..283f17f 100644
--- a/js/build.xml
+++ b/js/build.xml
@@ -120,6 +120,7 @@
<replace file="${basedir}/target/downloads/es3.js" >
<replacefilter token="param {number|undefined} base" value="param {number=} base" />
</replace>
+ <replaceregexp file="${basedir}/target/downloads/es6.js" match="@constructor(. \* @extends \{Array<string>\})" replace="@interface" flags="s" />
<antcall target="diff" />
</target>
@@ -145,7 +146,7 @@
</target>
<target name="preprocess" depends="download">
- <exec executable="git" dir="${basedir}/..">
+ <exec executable="git" dir="${basedir}/.." failonerror="true">
<arg value="apply"/>
<arg value="--ignore-whitespace"/>
<arg value="--whitespace=nowarn"/>
http://git-wip-us.apache.org/repos/asf/flex-typedefs/blob/7785bb4d/js/src/main/patch/js.patch
----------------------------------------------------------------------
diff --git a/js/src/main/patch/js.patch b/js/src/main/patch/js.patch
index f54f48f..2f9b124 100644
--- a/js/src/main/patch/js.patch
+++ b/js/src/main/patch/js.patch
@@ -16,10 +16,10 @@
Generated from Ant script
diff --git a/js/target/downloads/es3.js b/js/target/downloads/es3.js
-index fa5e5a6..a6e4fa0 100644
+index 4396804..82032c8 100644
--- a/js/target/downloads/es3.js
+++ b/js/target/downloads/es3.js
-@@ -174,12 +174,12 @@ function parseFloat(num) {}
+@@ -283,12 +283,12 @@ function parseFloat(num) {}
* leader, then pass {@code undefined} as the base.
*
* @param {*} num
@@ -34,7 +34,7 @@ index fa5e5a6..a6e4fa0 100644
/**
* @param {string} code
-@@ -201,10 +201,10 @@ function Object(opt_value) {}
+@@ -310,10 +310,10 @@ function Object(opt_value) {}
/**
* The constructor of the current object.
@@ -47,22 +47,28 @@ index fa5e5a6..a6e4fa0 100644
/**
* Binds an object's property to a function to be called when that property is
-@@ -502,6 +502,7 @@ Array.prototype.push = function(var_args) {};
- * Transposes the elements of an array in place: the first array element becomes the
- * last and the last becomes the first.
- *
-+ * @return {!Array<?>}
- * @this {{length: number}}
- * @modifies {this}
- * @see http://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/reverse
-@@ -538,6 +539,7 @@ Array.prototype.slice = function(opt_begin, opt_end) {};
+@@ -660,6 +660,7 @@ Array.prototype.slice = function(opt_begin, opt_end) {};
/**
* Sorts the elements of an array in place.
*
+ * @return {!Array<?>}
* @param {function(T,T):number=} opt_compareFunction Specifies a function that
* defines the sort order.
- * @this {{length: number}|Array<T>}
+ * @this {IArrayLike<T>}
+diff --git a/js/target/downloads/es6.js b/js/target/downloads/es6.js
+index 1b8a25a..0d92668 100644
+--- a/js/target/downloads/es6.js
++++ b/js/target/downloads/es6.js
+@@ -208,8 +208,7 @@ Number.prototype.toLocaleString = function(opt_locales, opt_options) {};
+ String.prototype.repeat = function(count) {};
+
+ /**
+- * @constructor
+- * @extends {Array<string>}
++ * @interface
+ * @see http://www.ecma-international.org/ecma-262/6.0/#sec-gettemplateobject
+ */
+ var ITemplateArray = function() {};
diff --git a/js/target/downloads/svg.js b/js/target/downloads/svg.js
index a13180c..48115b3 100644
--- a/js/target/downloads/svg.js
[25/36] flex-typedefs git commit: Case matters on some OSs
Posted by ah...@apache.org.
Case matters on some OSs
Project: http://git-wip-us.apache.org/repos/asf/flex-typedefs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-typedefs/commit/ede60db8
Tree: http://git-wip-us.apache.org/repos/asf/flex-typedefs/tree/ede60db8
Diff: http://git-wip-us.apache.org/repos/asf/flex-typedefs/diff/ede60db8
Branch: refs/heads/master
Commit: ede60db87c6610ff2a5bb64baf9bb24511095a13
Parents: 72a7382
Author: Justin Mclean <jm...@apache.org>
Authored: Wed Mar 15 11:40:19 2017 +1100
Committer: Justin Mclean <jm...@apache.org>
Committed: Wed Mar 15 11:40:19 2017 +1100
----------------------------------------------------------------------
createjs/pom.xml | 6 +++---
createjs/src/main/config/compile-as-config.xml | 6 +++---
2 files changed, 6 insertions(+), 6 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-typedefs/blob/ede60db8/createjs/pom.xml
----------------------------------------------------------------------
diff --git a/createjs/pom.xml b/createjs/pom.xml
index e05393f..6e09003 100644
--- a/createjs/pom.xml
+++ b/createjs/pom.xml
@@ -280,15 +280,15 @@
</include-file>
<include-file>
<name>externs/Ease.js</name>
- <path>downloads/Tweenjs-0.6.2/src/tweenjs/Ease.js</path>
+ <path>downloads/TweenJS-0.6.2/src/tweenjs/Ease.js</path>
</include-file>
<include-file>
<name>externs/Tween.js</name>
- <path>downloads/Tweenjs-0.6.2/src/tweenjs/Tween.js</path>
+ <path>downloads/TweenJS-0.6.2/src/tweenjs/Tween.js</path>
</include-file>
<include-file>
<name>externs/Timeline.js</name>
- <path>downloads/Tweenjs-0.6.2/src/tweenjs/Timeline.js</path>
+ <path>downloads/TweenJS-0.6.2/src/tweenjs/Timeline.js</path>
</include-file>
<include-file>
<name>externs/Event.js</name>
http://git-wip-us.apache.org/repos/asf/flex-typedefs/blob/ede60db8/createjs/src/main/config/compile-as-config.xml
----------------------------------------------------------------------
diff --git a/createjs/src/main/config/compile-as-config.xml b/createjs/src/main/config/compile-as-config.xml
index 3c4bc41..6690edf 100644
--- a/createjs/src/main/config/compile-as-config.xml
+++ b/createjs/src/main/config/compile-as-config.xml
@@ -194,15 +194,15 @@
</include-file>
<include-file>
<name>externs/Ease.js</name>
- <path>downloads/Tweenjs-0.6.2/src/tweenjs/Ease.js</path>
+ <path>downloads/TweenJS-0.6.2/src/tweenjs/Ease.js</path>
</include-file>
<include-file>
<name>externs/Tween.js</name>
- <path>downloads/Tweenjs-0.6.2/src/tweenjs/Tween.js</path>
+ <path>downloads/TweenJS-0.6.2/src/tweenjs/Tween.js</path>
</include-file>
<include-file>
<name>externs/Timeline.js</name>
- <path>downloads/Tweenjs-0.6.2/src/tweenjs/Timeline.js</path>
+ <path>downloads/TweenJS-0.6.2/src/tweenjs/Timeline.js</path>
</include-file>
<include-file>
<name>externs/Event.js</name>
[19/36] flex-typedefs git commit: - Updated the sonarqube plugin -
Added sonarqube configuration to typedefs and framework
Posted by ah...@apache.org.
- Updated the sonarqube plugin
- Added sonarqube configuration to typedefs and framework
Project: http://git-wip-us.apache.org/repos/asf/flex-typedefs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-typedefs/commit/8646b6b5
Tree: http://git-wip-us.apache.org/repos/asf/flex-typedefs/tree/8646b6b5
Diff: http://git-wip-us.apache.org/repos/asf/flex-typedefs/diff/8646b6b5
Branch: refs/heads/master
Commit: 8646b6b5dc0363394bdebbc6c86de300692b2e2e
Parents: 1b46e40
Author: Christofer Dutz <ch...@codecentric.de>
Authored: Mon Dec 26 17:24:59 2016 +0100
Committer: Christofer Dutz <ch...@codecentric.de>
Committed: Mon Dec 26 17:24:59 2016 +0100
----------------------------------------------------------------------
pom.xml | 11 +++++++++++
1 file changed, 11 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-typedefs/blob/8646b6b5/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index a6a28de..3e731fb 100644
--- a/pom.xml
+++ b/pom.xml
@@ -49,6 +49,11 @@
<flexjs.build-tools.version>1.0.0</flexjs.build-tools.version>
<git.executable>git</git.executable>
+
+ <!-- URL of the ASF SonarQube server -->
+ <sonar.host.url>https://builds.apache.org/analysis</sonar.host.url>
+ <!-- Exclude all generated code -->
+ <sonar.exclusions>file:**/generated-sources/**</sonar.exclusions>
</properties>
<!-- Only configure the site distribution as the rest is handled by the apache parent -->
@@ -95,6 +100,12 @@
<build>
<plugins>
+ <plugin>
+ <groupId>org.sonarsource.scanner.maven</groupId>
+ <artifactId>sonar-maven-plugin</artifactId>
+ <version>3.2</version>
+ </plugin>
+
<!-- Check if all source files have the required apache license headers -->
<plugin>
<groupId>org.apache.rat</groupId>
[15/36] flex-typedefs git commit: js: fixed issues with missing file
in typedefs and added more externs
Posted by ah...@apache.org.
js: fixed issues with missing file in typedefs and added more externs
Project: http://git-wip-us.apache.org/repos/asf/flex-typedefs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-typedefs/commit/1e1e346d
Tree: http://git-wip-us.apache.org/repos/asf/flex-typedefs/tree/1e1e346d
Diff: http://git-wip-us.apache.org/repos/asf/flex-typedefs/diff/1e1e346d
Branch: refs/heads/master
Commit: 1e1e346d7a35dbecc860a5ee276e0461bd239868
Parents: 1aa986f
Author: Josh Tynjala <jo...@apache.org>
Authored: Fri Dec 16 15:25:22 2016 -0800
Committer: Josh Tynjala <jo...@apache.org>
Committed: Fri Dec 16 15:25:22 2016 -0800
----------------------------------------------------------------------
js/src/main/config/externc-config.xml | 54 +++++++++++++++++++-----------
1 file changed, 34 insertions(+), 20 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-typedefs/blob/1e1e346d/js/src/main/config/externc-config.xml
----------------------------------------------------------------------
diff --git a/js/src/main/config/externc-config.xml b/js/src/main/config/externc-config.xml
index aed243c..f3b3794 100644
--- a/js/src/main/config/externc-config.xml
+++ b/js/src/main/config/externc-config.xml
@@ -60,6 +60,8 @@
<path-element>../../../target/downloads/es3.js</path-element>
<path-element>../../../target/downloads/es5.js</path-element>
<path-element>../../../target/downloads/es6.js</path-element>
+ <path-element>../../../target/downloads/es6_collections.js</path-element>
+
<path-element>../../../target/downloads/browser/w3c_anim_timing.js</path-element>
<path-element>../../../target/downloads/browser/w3c_audio.js</path-element>
<path-element>../../../target/downloads/browser/w3c_batterystatus.js</path-element>
@@ -69,45 +71,57 @@
<path-element>../../../target/downloads/browser/w3c_dom1.js</path-element>
<path-element>../../../target/downloads/browser/w3c_dom2.js</path-element>
<path-element>../../../target/downloads/browser/w3c_dom3.js</path-element>
+ <!-- path-element>../../../target/downloads/browser/w3c_dom4.js</path-element>-->
<path-element>../../../target/downloads/browser/w3c_elementtraversal.js</path-element>
- <path-element>../../../target/downloads/browser/whatwg_encoding.js</path-element>
<path-element>../../../target/downloads/browser/w3c_event.js</path-element>
<path-element>../../../target/downloads/browser/w3c_event3.js</path-element>
+ <path-element>../../../target/downloads/browser/w3c_gamepad.js</path-element>
<path-element>../../../target/downloads/browser/w3c_geolocation.js</path-element>
<path-element>../../../target/downloads/browser/w3c_indexeddb.js</path-element>
+ <path-element>../../../target/downloads/browser/w3c_midi.js</path-element>
<path-element>../../../target/downloads/browser/w3c_navigation_timing.js</path-element>
+ <path-element>../../../target/downloads/browser/w3c_permissions.js</path-element>
+ <path-element>../../../target/downloads/browser/w3c_pointer_events.js</path-element>
<path-element>../../../target/downloads/browser/w3c_range.js</path-element>
+ <path-element>../../../target/downloads/browser/w3c_requestidlecallback.js</path-element>
<path-element>../../../target/downloads/browser/w3c_rtc.js</path-element>
+ <path-element>../../../target/downloads/browser/w3c_screen_orientation.js</path-element>
<path-element>../../../target/downloads/browser/w3c_selectors.js</path-element>
+ <!-- path-element>../../../target/downloads/browser/w3c_serviceworker.js</path-element>-->
<path-element>../../../target/downloads/browser/w3c_touch_event.js</path-element>
- <!-- path-element>../../../target/downloads/browser/w3c_serviceworker.js</path-element> -->
- <!-- path-element>../../../target/downloads/browser/w3c_webcrypto.js</path-element> -->
+ <!-- path-element>../../../target/downloads/browser/w3c_webcrypto.js</path-element>-->
<path-element>../../../target/downloads/browser/w3c_xml.js</path-element>
- <!-- path-element>../../../target/downloads/fetchapi</path-element> -->
-
- <path-element>../../../target/downloads/browser/window.js</path-element>
+ <path-element>../../../target/downloads/browser/whatwg_encoding.js</path-element>
- <path-element>../../../target/downloads/browser/ie_dom.js</path-element>
+ <path-element>../../../target/downloads/browser/chrome.js</path-element>
+ <!-- path-element>../../../target/downloads/browser/fetchapi.js</path-element>-->
+ <path-element>../../../target/downloads/browser/fileapi.js</path-element>
+ <path-element>../../../target/downloads/browser/flash.js</path-element>
+ <path-element>../../../target/downloads/browser/gecko_css.js</path-element>
<path-element>../../../target/downloads/browser/gecko_dom.js</path-element>
- <path-element>../../../target/downloads/browser/gecko_xml.js</path-element>
<path-element>../../../target/downloads/browser/gecko_event.js</path-element>
-
- <path-element>../../../target/downloads/browser/webkit_css.js</path-element>
- <path-element>../../../target/downloads/browser/webkit_dom.js</path-element>
- <path-element>../../../target/downloads/browser/webkit_event.js</path-element>
- <!-- path-element>externs/webkit_notifications.js</path-element> -->
-
+ <path-element>../../../target/downloads/browser/gecko_xml.js</path-element>
+ <path-element>../../../target/downloads/browser/html5.js</path-element>
+ <path-element>../../../target/downloads/browser/ie_css.js</path-element>
+ <path-element>../../../target/downloads/browser/ie_dom.js</path-element>
+ <path-element>../../../target/downloads/browser/ie_event.js</path-element>
+ <path-element>../../../target/downloads/browser/ie_vml.js</path-element>
+ <path-element>../../../target/downloads/browser/intl.js</path-element>
<path-element>../../../target/downloads/browser/iphone.js</path-element>
- <path-element>../../../target/downloads/browser/chrome.js</path-element>
- <path-element>../../../target/downloads/browser/flash.js</path-element>
-
+ <path-element>../../../target/downloads/browser/mediasource.js</path-element>
<path-element>../../../target/downloads/browser/page_visibility.js</path-element>
- <path-element>../../../target/downloads/browser/fileapi.js</path-element>
- <path-element>../../../target/downloads/browser/html5.js</path-element>
-
+ <path-element>../../../target/downloads/browser/streamsapi.js</path-element>
+ <path-element>../../../target/downloads/browser/url.js</path-element>
+ <path-element>../../../target/downloads/browser/v8.js</path-element>
<path-element>../../../target/downloads/browser/webgl.js</path-element>
+ <path-element>../../../target/downloads/browser/webkit_css.js</path-element>
+ <path-element>../../../target/downloads/browser/webkit_dom.js</path-element>
+ <path-element>../../../target/downloads/browser/webkit_event.js</path-element>
+ <!-- path-element>../../../target/downloads/browser/webkit_notifications.js</path-element>-->
+ <path-element>../../../target/downloads/browser/webkit_usercontent.js</path-element>
<path-element>../../../target/downloads/browser/webstorage.js</path-element>
+ <path-element>../../../target/downloads/browser/window.js</path-element>
<path-element>../../../target/downloads/svg.js</path-element>
</external>
[31/36] flex-typedefs git commit: manually clean up externs for
createjs and get rid of patches
Posted by ah...@apache.org.
manually clean up externs for createjs and get rid of patches
Project: http://git-wip-us.apache.org/repos/asf/flex-typedefs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-typedefs/commit/2658a72d
Tree: http://git-wip-us.apache.org/repos/asf/flex-typedefs/tree/2658a72d
Diff: http://git-wip-us.apache.org/repos/asf/flex-typedefs/diff/2658a72d
Branch: refs/heads/master
Commit: 2658a72da21f4067cff146d2ca4dfccf11a313bb
Parents: 8c617b8
Author: Alex Harui <ah...@apache.org>
Authored: Tue May 2 23:11:45 2017 -0700
Committer: Alex Harui <ah...@apache.org>
Committed: Tue May 2 23:11:45 2017 -0700
----------------------------------------------------------------------
createjs/build.xml | 5 +-
createjs/src/main/config/compile-as-config.xml | 7 +-
createjs/src/main/config/externc-config.xml | 50 +-
createjs/src/main/javascript/createjs.js | 2559 +++
createjs/src/main/patch/easeljs.patch | 19387 ------------------
createjs/src/main/patch/tweenjs.patch | 2875 ---
6 files changed, 2569 insertions(+), 22314 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-typedefs/blob/2658a72d/createjs/build.xml
----------------------------------------------------------------------
diff --git a/createjs/build.xml b/createjs/build.xml
index 15e79fc..5d8f31e 100644
--- a/createjs/build.xml
+++ b/createjs/build.xml
@@ -21,9 +21,6 @@
<project name="createjs" default="main" basedir=".">
- <property name="createjs.version" value="0.8.0" />
- <property name="tweenjs.version" value="0.6.2" />
-
<property name="FLEXJS_HOME" value="${basedir}/.." />
<condition property="FALCON_HOME" value="${env.FALCON_HOME}">
@@ -80,7 +77,7 @@
</and>
</condition>
- <target name="main" depends="download, download_tween, preprocess, externc, postprocess, compc" />
+ <target name="main" depends="externc, compc" />
<target name="download" >
<mkdir dir="${basedir}/target/downloads" />
http://git-wip-us.apache.org/repos/asf/flex-typedefs/blob/2658a72d/createjs/src/main/config/compile-as-config.xml
----------------------------------------------------------------------
diff --git a/createjs/src/main/config/compile-as-config.xml b/createjs/src/main/config/compile-as-config.xml
index 6690edf..b185b00 100644
--- a/createjs/src/main/config/compile-as-config.xml
+++ b/createjs/src/main/config/compile-as-config.xml
@@ -85,6 +85,11 @@
<path>../src/main/javascript/missing.js</path>
</include-file>
<include-file>
+ <name>externs/createjs.js</name>
+ <path>../src/main/javascript/createjs.js</path>
+ </include-file>
+ <!--
+ <include-file>
<name>externs/AlphaMapFilter.js</name>
<path>downloads/EaselJS-0.8.0/src/easeljs/filters/AlphaMapFilter.js</path>
</include-file>
@@ -224,7 +229,7 @@
<name>externs/Ticker.js</name>
<path>downloads/EaselJS-0.8.0/src/createjs/utils/Ticker.js</path>
</include-file>
-
+ -->
<!--
<include-namespaces>
<uri>library://ns.adobe.com/flex/spark</uri>
http://git-wip-us.apache.org/repos/asf/flex-typedefs/blob/2658a72d/createjs/src/main/config/externc-config.xml
----------------------------------------------------------------------
diff --git a/createjs/src/main/config/externc-config.xml b/createjs/src/main/config/externc-config.xml
index 0e82923..f8dfc2c 100644
--- a/createjs/src/main/config/externc-config.xml
+++ b/createjs/src/main/config/externc-config.xml
@@ -56,58 +56,13 @@
</compiler>
<external>
+ <path-element>../javascript/createjs.js</path-element>
<path-element>../javascript/missing.js</path-element>
- <path-element>../../../target/downloads/EaselJS-0.8.0/src/createjs/events/Event.js</path-element>
- <path-element>../../../target/downloads/EaselJS-0.8.0/src/createjs/events/EventDispatcher.js</path-element>
- <!-- externc with jsroot doesn't support the patterns in these files
- <path-element>../../../target/downloads/EaselJS-0.8.0/src/createjs/utils/extend.js</path-element>
- <path-element>../../../target/downloads/EaselJS-0.8.0/src/createjs/utils/indexOf.js</path-element>
- <path-element>../../../target/downloads/EaselJS-0.8.0/src/createjs/utils/promote.js</path-element>
- -->
- <path-element>../../../target/downloads/EaselJS-0.8.0/src/createjs/utils/Ticker.js</path-element>
- <path-element>../../../target/downloads/EaselJS-0.8.0/src/easeljs/display/Bitmap.js</path-element>
- <path-element>../../../target/downloads/EaselJS-0.8.0/src/easeljs/display/BitmapText.js</path-element>
- <path-element>../../../target/downloads/EaselJS-0.8.0/src/easeljs/display/Container.js</path-element>
- <path-element>../../../target/downloads/EaselJS-0.8.0/src/easeljs/display/DisplayObject.js</path-element>
- <path-element>../../../target/downloads/EaselJS-0.8.0/src/easeljs/display/DOMElement.js</path-element>
- <path-element>../../../target/downloads/EaselJS-0.8.0/src/easeljs/display/Graphics.js</path-element>
- <path-element>../../../target/downloads/EaselJS-0.8.0/src/easeljs/display/MovieClip.js</path-element>
- <path-element>../../../target/downloads/EaselJS-0.8.0/src/easeljs/display/Shadow.js</path-element>
- <path-element>../../../target/downloads/EaselJS-0.8.0/src/easeljs/display/Shape.js</path-element>
- <path-element>../../../target/downloads/EaselJS-0.8.0/src/easeljs/display/Sprite.js</path-element>
- <path-element>../../../target/downloads/EaselJS-0.8.0/src/easeljs/display/SpriteContainer.js</path-element>
- <path-element>../../../target/downloads/EaselJS-0.8.0/src/easeljs/display/SpriteSheet.js</path-element>
- <path-element>../../../target/downloads/EaselJS-0.8.0/src/easeljs/display/SpriteStage.js</path-element>
- <path-element>../../../target/downloads/EaselJS-0.8.0/src/easeljs/display/Stage.js</path-element>
- <path-element>../../../target/downloads/EaselJS-0.8.0/src/easeljs/display/Text.js</path-element>
- <path-element>../../../target/downloads/EaselJS-0.8.0/src/easeljs/events/MouseEvent.js</path-element>
- <path-element>../../../target/downloads/EaselJS-0.8.0/src/easeljs/filters/AlphaMapFilter.js</path-element>
- <path-element>../../../target/downloads/EaselJS-0.8.0/src/easeljs/filters/AlphaMaskFilter.js</path-element>
- <path-element>../../../target/downloads/EaselJS-0.8.0/src/easeljs/filters/BlurFilter.js</path-element>
- <path-element>../../../target/downloads/EaselJS-0.8.0/src/easeljs/filters/ColorFilter.js</path-element>
- <path-element>../../../target/downloads/EaselJS-0.8.0/src/easeljs/filters/ColorMatrix.js</path-element>
- <path-element>../../../target/downloads/EaselJS-0.8.0/src/easeljs/filters/ColorMatrixFilter.js</path-element>
- <path-element>../../../target/downloads/EaselJS-0.8.0/src/easeljs/filters/Filter.js</path-element>
- <path-element>../../../target/downloads/EaselJS-0.8.0/src/easeljs/geom/DisplayProps.js</path-element>
- <path-element>../../../target/downloads/EaselJS-0.8.0/src/easeljs/geom/Matrix2D.js</path-element>
- <path-element>../../../target/downloads/EaselJS-0.8.0/src/easeljs/geom/Point.js</path-element>
- <path-element>../../../target/downloads/EaselJS-0.8.0/src/easeljs/geom/Rectangle.js</path-element>
- <path-element>../../../target/downloads/EaselJS-0.8.0/src/easeljs/ui/ButtonHelper.js</path-element>
- <!-- externc with jsroot doesn't support the patterns in these files
- <path-element>../../../target/downloads/EaselJS-0.8.0/src/easeljs/ui/Touch.js</path-element>
- -->
- <path-element>../../../target/downloads/EaselJS-0.8.0/src/easeljs/utils/SpriteSheetBuilder.js</path-element>
- <!-- externc with jsroot doesn't support the patterns in these files
- <path-element>../../../target/downloads/EaselJS-0.8.0/src/easeljs/utils/SpriteSheetUtils.js</path-element>
- -->
- <path-element>../../../target/downloads/EaselJS-0.8.0/src/easeljs/utils/UID.js</path-element>
- <path-element>../../../target/downloads/TweenJS-0.6.2/src/tweenjs/Ease.js</path-element>
- <path-element>../../../target/downloads/TweenJS-0.6.2/src/tweenjs/Timeline.js</path-element>
- <path-element>../../../target/downloads/TweenJS-0.6.2/src/tweenjs/Tween.js</path-element>
</external>
<as-root>../../../target/generated-sources/externc</as-root>
+ <!--
<class-exclude>
<class>MovieClipPlugin</class>
</class-exclude>
@@ -120,6 +75,7 @@
<class-exclude>
<class>createjs.Graphics.BASE_64</class>
</class-exclude>
+ -->
<!--
<field-exclude>
http://git-wip-us.apache.org/repos/asf/flex-typedefs/blob/2658a72d/createjs/src/main/javascript/createjs.js
----------------------------------------------------------------------
diff --git a/createjs/src/main/javascript/createjs.js b/createjs/src/main/javascript/createjs.js
new file mode 100644
index 0000000..0cc4dd0
--- /dev/null
+++ b/createjs/src/main/javascript/createjs.js
@@ -0,0 +1,2559 @@
+/*
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ */
+// This file is in Google Closure Compiler Externs format which is a
+// non-copyrightable subset of EaselJS and TweenJS from https://github.com/CreateJS
+
+/**
+ * @param {(HTMLCanvasElement|Image|null)} alphaMap
+ * @constructor
+ * @extends createjs.Filter
+ */
+createjs.AlphaMapFilter = function (alphaMap) {}
+
+/**
+ */
+createjs.AlphaMapFilter.prototype._prepAlphaMap = function () { }
+
+/**
+ * @param {(Image|null)} mask
+ * @constructor
+ * @extends createjs.Filter
+ */
+createjs.AlphaMaskFilter = function (mask) {}
+
+/**
+ * @param {(HTMLCanvasElement|HTMLVideoElement|Image|string|null)} imageOrUri
+ * @constructor
+ * @extends createjs.DisplayObject
+ */
+createjs.Bitmap = function (imageOrUri) {}
+
+/**
+ * @param {string=} opt_text
+ * @param {createjs.SpriteSheet=} opt_spriteSheet
+ * @constructor
+ * @extends createjs.DisplayObject
+ */
+createjs.BitmapText = function (opt_text, opt_spriteSheet) {}
+
+/**
+ * @param {string} character
+ * @param {(createjs.SpriteSheet|null)} spriteSheet
+ * @see [BitmapText]
+ * @returns {(Object|null)}
+ */
+createjs.BitmapText.prototype._getFrame = function (character, spriteSheet) { return null; }
+
+/**
+ * @param {string} character
+ * @param {(createjs.SpriteSheet|null)} spriteSheet
+ * @returns {(number|null)}
+ */
+createjs.BitmapText.prototype._getFrameIndex = function (character, spriteSheet) { return 0; }
+
+/**
+ * @param {(createjs.SpriteSheet|null)} ss
+ * @returns {(number|null)}
+ */
+createjs.BitmapText.prototype._getLineHeight = function (ss) { return 0; }
+
+/**
+ * @param {(createjs.SpriteSheet|null)} ss
+ * @returns {(number|null)}
+ */
+createjs.BitmapText.prototype._getSpaceWidth = function (ss) { return 0; }
+
+/**
+ * @see [BitmapText]
+ */
+createjs.BitmapText.prototype._updateText = function () { }
+
+/**
+ * @param {number=} opt_blurX
+ * @param {number=} opt_blurY
+ * @param {number=} opt_quality
+ * @constructor
+ * @extends createjs.Filter
+ */
+createjs.BlurFilter = function (opt_blurX, opt_blurY, opt_quality) {}
+
+/**
+ * @param {(Sprite|createjs.MovieClip|null)} target
+ * @param {string=} opt_outLabel
+ * @param {string=} opt_overLabel
+ * @param {string=} opt_downLabel
+ * @param {boolean=} opt_play
+ * @param {createjs.DisplayObject=} opt_hitArea
+ * @param {string=} opt_hitLabel
+ * @constructor
+ */
+createjs.ButtonHelper = function (target, opt_outLabel, opt_overLabel, opt_downLabel, opt_play, opt_hitArea, opt_hitLabel) {}
+
+/**
+ * @type {(boolean|null)}
+ */
+createjs.ButtonHelper.prototype.enabled;
+
+/**
+ * @returns {(boolean|null)}
+ */
+createjs.ButtonHelper.prototype.getEnabled = function () { return null; }
+
+/**
+ * @param {(Object|null)} evt
+ */
+createjs.ButtonHelper.prototype.handleEvent = function (evt) { }
+
+/**
+ * @param {(boolean|null)} value
+ */
+createjs.ButtonHelper.prototype.setEnabled = function (value) { }
+
+/**
+ * @returns {string}
+ */
+createjs.ButtonHelper.prototype.toString = function () { return ''; }
+
+/**
+ * @param {number=} opt_redMultiplier
+ * @param {number=} opt_greenMultiplier
+ * @param {number=} opt_blueMultiplier
+ * @param {number=} opt_alphaMultiplier
+ * @param {number=} opt_redOffset
+ * @param {number=} opt_greenOffset
+ * @param {number=} opt_blueOffset
+ * @param {number=} opt_alphaOffset
+ * @constructor
+ * @extends createjs.Filter
+ */
+createjs.ColorFilter = function (opt_redMultiplier, opt_greenMultiplier, opt_blueMultiplier, opt_alphaMultiplier, opt_redOffset, opt_greenOffset, opt_blueOffset, opt_alphaOffset) {}
+
+/**
+ * @param {(number|null)} brightness
+ * @param {(number|null)} contrast
+ * @param {(number|null)} saturation
+ * @param {(number|null)} hue
+ * @constructor
+ */
+createjs.ColorMatrix = function (brightness, contrast, saturation, hue) {}
+
+/**
+ * @param {(number|null)} value
+ * @param {(number|null)} limit
+ */
+createjs.ColorMatrix.prototype._cleanValue = function (value, limit) { }
+
+/**
+ * @param {(Array|null)} matrix
+ */
+createjs.ColorMatrix.prototype._fixMatrix = function (matrix) { }
+
+/**
+ * @param {(Array|null)} matrix
+ */
+createjs.ColorMatrix.prototype._multiplyMatrix = function (matrix) { }
+
+/**
+ * @param {(number|null)} value
+ * @returns {(createjs.ColorMatrix|null)}
+ */
+createjs.ColorMatrix.prototype.adjustBrightness = function (value) { return null; }
+
+/**
+ * @param {(number|null)} brightness
+ * @param {(number|null)} contrast
+ * @param {(number|null)} saturation
+ * @param {(number|null)} hue
+ * @returns {(createjs.ColorMatrix|null)}
+ */
+createjs.ColorMatrix.prototype.adjustColor = function (brightness, contrast, saturation, hue) { return null; }
+
+/**
+ * @param {(number|null)}
+ * @returns {(createjs.ColorMatrix|null)}
+ */
+createjs.ColorMatrix.prototype.adjustContrast = function (value) { return null; }
+
+/**
+ * @param {(number|null)} value
+ * @returns {(createjs.ColorMatrix|null)}
+ */
+createjs.ColorMatrix.prototype.adjustHue = function (value) { return null; }
+
+/**
+ * @param {(number|null)} value
+ * @returns {(createjs.ColorMatrix|null)}
+ */
+createjs.ColorMatrix.prototype.adjustSaturation = function (value) { return null; }
+
+/**
+ * @returns {(createjs.ColorMatrix|null)}
+ */
+createjs.ColorMatrix.prototype.clone = function () { return null; }
+
+/**
+ * @param {(Array|null)} matrix
+ * @returns {(createjs.ColorMatrix|null)}
+ */
+createjs.ColorMatrix.prototype.concat = function (matrix) { return null; }
+
+/**
+ * @param {(Array|null)} matrix
+ * @returns {(createjs.ColorMatrix|null)}
+ */
+createjs.ColorMatrix.prototype.copy = function (matrix) { return null; }
+
+/**
+ * @returns {(createjs.ColorMatrix|null)}
+ */
+createjs.ColorMatrix.prototype.reset = function () { return null; }
+
+/**
+ * @param {(number|null)} brightness
+ * @param {(number|null)} contrast
+ * @param {(number|null)} saturation
+ * @param {(number|null)} hue
+ * @returns {(createjs.ColorMatrix|null)}
+ */
+createjs.ColorMatrix.prototype.setColor = function (brightness, contrast, saturation, hue) { return null; }
+
+/**
+ * @returns {(Array|null)} An array holding this matrix's values.
+ */
+createjs.ColorMatrix.prototype.toArray = function () { return null; }
+
+/**
+ * @returns {string}
+ */
+createjs.ColorMatrix.prototype.toString = function () { return ''; }
+
+/**
+ * @param {(Array|createjs.ColorMatrix|null)} matrix
+ * @constructor
+ * @extends createjs.Filter
+ */
+createjs.ColorMatrixFilter = function (matrix) {}
+
+/**
+ * @constructor
+ * @extends createjs.DisplayObject
+ */
+createjs.Container = function () {}
+
+/**
+ * @type {(number|null)}
+ */
+createjs.Container.prototype.numChildren;
+
+/**
+ * @type {(Function|null)}
+ */
+createjs.Container.prototype.onClick;
+
+/**
+ * @param {(createjs.Container|null)} o
+ */
+createjs.Container.prototype._cloneChildren = function (o) { }
+
+/**
+ * @param {(number|null)} x
+ * @param {(number|null)} y
+ * @param {(Array|null)} arr
+ * @param {(boolean|null)} mouse
+ * @param {(boolean|null)} activeListener
+ * @param {(number|null)} currentDepth
+ * @returns {(createjs.DisplayObject|null)}
+ */
+createjs.Container.prototype._getObjectsUnderPoint = function (x, y, arr, mouse, activeListener, currentDepth) { return null; }
+
+/**
+ * @param {(createjs.DisplayObject|null)} target
+ * @param {(number|null)} x
+ * @param {(number|null)} y
+ * @returns {(boolean|null)}
+ */
+createjs.Container.prototype._testMask = function (target, x, y) { return null; }
+
+/**
+ * @param {(createjs.DisplayObject|null)} child
+ * @returns {(createjs.DisplayObject|null)}
+ */
+createjs.Container.prototype.addChild = function (child) { return null; }
+
+
+/**
+ * @param {(createjs.DisplayObject|null)} child
+ * @param {(number|null)} index
+ * @returns {(createjs.DisplayObject|null)}
+ */
+createjs.Container.prototype.addChildAt = function (child, index) { return null; }
+
+/**
+ * @param {(createjs.DisplayObject|null)} child
+ * @returns {(boolean|null)}
+ */
+createjs.Container.prototype.contains = function (child) { return null; }
+
+/**
+ * @param {(number|null)} index
+ * @returns {(createjs.DisplayObject|null)}
+ */
+createjs.Container.prototype.getChildAt = function (index) { return null; }
+
+/**
+ * @param {string} name
+ * @returns {(createjs.DisplayObject|null)}
+ */
+createjs.Container.prototype.getChildByName = function (name) { return null; }
+
+/**
+ * @param {(createjs.DisplayObject|null)} child
+ * @returns {(number|null)}
+ */
+createjs.Container.prototype.getChildIndex = function (child) { return 0; }
+
+
+/**
+ * @returns {(number|null)}
+ */
+createjs.Container.prototype.getNumChildren = function () { return 0; }
+
+/**
+ * @param {(number|null)} x
+ * @param {(number|null)} y
+ * @param {(number|null)} mode
+ * @returns {(createjs.DisplayObject|null)}
+ */
+createjs.Container.prototype.getObjectUnderPoint = function (x, y, mode) { return null; }
+
+/**
+ * @param {(number|null)} x
+ * @param {(number|null)} y
+ * @param {number=} opt_mode
+ * @returns {(Array|null)}
+ */
+createjs.Container.prototype.getObjectsUnderPoint = function (x, y, opt_mode) { return null; }
+
+/**
+ */
+createjs.Container.prototype.removeAllChildren = function () { }
+
+/**
+ * @param {(createjs.DisplayObject|null)} child
+ * @returns {(boolean|null)}
+ */
+createjs.Container.prototype.removeChild = function (child) { return null; }
+
+/**
+ * @param {(number|null)} index
+ * @returns {(boolean|null)}
+ */
+createjs.Container.prototype.removeChildAt = function (index) { return null; }
+
+/**
+ * @param {(createjs.DisplayObject|null)} child
+ * @param {(number|null)} index
+ */
+createjs.Container.prototype.setChildIndex = function (child, index) { }
+
+/**
+ * @param {(Function|null)} sortFunction
+ */
+createjs.Container.prototype.sortChildren = function (sortFunction) { }
+
+/**
+ * @param {(createjs.DisplayObject|null)} child1
+ * @param {(createjs.DisplayObject|null)} child2
+ */
+createjs.Container.prototype.swapChildren = function (child1, child2) { }
+
+/**
+ * @param {(number|null)} index1
+ * @param {(number|null)} index2
+ */
+createjs.Container.prototype.swapChildrenAt = function (index1, index2) { }
+
+/**
+ * @param {(HTMLElement|null)} htmlElement
+ * @constructor
+ * @extends createjs.DisplayObject
+ */
+createjs.DOMElement = function (htmlElement) {}
+
+/**
+ * @param {(Event|null)} evt
+ */
+createjs.DOMElement.prototype._handleDrawEnd = function (evt) { }
+
+/**
+ * @constructor
+ * @extends createjs.EventDispatcher
+ */
+createjs.DisplayObject = function () {}
+
+/**
+ * @type {number}
+ */
+createjs.DisplayObject.prototype.alpha;
+
+/**
+ * @type {(createjs.Graphics|null)}
+ */
+createjs.DisplayObject.prototype.graphics;
+
+/**
+ * @type {number}
+ */
+createjs.DisplayObject.prototype.height;
+
+/**
+ * @type {string}
+ */
+createjs.DisplayObject.prototype.name;
+
+/**
+ * @type {(createjs.Stage|null)}
+ */
+createjs.DisplayObject.prototype.stage;
+
+/**
+ * @type {boolean}
+ */
+createjs.DisplayObject.prototype.visible;
+
+/**
+ * @type {number}
+ */
+createjs.DisplayObject.prototype.width;
+
+/**
+ * @type {number}
+ */
+createjs.DisplayObject.prototype.x;
+
+/**
+ * @type {number}
+ */
+createjs.DisplayObject.prototype.y;
+
+/**
+ */
+createjs.DisplayObject.prototype._applyFilters = function () { }
+
+/**
+ * @param {(CanvasRenderingContext2D|null)} ctx
+ * @param {(createjs.Shadow|null)} shadow
+ */
+createjs.DisplayObject.prototype._applyShadow = function (ctx, shadow) { }
+
+/**
+ * @param {(createjs.DisplayObject|null)} o
+ * @returns {(createjs.DisplayObject|null)}
+ */
+createjs.DisplayObject.prototype._cloneProps = function (o) { return null; }
+
+/**
+ * @returns {(boolean|null)}
+ */
+createjs.DisplayObject.prototype._hasMouseEventListener = function () { return null; }
+
+/**
+ * @param {(createjs.Matrix2D|null)} matrix
+ * @param {(boolean|null)} ignoreTransform
+ * @returns {(createjs.Rectangle|null)}
+ */
+createjs.DisplayObject.prototype._getBounds = function (matrix, ignoreTransform) { return null; }
+
+/**
+ * @returns {(createjs.Rectangle|null)}
+ */
+createjs.DisplayObject.prototype._getFilterBounds = function (rect) { return null; }
+
+/**
+ * @param {(CanvasRenderingContext2D|null)} ctx
+ * @returns {(boolean|null)}
+ */
+createjs.DisplayObject.prototype._testHit = function (ctx) { return null; }
+
+/**
+ * @param {(Object|null)} evtObj
+ */
+createjs.DisplayObject.prototype._tick = function (evtObj) { }
+
+/**
+ * @param {(createjs.Rectangle|null)} bounds
+ * @param {(createjs.Matrix2D|null)} matrix
+ * @param {(boolean|null)} ignoreTransform
+ * @returns {(createjs.Rectangle|null)}
+ */
+createjs.DisplayObject.prototype._transformBounds = function (bounds, matrix, ignoreTransform) { return null; }
+
+/**
+ * @param {(number|null)} x
+ * @param {(number|null)} y
+ * @param {(number|null)} width
+ * @param {(number|null)} height
+ * @param {number=} opt_scale
+ */
+createjs.DisplayObject.prototype.cache = function (x, y, width, height, opt_scale) { }
+
+/**
+ * @returns {(createjs.DisplayObject|null)}
+ */
+createjs.DisplayObject.prototype.clone = function () { return null; }
+
+/**
+ * @param {(CanvasRenderingContext2D|null)} ctx
+ * @param {boolean=} opt_ignoreCache
+ * @returns {(boolean|null)}
+ */
+createjs.DisplayObject.prototype.draw = function (ctx, opt_ignoreCache) { return null; }
+
+/**
+ * @returns {(createjs.Rectangle|null)}
+ */
+createjs.DisplayObject.prototype.getBounds = function () { return null; }
+
+/**
+ * @returns {string} The image data url for the cache.
+ */
+createjs.DisplayObject.prototype.getCacheDataURL = function () { return ''; }
+
+/**
+ * @param {createjs.DisplayProps=} opt_props
+ * @returns {(createjs.DisplayProps|null)}
+ */
+createjs.DisplayObject.prototype.getConcatenatedDisplayProps = function (opt_props) { return null; }
+
+/**
+ * @param {createjs.Matrix2D=} opt_matrix
+ * @returns {(createjs.Matrix2D|null)}
+ */
+createjs.DisplayObject.prototype.getConcatenatedMatrix = function (opt_matrix) { return null; }
+
+/**
+ * @param {(createjs.Matrix2D|null)} matrix
+ * @returns {(createjs.Matrix2D|null)}
+ */
+createjs.DisplayObject.prototype.getMatrix = function (matrix) { return null; }
+
+/**
+ * @returns {(createjs.Stage|null)}
+ */
+createjs.DisplayObject.prototype.getStage = function () { return null; }
+
+/**
+ * @returns {(createjs.Rectangle|null)}
+ */
+createjs.DisplayObject.prototype.getTransformedBounds = function () { return null; }
+
+/**
+ * @param {(number|null)} x
+ * @param {(number|null)} y
+ * @param {(Object|createjs.Point)=} opt_pt
+ * @returns {(createjs.Point|null)}
+ */
+createjs.DisplayObject.prototype.globalToLocal = function (x, y, opt_pt) { return null; }
+
+/**
+ * @param {(number|null)} x
+ * @param {(number|null)} y
+ * @returns {(boolean|null)}
+ */
+createjs.DisplayObject.prototype.hitTest = function (x, y) { return null; }
+
+/**
+ * @returns {(boolean|null)} Boolean
+ */
+createjs.DisplayObject.prototype.isVisible = function () { return null; }
+
+/**
+ * @param {(number|null)} x
+ * @param {(number|null)} y
+ * @param {(Object|createjs.Point)=} opt_pt
+ * @returns {(createjs.Point|null)}
+ */
+createjs.DisplayObject.prototype.localToGlobal = function (x, y, opt_pt) { return null; }
+
+/**
+ * @param {(number|null)} x
+ * @param {(number|null)} y
+ * @param {(createjs.DisplayObject|null)} target
+ * @param {(Object|createjs.Point)=} opt_pt
+ * @returns {(createjs.Point|null)}
+ */
+createjs.DisplayObject.prototype.localToLocal = function (x, y, target, opt_pt) { return null; }
+
+/**
+ * @param {(Object|null)} props
+ * @returns {(createjs.DisplayObject|null)}
+ */
+createjs.DisplayObject.prototype.set = function (props) { return null; }
+
+/**
+ * @param {(number|null)} x
+ * @param {(number|null)} y
+ * @param {(number|null)} width
+ * @param {(number|null)} height
+ */
+createjs.DisplayObject.prototype.setBounds = function (x, y, width, height) { }
+
+/**
+ * @param {number=} opt_x
+ * @param {number=} opt_y
+ * @param {number=} opt_scaleX
+ * @param {number=} opt_scaleY
+ * @param {number=} opt_rotation
+ * @param {number=} opt_skewX
+ * @param {number=} opt_skewY
+ * @param {number=} opt_regX
+ * @param {number=} opt_regY
+ * @returns {(createjs.DisplayObject|null)}
+ */
+createjs.DisplayObject.prototype.setTransform = function (opt_x, opt_y, opt_scaleX, opt_scaleY, opt_rotation, opt_skewX, opt_skewY, opt_regX, opt_regY) { return null; }
+
+/**
+ */
+createjs.DisplayObject.prototype.uncache = function () { }
+
+/**
+ * @param {string} compositeOperation
+ */
+createjs.DisplayObject.prototype.updateCache = function (compositeOperation) { }
+
+/**
+ * @param {(CanvasRenderingContext2D|null)} ctx
+ */
+createjs.DisplayObject.prototype.updateContext = function (ctx) { }
+
+/**
+ * @param {number=} opt_visible
+ * @param {number=} opt_alpha
+ * @param {number=} opt_shadow
+ * @param {number=} opt_compositeOperation
+ * @param {number=} opt_matrix
+ * @constructor
+ */
+createjs.DisplayProps = function (opt_visible, opt_alpha, opt_shadow, opt_compositeOperation, opt_matrix) {}
+
+/**
+ * @param {(boolean|null)} visible
+ * @param {(number|null)} alpha
+ * @param {(createjs.Shadow|null)} shadow
+ * @param {string} compositeOperation
+ * @param {createjs.Matrix2D=} opt_matrix
+ * @returns {(createjs.DisplayProps|null)}
+ */
+createjs.DisplayProps.prototype.append = function (visible, alpha, shadow, compositeOperation, opt_matrix) { return null; }
+
+/**
+ * @returns {(createjs.DisplayProps|null)}
+ */
+createjs.DisplayProps.prototype.clone = function () { return null; }
+
+/**
+ * @returns {(createjs.DisplayProps|null)}
+ */
+createjs.DisplayProps.prototype.identity = function () { return null; }
+
+/**
+ * @param {(boolean|null)} visible
+ * @param {(number|null)} alpha
+ * @param {(createjs.Shadow|null)} shadow
+ * @param {string} compositeOperation
+ * @param {createjs.Matrix2D=} opt_matrix
+ * @returns {(createjs.DisplayProps|null)}
+ */
+createjs.DisplayProps.prototype.prepend = function (visible, alpha, shadow, compositeOperation, opt_matrix) { return null; }
+
+/**
+ * @param {number=} opt_visible
+ * @param {number=} opt_alpha
+ * @param {number=} opt_shadow
+ * @param {number=} opt_compositeOperation
+ * @param {number=} opt_matrix
+ * @returns {(createjs.DisplayProps|null)}
+ */
+createjs.DisplayProps.prototype.setValues = function (opt_visible, opt_alpha, opt_shadow, opt_compositeOperation, opt_matrix) { return null; }
+
+/**
+ * @constructor
+ */
+createjs.Ease = function () {}
+
+/**
+ * @param {(number|null)} t
+ * @returns {(number|null)}
+ */
+createjs.Ease.bounceIn = function (t) { return 0; }
+
+/**
+ * @param {(number|null)} t
+ * @returns {(number|null)}
+ */
+createjs.Ease.bounceInOut = function (t) { return 0; }
+
+/**
+ * @param {(number|null)} t
+ * @returns {(number|null)}
+ */
+createjs.Ease.bounceOut = function (t) { return 0; }
+
+/**
+ * @param {(number|null)} t
+ * @returns {(number|null)}
+ */
+createjs.Ease.circIn = function (t) { return 0; }
+
+/**
+ * @param {(number|null)} t
+ * @returns {(number|null)}
+ */
+createjs.Ease.circInOut = function (t) { return 0; }
+
+/**
+ * @param {(number|null)} t
+ * @returns {(number|null)}
+ */
+createjs.Ease.circOut = function (t) { return 0; }
+
+/**
+ * @param {(number|null)} amount
+ * @returns {(Function|null)}
+ */
+createjs.Ease.get = function (amount) { return null; }
+
+/**
+ * @param {(number|null)} amount
+ * @returns {(Function|null)}
+ */
+createjs.Ease.getBackIn = function (amount) { return null; }
+
+/**
+ * @param {(number|null)} amount
+ * @returns {(Function|null)}
+ */
+createjs.Ease.getBackInOut = function (amount) { return null; }
+
+/**
+ * @param {(number|null)} amount
+ * @returns {(Function|null)}
+ */
+createjs.Ease.getBackOut = function (amount) { return null; }
+
+/**
+ * @param {(number|null)} amplitude
+ * @param {(number|null)} period
+ * @returns {(Function|null)}
+ */
+createjs.Ease.getElasticIn = function (amplitude, period) { return null; }
+
+/**
+ * @param {(number|null)} amplitude
+ * @param {(number|null)} period
+ * @returns {(Function|null)}
+ */
+createjs.Ease.getElasticInOut = function (amplitude, period) { return null; }
+
+/**
+ * @param {(number|null)} amplitude
+ * @param {(number|null)} period
+ * @returns {(Function|null)}
+ */
+createjs.Ease.getElasticOut = function (amplitude, period) { return null; }
+
+/**
+ * @param {(number|null)} pow
+ * @returns {(Function|null)}
+ */
+createjs.Ease.getPowIn = function (pow) { return null; }
+
+/**
+ * @param {(number|null)} pow
+ * @returns {(Function|null)}
+ */
+createjs.Ease.getPowInOut = function (pow) { return null; }
+
+/**
+ * @param {(number|null)} pow
+ * @returns {(Function|null)}
+ */
+createjs.Ease.getPowOut = function (pow) { return null; }
+
+/**
+ * @param {(number|null)} t
+ * @returns {(number|null)}
+ */
+createjs.Ease.linear = function (t) { return 0; }
+
+/**
+ * @param {(number|null)} t
+ * @returns {(number|null)}
+ */
+createjs.Ease.sineIn = function (t) { return 0; }
+
+/**
+ * @param {(number|null)} t
+ * @returns {(number|null)}
+ */
+createjs.Ease.sineInOut = function (t) { return 0; }
+
+/**
+ * @param {(number|null)} t
+ * @returns {(number|null)}
+ */
+createjs.Ease.sineOut = function (t) { return 0; }
+
+/**
+ * @param {string} type
+ * @param {(boolean|null)} bubbles
+ * @param {(boolean|null)} cancelable
+ * @constructor
+ */
+createjs.Event = function (type, bubbles, cancelable) {}
+
+/**
+ * @returns {(Event|null)}
+ */
+createjs.Event.prototype.clone = function () { return null; }
+
+/**
+ */
+createjs.Event.prototype.preventDefault = function () { }
+
+/**
+ */
+createjs.Event.prototype.remove = function () { }
+
+/**
+ * @param {(Object|null)} props
+ * @returns {(Event|null)} Returns
+ */
+createjs.Event.prototype.set = function (props) { return null; }
+
+/**
+ */
+createjs.Event.prototype.stopImmediatePropagation = function () { }
+
+/**
+ */
+createjs.Event.prototype.stopPropagation = function () { }
+
+/**
+ * @returns {string}
+ */
+createjs.Event.prototype.toString = function () { return ''; }
+
+/**
+ * @constructor
+ */
+createjs.EventDispatcher = function () {}
+
+/**
+ * @param {(Event|Object|null)} eventObj
+ * @param {(Object|null)} eventPhase
+ */
+createjs.EventDispatcher.prototype._dispatchEvent = function (eventObj, eventPhase) { }
+
+/**
+ * @param {string} type
+ * @param {(Object|null)} listener
+ * @param {boolean=} opt_useCapture
+ * @returns {(Object|null)}
+ */
+createjs.EventDispatcher.prototype.addEventListener = function (type, listener, opt_useCapture) { return null; }
+
+/**
+ * @param {(Event|Object|null)} eventObj
+ * @returns {(boolean|null)}
+ */
+createjs.EventDispatcher.prototype.dispatchEvent = function (eventObj) { return null; }
+
+/**
+ * @param {string} type
+ * @returns {(boolean|null)}
+ */
+createjs.EventDispatcher.prototype.hasEventListener = function (type) { return null; }
+
+/**
+ * @param {(Object|null)} target The target object to inject EventDispatcher methods into. This can be an instance or a prototype.
+ */
+createjs.EventDispatcher.initialize = function (target) { }
+
+/**
+ * @param {string} type
+ * @param {(Object|null)} listener
+ * @param {Object=} opt_scope
+ * @param {boolean=} opt_once
+ * @param {*=} opt_data
+ * @param {boolean=} opt_useCapture
+ * @returns {(Function|null)}
+ */
+createjs.EventDispatcher.prototype.on = function (type, listener, opt_scope, opt_once, opt_data, opt_useCapture) { return null; }
+
+/**
+ * @param {string} type
+ * @param {(Object|null)} listener
+ * @param {boolean=} opt_useCapture
+ */
+createjs.EventDispatcher.prototype.removeEventListener = function (type, listener, opt_useCapture) { }
+
+/**
+ * @param {string=} opt_type
+ */
+createjs.EventDispatcher.prototype.removeAllEventListeners = function (opt_type) { }
+
+/**
+ * @returns {string}
+ */
+createjs.EventDispatcher.prototype.toString = function () { return ''; }
+
+/**
+ * @param {string} type
+ * @returns {(boolean|null)}
+ */
+createjs.EventDispatcher.prototype.willTrigger = function (type) { return null; }
+
+/**
+ * @constructor
+ */
+createjs.Filter = function () {}
+
+/**
+ * @param {(ImageData|null)} imageData
+ * @returns {(boolean|null)}
+ */
+createjs.Filter.prototype._applyFilter = function (imageData) { return null; }
+
+/**
+ * @param {(CanvasRenderingContext2D|null)} ctx
+ * @param {(number|null)} x
+ * @param {(number|null)} y
+ * @param {(number|null)} width
+ * @param {(number|null)} height
+ * @param {CanvasRenderingContext2D=} opt_targetCtx
+ * @param {number=} opt_targetX
+ * @param {number=} opt_targetY
+ * @returns {(boolean|null)}
+ */
+createjs.Filter.prototype.applyFilter = function (ctx, x, y, width, height, opt_targetCtx, opt_targetX, opt_targetY) { return null; }
+
+/**
+ * @returns {(createjs.Filter|null)}
+ */
+createjs.Filter.prototype.clone = function () { return null; }
+
+/**
+ * @param {createjs.Rectangle=} opt_rect
+ * @returns {(createjs.Rectangle|null)}
+ */
+createjs.Filter.prototype.getBounds = function (opt_rect) { return null; }
+
+/**
+ * @returns {string}
+ */
+createjs.Filter.prototype.toString = function () { return ''; }
+
+/**
+ * @const
+ * @suppress {duplicate|const} */
+var createjs = {};
+
+
+/**
+ * @constructor
+ */
+createjs.Graphics = function () {}
+
+/**
+ * @type {(Array|null)}
+ */
+createjs.Graphics.prototype.instructions;
+
+/**
+ * @param fill
+ */
+createjs.Graphics.prototype._setFill = function (fill) { }
+
+/**
+ * @param stroke
+ */
+createjs.Graphics.prototype._setStroke = function (stroke) { }
+
+/**
+ * @param commit
+ */
+createjs.Graphics.prototype._updateInstructions = function (commit) { }
+
+/**
+ * @param {(Object|null)} command
+ * @param {boolean} clean
+ * @returns {(createjs.Graphics|null)}
+ */
+createjs.Graphics.prototype.append = function (command, clean) { return null; }
+
+/**
+ * @param {(number|null)} x
+ * @param {(number|null)} y
+ * @param {(number|null)} radius
+ * @param {(number|null)} startAngle
+ * @param {(number|null)} endAngle
+ * @param {(boolean|null)} anticlockwise
+ * @returns {(createjs.Graphics|null)}
+ */
+createjs.Graphics.prototype.arc = function (x, y, radius, startAngle, endAngle, anticlockwise) { return null; }
+
+/**
+ * @param {(number|null)} x1
+ * @param {(number|null)} y1
+ * @param {(number|null)} x2
+ * @param {(number|null)} y2
+ * @param {(number|null)} radius
+ * @returns {(createjs.Graphics|null)}
+ */
+createjs.Graphics.prototype.arcTo = function (x1, y1, x2, y2, radius) { return null; }
+
+/**
+ * @param {(HTMLCanvasElement|HTMLImageElement|HTMLVideoElement|null)} image
+ * @param {string} repetition
+ * @param {(createjs.Matrix2D|null)} matrix
+ * @returns {(createjs.Graphics|null)}
+ */
+createjs.Graphics.prototype.beginBitmapFill = function (image, repetition, matrix) { return null; }
+
+/**
+ * @param {(HTMLCanvasElement|HTMLImageElement|HTMLVideoElement|null)} image
+ * @param {string=} opt_repetition
+ * @returns {(createjs.Graphics|null)}
+ */
+createjs.Graphics.prototype.beginBitmapStroke = function (image, opt_repetition) { return null; }
+
+/**
+ * @param {string} color
+ * @returns {(createjs.Graphics|null)}
+ */
+createjs.Graphics.prototype.beginFill = function (color) { return null; }
+
+/**
+ * @param {(Array|null)} colors
+ * @param {(Array|null)} ratios
+ * @param {(number|null)} x0
+ * @param {(number|null)} y0
+ * @param {(number|null)} x1
+ * @param {(number|null)} y1
+ * @returns {(createjs.Graphics|null)}
+ */
+createjs.Graphics.prototype.beginLinearGradientFill = function (colors, ratios, x0, y0, x1, y1) { return null; }
+
+/**
+ * @param {(Array|null)} colors
+ * @param {(Array|null)} ratios
+ * @param {(number|null)} x0
+ * @param {(number|null)} y0
+ * @param {(number|null)} x1
+ * @param {(number|null)} y1
+ * @returns {(createjs.Graphics|null)}
+ */
+createjs.Graphics.prototype.beginLinearGradientStroke = function (colors, ratios, x0, y0, x1, y1) { return null; }
+
+/**
+ * @param {(Array|null)} colors
+ * @param {(Array|null)} ratios
+ * @param {(number|null)} x0
+ * @param {(number|null)} y0
+ * @param {(number|null)} r0
+ * @param {(number|null)} x1
+ * @param {(number|null)} y1
+ * @param {(number|null)} r1
+ * @returns {(createjs.Graphics|null)}
+ */
+createjs.Graphics.prototype.beginRadialGradientFill = function (colors, ratios, x0, y0, r0, x1, y1, r1) { return null; }
+
+/**
+ * @param {(Array|null)} colors
+ * @param {(Array|null)} ratios
+ * @param {(number|null)} x0
+ * @param {(number|null)} y0
+ * @param {(number|null)} r0
+ * @param {(number|null)} x1
+ * @param {(number|null)} y1
+ * @param {(number|null)} r1
+ * @returns {(createjs.Graphics|null)}
+ */
+createjs.Graphics.prototype.beginRadialGradientStroke = function (colors, ratios, x0, y0, r0, x1, y1, r1) { return null; }
+
+/**
+ * @param {string} color
+ * @returns {(createjs.Graphics|null)}
+ */
+createjs.Graphics.prototype.beginStroke = function (color) { return null; }
+
+/**
+ * @param {(number|null)} cp1x
+ * @param {(number|null)} cp1y
+ * @param {(number|null)} cp2x
+ * @param {(number|null)} cp2y
+ * @param {(number|null)} x
+ * @param {(number|null)} y
+ * @returns {(createjs.Graphics|null)}
+ */
+createjs.Graphics.prototype.bezierCurveTo = function (cp1x, cp1y, cp2x, cp2y, x, y) { return null; }
+
+/**
+ * @returns {(createjs.Graphics|null)}
+ */
+createjs.Graphics.prototype.clear = function () { return null; }
+
+/**
+ * @returns {(createjs.Graphics|null)}
+ */
+createjs.Graphics.prototype.clone = function () { return null; }
+
+/**
+ * @returns {(createjs.Graphics|null)}
+ */
+createjs.Graphics.prototype.closePath = function () { return null; }
+
+/**
+ * @param {string} str
+ * @returns {(createjs.Graphics|null)}
+ */
+createjs.Graphics.prototype.decodePath = function (str) { return null; }
+
+/**
+ * @param {(CanvasRenderingContext2D|null)} ctx
+ * @param {(Object|null)} data
+ */
+createjs.Graphics.prototype.draw = function (ctx, data) { }
+
+/**
+ * @param {(CanvasRenderingContext2D|null)} ctx
+ */
+createjs.Graphics.prototype.drawAsPath = function (ctx) { }
+
+/**
+ * @param {(number|null)} x
+ * @param {(number|null)} y
+ * @param {(number|null)} radius
+ * @returns {(createjs.Graphics|null)}
+ */
+createjs.Graphics.prototype.drawCircle = function (x, y, radius) { return null; }
+
+/**
+ * @param {(number|null)} x
+ * @param {(number|null)} y
+ * @param {(number|null)} w
+ * @param {(number|null)} h
+ * @returns {(createjs.Graphics|null)}
+ */
+createjs.Graphics.prototype.drawEllipse = function (x, y, w, h) { return null; }
+
+/**
+ * @param {(number|null)} x
+ * @param {(number|null)} y
+ * @param {(number|null)} radius
+ * @param {(number|null)} sides
+ * @param {(number|null)} pointSize
+ * @param {(number|null)} angle
+ * @returns {(createjs.Graphics|null)}
+ */
+createjs.Graphics.prototype.drawPolyStar = function (x, y, radius, sides, pointSize, angle) { return null; }
+
+/**
+ * @param {(number|null)} x
+ * @param {(number|null)} y
+ * @param {(number|null)} w
+ * @param {(number|null)} h
+ * @param {(number|null)} radius
+ * @returns {(createjs.Graphics|null)}
+ */
+createjs.Graphics.prototype.drawRoundRect = function (x, y, w, h, radius) { return null; }
+
+/**
+ * @param {(number|null)} x
+ * @param {(number|null)} y
+ * @param {(number|null)} w
+ * @param {(number|null)} h
+ * @param {(number|null)} radiusTL
+ * @param {(number|null)} radiusTR
+ * @param {(number|null)} radiusBR
+ * @param {(number|null)} radiusBL
+ * @returns {(createjs.Graphics|null)}
+ */
+createjs.Graphics.prototype.drawRoundRectComplex = function (x, y, w, h, radiusTL, radiusTR, radiusBR, radiusBL) { return null; }
+
+/**
+ * @returns {(createjs.Graphics|null)}
+ */
+createjs.Graphics.prototype.endFill = function () { return null; }
+
+/**
+ * @returns {(createjs.Graphics|null)}
+ */
+createjs.Graphics.prototype.endStroke = function () { return null; }
+
+/**
+ * @param {(number|null)} hue
+ * @param {(number|null)} saturation
+ * @param {(number|null)} lightness
+ * @param {number=} opt_alpha
+ * @returns {string}
+ */
+createjs.Graphics.getHSL = function (hue, saturation, lightness, opt_alpha) { return ''; }
+
+/**
+ * @returns {(Array|null)}
+ */
+createjs.Graphics.prototype.getInstructions = function () { return null; }
+
+/**
+ * @param {(number|null)} r
+ * @param {(number|null)} g
+ * @param {(number|null)} b
+ * @param {number=} opt_alpha
+ * @returns {string}
+ */
+createjs.Graphics.getRGB = function (r, g, b, opt_alpha) { return ''; }
+
+/**
+ * @returns {(boolean|null)}
+ */
+createjs.Graphics.prototype.isEmpty = function () { return null; }
+
+/**
+ * @param {(number|null)} x
+ * @param {(number|null)} y
+ * @returns {(createjs.Graphics|null)}
+ */
+createjs.Graphics.prototype.lineTo = function (x, y) { return null; }
+
+/**
+ * @param {(number|null)} x
+ * @param {(number|null)} y
+ * @returns {(createjs.Graphics|null)}
+ */
+createjs.Graphics.prototype.moveTo = function (x, y) { return null; }
+
+/**
+ * @param {(number|null)} cpx
+ * @param {(number|null)} cpy
+ * @param {(number|null)} x
+ * @param {(number|null)} y
+ * @returns {(createjs.Graphics|null)}
+ */
+createjs.Graphics.prototype.quadraticCurveTo = function (cpx, cpy, x, y) { return null; }
+
+/**
+ * @param {(number|null)} x
+ * @param {(number|null)} y
+ * @param {(number|null)} w
+ * @param {(number|null)} h
+ * @returns {(createjs.Graphics|null)}
+ */
+createjs.Graphics.prototype.rect = function (x, y, w, h) { return null; }
+
+/**
+ * @param {(number|null)} thickness
+ * @param {(number|string)=} opt_caps
+ * @param {(number|string)=} opt_joints
+ * @param {number=} opt_miterLimit
+ * @param {boolean=} opt_ignoreScale
+ * @returns {(createjs.Graphics|null)}
+ */
+createjs.Graphics.prototype.setStrokeStyle = function (thickness, opt_caps, opt_joints, opt_miterLimit, opt_ignoreScale) { return null; }
+
+/**
+ * @returns {(createjs.Graphics|null)}
+ */
+createjs.Graphics.prototype.store = function () { return null; }
+
+/**
+ * @returns {string}
+ */
+createjs.Graphics.prototype.toString = function () { return ''; }
+
+/**
+ * @returns {(createjs.Graphics|null)}
+ */
+createjs.Graphics.prototype.unstore = function () { return null; }
+
+/**
+ * @param {number=} opt_a
+ * @param {number=} opt_b
+ * @param {number=} opt_c
+ * @param {number=} opt_d
+ * @param {number=} opt_tx
+ * @param {number=} opt_ty
+ * @constructor
+ */
+createjs.Matrix2D = function (opt_a, opt_b, opt_c, opt_d, opt_tx, opt_ty) {}
+
+/**
+ * @param {(number|null)} a
+ * @param {(number|null)} b
+ * @param {(number|null)} c
+ * @param {(number|null)} d
+ * @param {(number|null)} tx
+ * @param {(number|null)} ty
+ * @returns {(createjs.Matrix2D|null)}
+ */
+createjs.Matrix2D.prototype.append = function (a, b, c, d, tx, ty) { return null; }
+
+/**
+ * @param {(createjs.Matrix2D|null)} matrix
+ * @returns {(createjs.Matrix2D|null)}
+ */
+createjs.Matrix2D.prototype.appendMatrix = function (matrix) { return null; }
+
+/**
+ * @param {(number|null)} x
+ * @param {(number|null)} y
+ * @param {(number|null)} scaleX
+ * @param {(number|null)} scaleY
+ * @param {(number|null)} rotation
+ * @param {(number|null)} skewX
+ * @param {(number|null)} skewY
+ * @param {(number|null)} regX Optional.
+ * @param {(number|null)} regY Optional.
+ * @returns {(createjs.Matrix2D|null)}
+ */
+createjs.Matrix2D.prototype.appendTransform = function (x, y, scaleX, scaleY, rotation, skewX, skewY, regX, regY) { return null; }
+
+/**
+ * @returns {(createjs.Matrix2D|null)}
+ */
+createjs.Matrix2D.prototype.clone = function () { return null; }
+
+/**
+ * @param {(createjs.Matrix2D|null)} matrix
+ * @returns {(createjs.Matrix2D|null)}
+ */
+createjs.Matrix2D.prototype.copy = function (matrix) { return null; }
+
+/**
+ * @param {(Object|null)} target
+ * @returns {(Object|null)}
+ */
+createjs.Matrix2D.prototype.decompose = function (target) { return null; }
+
+/**
+ * @param {(createjs.Matrix2D|null)} matrix
+ * @returns {(boolean|null)}
+ */
+createjs.Matrix2D.prototype.equals = function (matrix) { return null; }
+
+/**
+ * @returns {(createjs.Matrix2D|null)}
+ */
+createjs.Matrix2D.prototype.identity = function () { return null; }
+
+/**
+ * @returns {(createjs.Matrix2D|null)}
+ */
+createjs.Matrix2D.prototype.invert = function () { return null; }
+
+/**
+ * @returns {(boolean|null)}
+ */
+createjs.Matrix2D.prototype.isIdentity = function () { return null; }
+
+/**
+ * @param {(number|null)} a
+ * @param {(number|null)} b
+ * @param {(number|null)} c
+ * @param {(number|null)} d
+ * @param {(number|null)} tx
+ * @param {(number|null)} ty
+ * @returns {(createjs.Matrix2D|null)}
+ */
+createjs.Matrix2D.prototype.prepend = function (a, b, c, d, tx, ty) { return null; }
+
+/**
+ * @param {(createjs.Matrix2D|null)} matrix
+ * @returns {(createjs.Matrix2D|null)}
+ */
+createjs.Matrix2D.prototype.prependMatrix = function (matrix) { return null; }
+
+/**
+ * @param {(number|null)} x
+ * @param {(number|null)} y
+ * @param {(number|null)} scaleX
+ * @param {(number|null)} scaleY
+ * @param {(number|null)} rotation
+ * @param {(number|null)} skewX
+ * @param {(number|null)} skewY
+ * @param {(number|null)} regX
+ * @param {(number|null)} regY
+ * @returns {(createjs.Matrix2D|null)}
+ */
+createjs.Matrix2D.prototype.prependTransform = function (x, y, scaleX, scaleY, rotation, skewX, skewY, regX, regY) { return null; }
+
+/**
+ * @param {(number|null)} angle
+ * @returns {(createjs.Matrix2D|null)}
+ */
+createjs.Matrix2D.prototype.rotate = function (angle) { return null; }
+
+/**
+ * @param {(number|null)} x
+ * @param {(number|null)} y
+ * @returns {(createjs.Matrix2D|null)}
+ */
+createjs.Matrix2D.prototype.scale = function (x, y) { return null; }
+
+/**
+ * @param {number=} opt_a
+ * @param {number=} opt_b
+ * @param {number=} opt_c
+ * @param {number=} opt_d
+ * @param {number=} opt_tx
+ * @param {number=} opt_ty
+ * @returns {(createjs.Matrix2D|null)}
+ */
+createjs.Matrix2D.prototype.setValues = function (opt_a, opt_b, opt_c, opt_d, opt_tx, opt_ty) { return null; }
+
+/**
+ * @param {(number|null)} skewX
+ * @param {(number|null)} skewY
+ * @returns {(createjs.Matrix2D|null)}
+ */
+createjs.Matrix2D.prototype.skew = function (skewX, skewY) { return null; }
+
+/**
+ * @returns {string}
+ */
+createjs.Matrix2D.prototype.toString = function () { return ''; }
+
+/**
+ * @param {(number|null)} x
+ * @param {(number|null)} y
+ * @param {(Object|createjs.Point)=} opt_pt
+ * @returns {(createjs.Point|null)}
+ */
+createjs.Matrix2D.prototype.transformPoint = function (x, y, opt_pt) { return null; }
+
+/**
+ * @param {(number|null)} x
+ * @param {(number|null)} y
+ * @returns {(createjs.Matrix2D|null)}
+ */
+createjs.Matrix2D.prototype.translate = function (x, y) { return null; }
+
+/**
+ * @param {string} type
+ * @param {(boolean|null)} bubbles
+ * @param {(boolean|null)} cancelable
+ * @param {(number|null)} stageX
+ * @param {(number|null)} stageY
+ * @param {(MouseEvent|null)} nativeEvent
+ * @param {(number|null)} pointerID
+ * @param {(boolean|null)} primary
+ * @param {(number|null)} rawX
+ * @param {(number|null)} rawY
+ * @constructor
+ * @extends createjs.Event
+ */
+createjs.MouseEvent = function (type, bubbles, cancelable, stageX, stageY, nativeEvent, pointerID, primary, rawX, rawY) {}
+
+/**
+ */
+createjs.MouseEvent.prototype._get_isTouch = function () { }
+
+/**
+ */
+createjs.MouseEvent.prototype._get_localX = function () { }
+
+/**
+ */
+createjs.MouseEvent.prototype._get_localY = function () { }
+
+/**
+ * @param {string=} opt_mode
+ * @param {number=} opt_startPosition
+ * @param {boolean=} opt_loop
+ * @param {Object=} opt_labels
+ * @constructor
+ * @extends createjs.Container
+ */
+createjs.MovieClip = function (opt_mode, opt_startPosition, opt_loop, opt_labels) {}
+
+/**
+ * @param {(createjs.MovieClip|null)} child
+ * @param {(number|null)} offset
+ */
+createjs.MovieClip.prototype._addManagedChild = function (child, offset) { }
+
+/**
+ * @param {(number|string|null)} positionOrLabel
+ */
+createjs.MovieClip.prototype._goto = function (positionOrLabel) { }
+
+/**
+ */
+createjs.MovieClip.prototype._reset = function () { }
+
+/**
+ * @param {(Array|null)} state
+ * @param {(number|null)} offset
+ */
+createjs.MovieClip.prototype._setState = function (state, offset) { }
+
+/**
+ */
+createjs.MovieClip.prototype._updateTimeline = function () { }
+
+/**
+ * @param {(number|null)} time
+ */
+createjs.MovieClip.prototype.advance = function (time) { }
+
+/**
+ * @returns {string}
+ */
+createjs.MovieClip.prototype.getCurrentLabel = function () { return ''; }
+
+/**
+ * @returns {(Array|null)}
+ */
+createjs.MovieClip.prototype.getLabels = function () { return null; }
+
+/**
+ * @param {(number|string|null)} positionOrLabel
+ */
+createjs.MovieClip.prototype.gotoAndPlay = function (positionOrLabel) { }
+
+/**
+ * @param {(number|string|null)} positionOrLabel
+ */
+createjs.MovieClip.prototype.gotoAndStop = function (positionOrLabel) { }
+
+/**
+ */
+createjs.MovieClip.prototype.play = function () { }
+
+/**
+ */
+createjs.MovieClip.prototype.stop = function () { }
+
+/**
+ * @param {number=} opt_x X
+ * @param {number=} opt_y Y
+ * @constructor
+ */
+createjs.Point = function (opt_x, opt_y) {}
+
+/**
+ * @returns {(createjs.Point|null)}
+ */
+createjs.Point.prototype.clone = function () { return null; }
+
+/**
+ * @param {(createjs.Point|null)} point
+ * @returns {(createjs.Point|null)}
+ */
+createjs.Point.prototype.copy = function (point) { return null; }
+
+/**
+ * @param {number=} opt_x
+ * @param {number=} opt_y
+ * @returns {(createjs.Point|null)}
+ */
+createjs.Point.prototype.setValues = function (opt_x, opt_y) { return null; }
+
+/**
+ * @returns {string}
+ */
+createjs.Point.prototype.toString = function () { return ''; }
+
+/**
+ * @param {number=} opt_x
+ * @param {number=} opt_y
+ * @param {number=} opt_width
+ * @param {number=} opt_height
+ * @constructor
+ */
+createjs.Rectangle = function (opt_x, opt_y, opt_width, opt_height) {}
+
+/**
+ * @returns {(createjs.Rectangle|null)}
+ */
+createjs.Rectangle.prototype.clone = function () { return null; }
+
+/**
+ * @param {(number|null)} x
+ * @param {(number|null)} y
+ * @param {number=} opt_width
+ * @param {number=} opt_height
+ * @returns {(boolean|null)}
+ */
+createjs.Rectangle.prototype.contains = function (x, y, opt_width, opt_height) { return null; }
+
+/**
+ * @param {(createjs.Rectangle|null)} rectangle
+ * @returns {(createjs.Rectangle|null)}
+ */
+createjs.Rectangle.prototype.copy = function (rectangle) { return null; }
+
+/**
+ * @param {(number|null)} x
+ * @param {(number|null)} y
+ * @param {number=} opt_width
+ * @param {number=} opt_height
+ * @returns {(createjs.Rectangle|null)}
+ */
+createjs.Rectangle.prototype.extend = function (x, y, opt_width, opt_height) { return null; }
+
+/**
+ * @param {(createjs.Rectangle|null)} rect
+ * @returns {(createjs.Rectangle|null)}
+ */
+createjs.Rectangle.prototype.intersection = function (rect) { return null; }
+
+/**
+ * @param {(createjs.Rectangle|null)} rect
+ * @returns {(boolean|null)}
+ */
+createjs.Rectangle.prototype.intersects = function (rect) { return null; }
+
+/**
+ * @returns {(boolean|null)}
+ */
+createjs.Rectangle.prototype.isEmpty = function () { return null; }
+
+/**
+ * @param {number=} opt_top
+ * @param {number=} opt_left
+ * @param {number=} opt_right
+ * @param {number=} opt_bottom
+ * @returns {(createjs.Rectangle|null)}
+ */
+createjs.Rectangle.prototype.pad = function (opt_top, opt_left, opt_right, opt_bottom) { return null; }
+
+/**
+ * @param {number=} opt_x
+ * @param {number=} opt_y
+ * @param {number=} opt_width
+ * @param {number=} opt_height
+ * @returns {(createjs.Rectangle|null)}
+ */
+createjs.Rectangle.prototype.setValues = function (opt_x, opt_y, opt_width, opt_height) { return null; }
+
+/**
+ * @returns {string}
+ */
+createjs.Rectangle.prototype.toString = function () { return ''; }
+
+/**
+ * @param {(createjs.Rectangle|null)} rect
+ * @returns {(createjs.Rectangle|null)}
+ */
+createjs.Rectangle.prototype.union = function (rect) { return null; }
+
+/**
+ * @param {string} color
+ * @param {(number|null)} offsetX
+ * @param {(number|null)} offsetY
+ * @param {(number|null)} blur
+ * @constructor
+ */
+createjs.Shadow = function (color, offsetX, offsetY, blur) {}
+
+/**
+ * @returns {(createjs.Shadow|null)}
+ */
+createjs.Shadow.prototype.clone = function () { return null; }
+
+/**
+ * @returns {string}
+ */
+createjs.Shadow.prototype.toString = function () { return ''; }
+
+/**
+ * @param {(createjs.Graphics|null)} graphics
+ * @constructor
+ * @extends createjs.DisplayObject
+ */
+createjs.Shape = function (graphics) {}
+
+/**
+ * @param {(createjs.SpriteSheet|null)} spriteSheet
+ * @param {(number|string)=} opt_frameOrAnimation
+ * @constructor
+ * @extends createjs.DisplayObject
+ */
+createjs.Sprite = function (spriteSheet, opt_frameOrAnimation) {}
+
+/**
+ */
+createjs.Sprite.prototype._dispatchAnimationEnd = function (animation, frame, paused, next, end) { }
+
+/**
+ * @param {(number|string|null)} frameOrAnimation
+ * @param {boolean=} opt_frame
+ */
+createjs.Sprite.prototype._goto = function (frameOrAnimation, opt_frame) { }
+
+/**
+ */
+createjs.Sprite.prototype._normalizeFrame = function (frameDelta) { }
+
+/**
+ * @param {(number|null)} time
+ */
+createjs.Sprite.prototype.advance = function (time) { }
+
+/**
+ * @param {(number|string|null)} frameOrAnimation
+ */
+createjs.Sprite.prototype.gotoAndPlay = function (frameOrAnimation) { }
+
+/**
+ * @param {(number|string|null)} frameOrAnimation
+ */
+createjs.Sprite.prototype.gotoAndStop = function (frameOrAnimation) { }
+
+/**
+ */
+createjs.Sprite.prototype.play = function () { }
+
+/**
+ */
+createjs.Sprite.prototype.stop = function () { }
+
+/**
+ * @param {createjs.SpriteSheet=} opt_spriteSheet
+ * @constructor
+ * @extends createjs.Container
+ */
+createjs.SpriteContainer = function (opt_spriteSheet) {}
+
+/**
+ * @param {(Object|null)} data
+ * @constructor
+ * @extends createjs.EventDispatcher
+ */
+createjs.SpriteSheet = function (data) {}
+
+/**
+ * @type {(Array|null)}
+ */
+createjs.SpriteSheet.prototype.animations;
+
+/**
+ */
+createjs.SpriteSheet.prototype._calculateFrames = function () { }
+
+/**
+ */
+createjs.SpriteSheet.prototype._handleImageLoad = function () { }
+
+/**
+ * @param {(Object|null)} data
+ */
+createjs.SpriteSheet.prototype._parseData = function (data) { }
+
+/**
+ */
+createjs.SpriteSheet.prototype.clone = function () { }
+
+/**
+ * @param {string} name
+ * @returns {(Object|null)}
+ */
+createjs.SpriteSheet.prototype.getAnimation = function (name) { return null; }
+
+/**
+ * @returns {(Array|null)}
+ */
+createjs.SpriteSheet.prototype.getAnimations = function () { return null; }
+
+/**
+ * @param {(number|null)} frameIndex
+ * @returns {(Object|null)}
+ */
+createjs.SpriteSheet.prototype.getFrame = function (frameIndex) { return null; }
+
+/**
+ * @param {(number|null)} frameIndex
+ * @param {createjs.Rectangle=} opt_rectangle
+ * @returns {(createjs.Rectangle|null)}
+ */
+createjs.SpriteSheet.prototype.getFrameBounds = function (frameIndex, opt_rectangle) { return null; }
+
+/**
+ * @param {string} animation
+ * @returns {(number|null)}
+ */
+createjs.SpriteSheet.prototype.getNumFrames = function (animation) { return 0; }
+
+/**
+ * @constructor
+ * @extends createjs.EventDispatcher
+ */
+createjs.SpriteSheetBuilder = function () {}
+
+/**
+ * @returns {?}
+ */
+createjs.SpriteSheetBuilder.prototype._drawNext = function () { return null; }
+
+/**
+ */
+createjs.SpriteSheetBuilder.prototype._endBuild = function () { }
+
+/**
+ * @param {(Array|null)} frames
+ * @param {(number|null)} y
+ * @param {(Image|null)} img
+ * @param {(Object|null)} dataFrames
+ * @param {(number|null)} pad
+ * @returns {(number|null)}
+ */
+createjs.SpriteSheetBuilder.prototype._fillRow = function (frames, y, img, dataFrames, pad) { return 0; }
+
+/**
+ * @returns {(number|null)}
+ */
+createjs.SpriteSheetBuilder.prototype._getSize = function (size, max) { return 0; }
+
+/**
+ */
+createjs.SpriteSheetBuilder.prototype._run = function () { }
+
+/**
+ * @returns {(number|null)}
+ */
+createjs.SpriteSheetBuilder.prototype._setupMovieClipFrame = function (source, data) { return 0; }
+
+/**
+ */
+createjs.SpriteSheetBuilder.prototype._startBuild = function () { }
+
+/**
+ * @param {string} name
+ * @param {(Array|null)} frames
+ * @param {string=} opt_next
+ * @param {number=} opt_frequency
+ */
+createjs.SpriteSheetBuilder.prototype.addAnimation = function (name, frames, opt_next, opt_frequency) { }
+
+
+/**
+ * @param {(createjs.DisplayObject|null)} source
+ * @param {createjs.Rectangle=} opt_sourceRect
+ * @param {number=} opt_scale
+ * @param {Function=} opt_setupFunction
+ * @param {Object=} opt_setupData
+ * @returns {(number|null)}
+ */
+createjs.SpriteSheetBuilder.prototype.addFrame = function (source, opt_sourceRect, opt_scale, opt_setupFunction, opt_setupData) { return 0; }
+
+/**
+ * @param {(createjs.MovieClip|null)} source
+ * @param {createjs.Rectangle=} opt_sourceRect
+ * @param {number=} opt_scale
+ * @param {Function=} opt_setupFunction
+ * @param {Object=} opt_setupData
+ * @param {Function=} opt_labelFunction
+ */
+createjs.SpriteSheetBuilder.prototype.addMovieClip = function (source, opt_sourceRect, opt_scale, opt_setupFunction, opt_setupData, opt_labelFunction) { }
+
+/**
+ * @returns {(createjs.SpriteSheet|null)}
+ */
+createjs.SpriteSheetBuilder.prototype.build = function () { return null; }
+
+/**
+ * @param {number=} opt_timeSlice
+ */
+createjs.SpriteSheetBuilder.prototype.buildAsync = function (opt_timeSlice) { }
+
+/**
+ */
+createjs.SpriteSheetBuilder.prototype.clone = function () { }
+
+/**
+ */
+createjs.SpriteSheetBuilder.prototype.stopAsync = function () { }
+
+/**
+ * @param {(HTMLCanvasElement|Object|null)} canvas
+ * @param {(boolean|null)} preserveDrawingBuffer
+ * @param {(boolean|null)} antialias
+ * @constructor
+ * @extends createjs.Stage
+ */
+createjs.SpriteStage = function (canvas, preserveDrawingBuffer, antialias) {}
+
+/**
+ */
+createjs.SpriteStage.prototype.isWebGL;
+
+/**
+ * @param {(WebGLRenderingContext|null)} ctx
+ */
+createjs.SpriteStage.prototype._createBuffers = function (ctx) { }
+
+/**
+ * @param {(WebGLRenderingContext|null)} ctx
+ * @param {(number|null)} type
+ * @param {string} str
+ * @returns {(WebGLShader|null)}
+ */
+createjs.SpriteStage.prototype._createShader = function (ctx, type, str) { return null; }
+
+/**
+ * @param {(WebGLRenderingContext|null)} ctx
+ */
+createjs.SpriteStage.prototype._createShaderProgram = function (ctx) { }
+
+/**
+ * @param {(WebGLRenderingContext|null)} ctx
+ */
+createjs.SpriteStage.prototype._drawToGPU = function (ctx) { }
+
+/**
+ * @param {(Array|null)} kids
+ * @param {(WebGLRenderingContext|null)} ctx
+ * @param {(createjs.Matrix2D|null)} parentMVMatrix
+ */
+createjs.SpriteStage.prototype._drawWebGLKids = function (kids, ctx, parentMVMatrix) { }
+
+/**
+ */
+createjs.SpriteStage.prototype._get_isWebGL = function () { }
+
+/**
+ */
+createjs.SpriteStage.prototype._initializeWebGL = function () { }
+
+/**
+ */
+createjs.SpriteStage.prototype._initializeWebGLContext = function () { }
+
+/**
+ * @param {(number|null)} r
+ * @param {(number|null)} g
+ * @param {(number|null)} b
+ * @param {(number|null)} a
+ */
+createjs.SpriteStage.prototype._setClearColor = function (r, g, b, a) { }
+
+/**
+ * @param {(WebGLRenderingContext|null)} ctx
+ * @param {(Object|null)} kid
+ * @returns {(WebGLTexture|null)}
+ */
+createjs.SpriteStage.prototype._setUpKidTexture = function (ctx, kid) { return null; }
+
+/**
+ * @param {(WebGLRenderingContext|null)} ctx
+ * @param {(number|null)} value
+ */
+createjs.SpriteStage.prototype._setMaxBoxesPoints = function (ctx, value) { }
+
+/**
+ * @returns {(WebGLRenderingContext|null)}
+ */
+createjs.SpriteStage.prototype._setWebGLContext = function () { return null; }
+
+/**
+ * @param {(Image|null)} image
+ */
+createjs.SpriteStage.prototype.clearImageTexture = function (image) { }
+
+/**
+ * @param {(number|null)} width
+ * @param {(number|null)} height
+ */
+createjs.SpriteStage.prototype.updateViewport = function (width, height) { }
+
+/**
+ * @param {(HTMLCanvasElement|Object|null)} canvas
+ * @constructor
+ * @extends createjs.Container
+ */
+createjs.Stage = function (canvas) {}
+
+/**
+ */
+createjs.Stage.prototype.nextStage;
+
+/**
+ * @param {(createjs.DisplayObject|null)} target
+ * @param {string} type
+ * @param {(boolean|null)} bubbles
+ * @param {(number|null)} pointerId
+ * @param {(Object|null)} o
+ * @param {MouseEvent=} opt_nativeEvent
+ */
+createjs.Stage.prototype._dispatchMouseEvent = function (target, type, bubbles, pointerId, o, opt_nativeEvent) { }
+
+/**
+ * @param {(HTMLElement|null)} e
+ */
+createjs.Stage.prototype._getElementRect = function (e) { }
+
+/**
+ */
+createjs.Stage.prototype._get_nextStage = function () { }
+
+/**
+ * @param {(MouseEvent|null)} e
+ * @param {(createjs.Stage|null)} owner
+ */
+createjs.Stage.prototype._handleDoubleClick = function (e, owner) { }
+
+/**
+ * @param {(MouseEvent|null)} e
+ */
+createjs.Stage.prototype._handleMouseDown = function (e) { }
+
+/**
+ * @param {(MouseEvent|null)} e
+ */
+createjs.Stage.prototype._handleMouseMove = function (e) { }
+
+/**
+ * @param {(MouseEvent|null)} e
+ */
+createjs.Stage.prototype._handleMouseUp = function (e) { }
+
+/**
+ * @param {(number|null)} id
+ * @param {(Event|null)} e
+ * @param {(number|null)} pageX
+ * @param {(number|null)} pageY
+ * @param {(createjs.Stage|null)} owner
+ */
+createjs.Stage.prototype._handlePointerDown = function (id, e, pageX, pageY, owner) { }
+
+/**
+ * @param {(number|null)} id
+ * @param {(Event|null)} e
+ * @param {(number|null)} pageX
+ * @param {(number|null)} pageY
+ * @param {(createjs.Stage|null)} owner
+ */
+createjs.Stage.prototype._handlePointerMove = function (id, e, pageX, pageY, owner) { }
+
+/**
+ * @param {(number|null)} id
+ * @param {(Event|null)} e
+ * @param {(boolean|null)} clear
+ * @param {(createjs.Stage|null)} owner
+ */
+createjs.Stage.prototype._handlePointerUp = function (id, e, clear, owner) { }
+
+
+/**
+ * @param {(number|null)} id
+ */
+createjs.Stage.prototype._getPointerData = function (id) { }
+
+/**
+ */
+createjs.Stage.prototype._set_nextStage = function (value) { }
+
+/**
+ * @param {(boolean|null)} clear
+ * @param {(createjs.Stage|null)} owner
+ * @param {(createjs.Stage|null)} eventTarget
+ */
+createjs.Stage.prototype._testMouseOver = function (clear, owner, eventTarget) { }
+
+/**
+ * @param {(number|null)} id
+ * @param {(Event|null)} e
+ * @param {(number|null)} pageX
+ * @param {(number|null)} pageY
+ */
+createjs.Stage.prototype._updatePointerPosition = function (id, e, pageX, pageY) { }
+
+/**
+ */
+createjs.Stage.prototype.clear = function () { }
+
+/**
+ * @param {boolean=} opt_enable
+ */
+createjs.Stage.prototype.enableDOMEvents = function (opt_enable) { }
+
+/**
+ * @param {number=} opt_frequency
+ */
+createjs.Stage.prototype.enableMouseOver = function (opt_frequency) { }
+
+/**
+ */
+createjs.Stage.prototype.handleEvent = function (evt) { }
+
+/**
+ * @param {Object=} opt_props
+ */
+createjs.Stage.prototype.tick = function (opt_props) { }
+
+/**
+ * @param {string=} opt_backgroundColor
+ * @param {string=} opt_mimeType
+ * @returns {string}
+ */
+createjs.Stage.prototype.toDataURL = function (opt_backgroundColor, opt_mimeType) { return ''; }
+
+/**
+ * @param {Object=} opt_props
+ */
+createjs.Stage.prototype.update = function (opt_props) { }
+
+/**
+ * @param {string=} opt_text
+ * @param {string=} opt_font
+ * @param {string=} opt_color
+ * @constructor
+ * @extends createjs.DisplayObject
+ */
+createjs.Text = function (opt_text, opt_font, opt_color) {}
+
+/**
+ * @type {string}
+ */
+createjs.Text.prototype.text;
+
+/**
+ * @type {string}
+ */
+createjs.Text.prototype.textAlign;
+
+/**
+ * @type {string}
+ */
+createjs.Text.prototype.textBaseline;
+
+/**
+ * @param {(CanvasRenderingContext2D|null)} ctx
+ * @param {(Object|null)} o
+ * @param {(Array|null)} lines
+ * @returns {(Object|null)}
+ */
+createjs.Text.prototype._drawText = function (ctx, o, lines) { return null; }
+
+/**
+ * @param {(CanvasRenderingContext2D|null)} ctx
+ * @param {string} text
+ * @param {(number|null)} y
+ */
+createjs.Text.prototype._drawTextLine = function (ctx, text, y) { }
+
+/**
+ * @param {string} text
+ */
+createjs.Text.prototype._getMeasuredWidth = function (text) { }
+
+/**
+ * @param {(CanvasRenderingContext2D|null)} ctx
+ * @returns {(CanvasRenderingContext2D|null)}
+ */
+createjs.Text.prototype._prepContext = function (ctx) { return null; }
+
+/**
+ * @returns {(number|null)}
+ */
+createjs.Text.prototype.getMeasuredHeight = function () { return 0; }
+
+/**
+ * @returns {(number|null)}
+ */
+createjs.Text.prototype.getMeasuredLineHeight = function () { return 0; }
+
+/**
+ * @returns {(number|null)}
+ */
+createjs.Text.prototype.getMeasuredWidth = function () { return 0; }
+
+/**
+ * @returns {(Object|null)}
+ */
+createjs.Text.prototype.getMetrics = function () { return null; }
+
+
+/**
+ * @constructor
+ */
+createjs.Ticker = function () {}
+
+/**
+ */
+createjs.Ticker._getTime = function () { }
+
+/**
+ */
+createjs.Ticker._handleRAF = function () { }
+
+/**
+ */
+createjs.Ticker._handleTimeout = function () { }
+
+/**
+ */
+createjs.Ticker._handleSynch = function () { }
+
+/**
+ */
+createjs.Ticker._setupTick = function () { }
+
+/**
+ */
+createjs.Ticker._tick = function () { }
+
+/**
+ */
+createjs.Ticker.addEventListener = function (type, handler) { }
+
+/**
+ * @param {Boolean} runTime
+ * @returns {number}
+ */
+createjs.Ticker.getEventTime = function (runTime) { return 0; }
+
+/**
+ * @returns {(number|null)}
+ */
+createjs.Ticker.getFPS = function () { return 0; }
+
+/**
+ * @returns {(number|null)}
+ */
+createjs.Ticker.getInterval = function () { return 0; }
+
+/**
+ * @param {number=} opt_ticks
+ * @returns {(number|null)}
+ */
+createjs.Ticker.getMeasuredFPS = function (opt_ticks) { return 0; }
+
+/**
+ * @param {number=} opt_ticks
+ * @returns {(number|null)}
+ */
+createjs.Ticker.getMeasuredTickTime = function (opt_ticks) { return 0; }
+
+/**
+ * @returns {(boolean|null)}
+ */
+createjs.Ticker.getPaused = function () { return null; }
+
+/**
+ * @param {(boolean|null)} pauseable
+ * @returns {(number|null)}
+ */
+createjs.Ticker.getTicks = function (pauseable) { return 0; }
+
+/**
+ * @param {boolean=} opt_runTime
+ * @returns {(number|null)}
+ */
+createjs.Ticker.getTime = function (opt_runTime) { return 0; }
+
+/**
+ */
+createjs.Ticker.init = function () { }
+
+/**
+ */
+createjs.Ticker.reset = function () { }
+
+/**
+ * @param {(number|null)} value
+ */
+createjs.Ticker.setFPS = function (value) { }
+
+/**
+ * @param {(number|null)} interval
+ */
+createjs.Ticker.setInterval = function (interval) { }
+
+/**
+ * @param {(boolean|null)} value
+ */
+createjs.Ticker.setPaused = function (value) { }
+
+/**
+ * @param {(Array|null)} tweens
+ * @param {(Object|null)} labels
+ * @param {(Object|null)} props
+ * @constructor
+ * @extends createjs.EventDispatcher
+ */
+createjs.Timeline = function (tweens, labels, props) {}
+
+/**
+ * @param {(number|null)} value
+ * @returns {(number|null)}
+ */
+createjs.Timeline.prototype._calcPosition = function (value) { return 0; }
+
+/**
+ * @param {(number|string|null)} positionOrLabel
+ */
+createjs.Timeline.prototype._goto = function (positionOrLabel) { }
+
+/**
+ * @param {(string|null)} label
+ * @param {(number|null)} position
+ */
+createjs.Timeline.prototype.addLabel = function (label, position) { }
+
+/**
+ * @returns {(Tween|null)}
+ */
+createjs.Timeline.prototype.addTween = function (tween) { return null; }
+
+
+/**
+ */
+createjs.Timeline.prototype.clone = function () { }
+
+/**
+ * @returns {(string|null)}
+ */
+createjs.Timeline.prototype.getCurrentLabel = function () { return ''; }
+
+/**
+ * @returns {(Array|null)} Object]}
+ */
+createjs.Timeline.prototype.getLabels = function () { return null; }
+
+/**
+ * @param {(number|string|null)} positionOrLabel
+ */
+createjs.Timeline.prototype.gotoAndPlay = function (positionOrLabel) { }
+
+/**
+ * @param {(number|string|null)} positionOrLabel
+ */
+createjs.Timeline.prototype.gotoAndStop = function (positionOrLabel) { }
+
+/**
+ * @returns {?}
+ */
+createjs.Timeline.prototype.removeTween = function (tween) { return null; }
+
+/**
+ * @param {(number|string|null)} positionOrLabel
+ */
+createjs.Timeline.prototype.resolve = function (positionOrLabel) { }
+
+/**
+ * @param {(Object|null)} o
+ */
+createjs.Timeline.prototype.setLabels = function (o) { }
+
+/**
+ * @param {(boolean|null)} value
+ */
+createjs.Timeline.prototype.setPaused = function (value) { }
+
+/**
+ * @param {(number|null)} value
+ * @param {number=} opt_actionsMode
+ * @returns {(boolean|null)}
+ */
+createjs.Timeline.prototype.setPosition = function (value, opt_actionsMode) { return null; }
+
+/**
+ * @param {(number|null)} delta
+ */
+createjs.Timeline.prototype.tick = function (delta) { }
+
+/**
+ */
+createjs.Timeline.prototype.updateDuration = function () { }
+
+/**
+ * @param {(Object|null)} target
+ * @param {Object=} opt_props
+ * @param {Object=} opt_pluginData
+ * @constructor
+ * @extends createjs.EventDispatcher
+ */
+createjs.Tween = function (target, opt_props, opt_pluginData) {}
+
+/**
+ * @param {(Object|null)} o
+ */
+createjs.Tween.prototype._addAction = function (o) { }
+
+/**
+ * @param {(Object|null)} o
+ */
+createjs.Tween.prototype._addStep = function (o) { }
+
+/**
+ * @param {(Object|null)} o
+ */
+createjs.Tween.prototype._appendQueueProps = function (o) { }
+
+/**
+ * @param {(Object|null)} props
+ */
+createjs.Tween.prototype._cloneProps = function (props) { }
+
+/**
+ * @param {(Tween|null)} tween
+ * @param {(boolean|null)} value
+ */
+createjs.Tween._register = function (tween, value) { }
+
+/**
+ * @param {(number|null)} startPos
+ * @param {(number|null)} endPos
+ * @param {(boolean|null)} includeStart
+ */
+createjs.Tween.prototype._runActions = function (startPos, endPos, includeStart) { }
+
+/**
+ * @param {(Object|null)} props
+ * @param {(Object|null)} o
+ */
+createjs.Tween.prototype._set = function (props, o) { }
+
+/**
+ * @param {(Object|null)} step
+ * @param {(number|null)} ratio
+ */
+createjs.Tween.prototype._updateTargetProps = function (step, ratio) { }
+
+/**
+ * @param {(Function|null)} callback
+ * @param {Array=} opt_params
+ * @param {Object=} opt_scope
+ * @returns {(Tween|null)}
+ */
+createjs.Tween.prototype.call = function (callback, opt_params, opt_scope) { return null; }
+
+/**
+ */
+createjs.Tween.prototype.clone = function () { }
+
+/**
+ * @param {(Object|null)} target
+ * @param {Object=} opt_props
+ * @param {Object=} opt_pluginData
+ * @param {boolean=} opt_override
+ * @returns {(Tween|null)}
+ */
+createjs.Tween.get = function (target, opt_props, opt_pluginData, opt_override) { return null; }
+
+/**
+ * @param {(Object|null)} event
+ */
+createjs.Tween.handleEvent = function (event) { }
+
+/**
+ * @param {Object=} opt_target
+ * @returns {(boolean|null)}
+ */
+createjs.Tween.hasActiveTweens = function (opt_target) { return null; }
+
+/**
+ * @param {(Object|null)} plugin
+ * @param {(Array|null)} properties
+ */
+createjs.Tween.installPlugin = function (plugin, properties) { }
+
+/**
+ * @param {(Tween|null)} tween
+ * @returns {(Tween|null)}
+ */
+createjs.Tween.prototype.pause = function (tween) { return null; }
+
+/**
+ * @param {(Tween|null)} tween
+ * @returns {(Tween|null)}
+ */
+createjs.Tween.prototype.play = function (tween) { return null; }
+
+/**
+ */
+createjs.Tween.removeAllTweens = function () { }
+
+/**
+ * @param {(Object|null)} target
+ */
+createjs.Tween.removeTweens = function (target) { }
+
+/**
+ * @param {(Object|null)} props
+ * @param {Object=} opt_target
+ * @returns {(Tween|null)}
+ */
+createjs.Tween.prototype.set = function (props, opt_target) { return null; }
+
+/**
+ * @param {boolean=} opt_value
+ * @returns {(Tween|null)}
+ */
+createjs.Tween.prototype.setPaused = function (opt_value) { return null; }
+
+/**
+ * @param {(number|null)} value
+ * @param {number=} opt_actionsMode
+ * @returns {(boolean|null)}
+ */
+createjs.Tween.prototype.setPosition = function (value, opt_actionsMode) { return null; }
+
+/**
+ * @param {(number|null)} delta
+ * @param {(boolean|null)} paused
+ */
+createjs.Tween.tick = function (delta, paused) { }
+
+/**
+ * @param {(number|null)} delta
+ */
+createjs.Tween.prototype.tick = function (delta) { }
+
+/**
+ * @param {(Object|null)} props
+ * @param {number=} opt_duration
+ * @param {Function=} opt_ease
+ * @returns {(Tween|null)}
+ */
+createjs.Tween.prototype.to = function (props, opt_duration, opt_ease) { return null; }
+
+/**
+ * @param {(number|null)} duration
+ * @param {boolean=} opt_passive
+ * @returns {(Tween|null)}
+ */
+createjs.Tween.prototype.wait = function (duration, opt_passive) { return null; }
+
+/**
+ * @constructor
+ * @static
+ **/
+createjs.UID = function() {
+}
+
+
+/**
+ * @return {number}
+ **/
+createjs.UID.get = function() {
+};
[20/36] flex-typedefs git commit: get rid of warnings by eliminating
some files that don't convert to externs format via the make_patch target
Posted by ah...@apache.org.
http://git-wip-us.apache.org/repos/asf/flex-typedefs/blob/15115f26/createjs/src/main/patch/tweenjs.patch
----------------------------------------------------------------------
diff --git a/createjs/src/main/patch/tweenjs.patch b/createjs/src/main/patch/tweenjs.patch
index 9401dde..2b2140c 100644
--- a/createjs/src/main/patch/tweenjs.patch
+++ b/createjs/src/main/patch/tweenjs.patch
@@ -1,19 +1,4 @@
- Licensed to the Apache Software Foundation (ASF) under one or more
- contributor license agreements. See the NOTICE file distributed with
- this work for additional information regarding copyright ownership.
- The ASF licenses this file to You under the Apache License, Version 2.0
- (the "License"); you may not use this file except in compliance with
- the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
-
Generated from Ant script
diff --git a/createjs/target/downloads/TweenJS-0.6.2/src/tweenjs/CSSPlugin.js b/createjs/target/downloads/TweenJS-0.6.2/src/tweenjs/CSSPlugin.js
index 52e0206..0fe6341 100644
@@ -1062,10 +1047,10 @@ index 371baa7..4bfca8c 100644
+
+
diff --git a/createjs/target/downloads/TweenJS-0.6.2/src/tweenjs/Timeline.js b/createjs/target/downloads/TweenJS-0.6.2/src/tweenjs/Timeline.js
-index 5546bc2..e65320d 100644
+index 5546bc2..1b86359 100644
--- a/createjs/target/downloads/TweenJS-0.6.2/src/tweenjs/Timeline.js
+++ b/createjs/target/downloads/TweenJS-0.6.2/src/tweenjs/Timeline.js
-@@ -1,444 +1,154 @@
+@@ -1,444 +1,155 @@
-/*
-* Timeline
-* Visit http://createjs.com/ for documentation, updates and examples.
@@ -1094,11 +1079,12 @@ index 5546bc2..e65320d 100644
-* OTHER DEALINGS IN THE SOFTWARE.
-*/
-
+-/**
+- * @module TweenJS
+/** @fileoverview Auto-generated Externs files
+ * @externs
-+ */
- /**
-- * @module TweenJS
+ */
++/**
+ * The Timeline class synchronizes multiple tweens and allows them to be controlled as a group. Please note that if a
+ * timeline is looping, the tweens on it may appear to loop even if the "loop" property of the tween is false.
+ *
@@ -1108,146 +1094,6 @@ index 5546bc2..e65320d 100644
+ * @param {(Object|null)} props The configuration properties to apply to this tween instance (ex. `{loop:true}`). All properties default to false. Supported props are:<UL> <LI> loop: sets the loop property on this tween.</LI> <LI> useTicks: uses ticks for all durations instead of milliseconds.</LI> <LI> ignoreGlobalPause: sets the ignoreGlobalPause property on this tween.</LI> <LI> paused: indicates whether to start the tween paused.</LI> <LI> position: indicates the initial position for this timeline.</LI> <LI> onChange: specifies a listener to add for the {{#crossLink "Timeline/change:event"}}{{/crossLink}} event.</LI> </UL>
+ * @constructor
+ * @extends createjs.EventDispatcher
- */
-+createjs.Timeline = function (tweens, labels, props) {}
-+
-+ /**
-+ * @see [Timeline]
-+ */
-+createjs.Timeline.prototype.clone = function () { }
-+
-+ /**
-+ * If a numeric position is passed, it is returned unchanged. If a string is passed, the position of the
-+ * corresponding frame label will be returned, or `null` if a matching label is not defined.
-+ *
-+ * @param {(number|string|null)} positionOrLabel A numeric position value or label string.
-+ * @see [Timeline]
-+ */
-+createjs.Timeline.prototype.resolve = function (positionOrLabel) { }
-+
-+ /**
-+ * Adds a label that can be used with {{#crossLink "Timeline/gotoAndPlay"}}{{/crossLink}}/{{#crossLink "Timeline/gotoAndStop"}}{{/crossLink}}.
-+ *
-+ * @param {(string|null)} label The label name.
-+ * @param {(number|null)} position The position this label represents.
-+ * @see [Timeline]
-+ */
-+createjs.Timeline.prototype.addLabel = function (label, position) { }
-+
-+ /**
-+ * @param {(number|null)} value
-+ * @see [Timeline]
-+ * @returns {(number|null)}
-+ */
-+createjs.Timeline.prototype._calcPosition = function (value) { return 0; }
-+
-+ /**
-+ * Pauses this timeline and jumps to the specified position or label.
-+ *
-+ * @param {(number|string|null)} positionOrLabel The position in milliseconds (or ticks if `useTicks` is `true`) or label to jump to.
-+ * @see [Timeline]
-+ */
-+createjs.Timeline.prototype.gotoAndStop = function (positionOrLabel) { }
-+
-+ /**
-+ * Removes one or more tweens from this timeline.
-+ *
-+ * @see [Timeline]
-+ * @returns {?} Boolean Returns `true` if all of the tweens were successfully removed.
-+ */
-+createjs.Timeline.prototype.removeTween = function (tween) { return null; }
-+
-+ /**
-+ * Returns the name of the label on or immediately before the current position. For example, given a timeline with
-+ * two labels, "first" on frame index 4, and "second" on frame 8, getCurrentLabel would return:
-+ * <UL>
-+ * <LI>null if the current position is 2.</LI>
-+ * <LI>"first" if the current position is 4.</LI>
-+ * <LI>"first" if the current position is 7.</LI>
-+ * <LI>"second" if the current position is 15.</LI>
-+ * </UL>
-+ *
-+ * @see [Timeline]
-+ * @returns {(string|null)} The name of the current label or null if there is no label
-+ */
-+createjs.Timeline.prototype.getCurrentLabel = function () { return ''; }
-+
-+ /**
-+ * Advances the timeline to the specified position.
-+ *
-+ * @param {(number|null)} value The position to seek to in milliseconds (or ticks if `useTicks` is `true`).
-+ * @param {number=} opt_actionsMode parameter specifying how actions are handled. See the Tween {{#crossLink "Tween/setPosition"}}{{/crossLink}} method for more details.
-+ * @see [Timeline]
-+ * @returns {(boolean|null)} Returns `true` if the timeline is complete (ie. the full timeline has run & {{#crossLink "Timeline/loop:property"}}{{/crossLink}} is `false`).
-+ */
-+createjs.Timeline.prototype.setPosition = function (value, opt_actionsMode) { return null; }
-+
-+ /**
-+ * Pauses or plays this timeline.
-+ *
-+ * @param {(boolean|null)} value Indicates whether the tween should be paused (`true`) or played (`false`).
-+ * @see [Timeline]
-+ */
-+createjs.Timeline.prototype.setPaused = function (value) { }
-+
-+ /**
-+ * Advances this timeline by the specified amount of time in milliseconds (or ticks if `useTicks` is `true`).
-+ * This is normally called automatically by the Tween engine (via the {{#crossLink "Tween/tick:event"}}{{/crossLink}}
-+ * event), but is exposed for advanced uses.
-+ *
-+ * @param {(number|null)} delta The time to advance in milliseconds (or ticks if useTicks is true).
-+ * @see [Timeline]
-+ */
-+createjs.Timeline.prototype.tick = function (delta) { }
-+
-+ /**
-+ * @param {(number|string|null)} positionOrLabel
-+ * @see [Timeline]
-+ */
-+createjs.Timeline.prototype._goto = function (positionOrLabel) { }
-+
-+ /**
-+ * Returns a sorted list of the labels defined on this timeline.
-+ *
-+ * @see [Timeline]
-+ * @returns {(Array|null)} Object]} A sorted array of objects with label and position properties.
-+ */
-+createjs.Timeline.prototype.getLabels = function () { return null; }
-+
-+ /**
-+ * Recalculates the duration of the timeline. The duration is automatically updated when tweens are added or removed,
-+ * but this method is useful if you modify a tween after it was added to the timeline.
-+ *
-+ * @see [Timeline]
-+ */
-+createjs.Timeline.prototype.updateDuration = function () { }
-+
-+ /**
-+ * Adds one or more tweens (or timelines) to this timeline. The tweens will be paused (to remove them from the
-+ * normal ticking system) and managed by this timeline. Adding a tween to multiple timelines will result in
-+ * unexpected behaviour.
-+ *
-+ * @see [Timeline]
-+ * @returns {(Tween|null)} The first tween that was passed in.
-+ */
-+createjs.Timeline.prototype.addTween = function (tween) { return null; }
-+
-+
-+ /**
-+ * Defines labels for use with gotoAndPlay/Stop. Overwrites any previously set labels.
-+ *
-+ * @param {(Object|null)} o An object defining labels for using {{#crossLink "Timeline/gotoAndPlay"}}{{/crossLink}}/{{#crossLink "Timeline/gotoAndStop"}}{{/crossLink}} in the form `{labelName:time}` where time is in milliseconds (or ticks if `useTicks` is `true`).
-+ * @see [Timeline]
-+ */
-+createjs.Timeline.prototype.setLabels = function (o) { }
-+
-+ /**
-+ * Unpauses this timeline and jumps to the specified position or label.
-+ *
-+ * @param {(number|string|null)} positionOrLabel The position in milliseconds (or ticks if `useTicks` is `true`) or label to jump to.
-+ * @see [Timeline]
-+ */
-+createjs.Timeline.prototype.gotoAndPlay = function (positionOrLabel) { }
-// namespace:
-this.createjs = this.createjs||{};
@@ -1659,360 +1505,252 @@ index 5546bc2..e65320d 100644
- };
-
- createjs.Timeline = createjs.promote(Timeline, "EventDispatcher");
--
--}());
-diff --git a/createjs/target/downloads/TweenJS-0.6.2/src/tweenjs/Tween.js b/createjs/target/downloads/TweenJS-0.6.2/src/tweenjs/Tween.js
-index 8945830..0cfda90 100644
---- a/createjs/target/downloads/TweenJS-0.6.2/src/tweenjs/Tween.js
-+++ b/createjs/target/downloads/TweenJS-0.6.2/src/tweenjs/Tween.js
-@@ -1,941 +1,283 @@
--/*
--* Tween
--* Visit http://createjs.com/ for documentation, updates and examples.
--*
--* Copyright (c) 2010 gskinner.com, inc.
--*
--* Permission is hereby granted, free of charge, to any person
--* obtaining a copy of this software and associated documentation
--* files (the "Software"), to deal in the Software without
--* restriction, including without limitation the rights to use,
--* copy, modify, merge, publish, distribute, sublicense, and/or sell
--* copies of the Software, and to permit persons to whom the
--* Software is furnished to do so, subject to the following
--* conditions:
--*
--* The above copyright notice and this permission notice shall be
--* included in all copies or substantial portions of the Software.
--*
--* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
--* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
--* OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
--* NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
--* HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
--* WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
--* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
--* OTHER DEALINGS IN THE SOFTWARE.
--*/
--
-+/** @fileoverview Auto-generated Externs files
-+ * @externs
+ */
- /**
-- * The TweenJS Javascript library provides a simple but powerful tweening interface. It supports tweening of both
-- * numeric object properties & CSS style properties, and allows you to chain tweens and actions together to create
-- * complex sequences.
-- *
-- * <h4>Simple Tween</h4>
-- * This tween will tween the target's alpha property from 0 to 1 for 1s then call the <code>handleComplete</code> function.
-- *
-- * target.alpha = 0;
-- * createjs.Tween.get(target).to({alpha:1}, 1000).call(handleComplete);
-- * function handleComplete() {
-- * //Tween complete
-- * }
-- *
-- * <strong>Arguments and Scope</strong>
-- * Tween also supports a `call()` with arguments and/or a scope. If no scope is passed, then the function is called
-- * anonymously (normal JavaScript behaviour). The scope is useful for maintaining scope when doing object-oriented
-- * style development.
-- *
-- * createjs.Tween.get(target).to({alpha:0})
-- * .call(handleComplete, [argument1, argument2], this);
-- *
-- * <h4>Chainable Tween</h4>
-- * This tween will wait 0.5s, tween the target's alpha property to 0 over 1s, set it's visible to false, then call the
-- * <code>handleComplete</code> function.
-- *
-- * target.alpha = 1;
-- * createjs.Tween.get(target).wait(500).to({alpha:0, visible:false}, 1000).call(handleComplete);
-- * function handleComplete() {
-- * //Tween complete
-- * }
-- *
-- * <h4>Browser Support</h4>
-- * TweenJS will work in modern browsers. To use TweenJS with IE8 and earlier, use an older version of PreloadJS
-- * (version 0.4.1 and earlier).
-+ * A Tween instance tweens properties for a single target. Instance methods can be chained for easy construction and sequencing:
-+ *
-+ * <h4>Example</h4>
-+ *
-+ * target.alpha = 1;
-+ * createjs.createjs.Tween.get(target)
-+ * .wait(500)
-+ * .to({alpha:0, visible:false}, 1000)
-+ * .call(handleComplete);
-+ * function handleComplete() {
-+ * //Tween complete
-+ * }
-+ *
-+ * Multiple tweens can point to the same instance, however if they affect the same properties there could be unexpected
-+ * behaviour. To stop all tweens on an object, use {{#crossLink "Tween/removeTweens"}}{{/crossLink}} or pass `override:true`
-+ * in the props argument.
-+ *
-+ * createjs.createjs.Tween.get(target, {override:true}).to({x:100});
-+ *
-+ * Subscribe to the {{#crossLink "Tween/change:event"}}{{/crossLink}} event to get notified when a property of the
-+ * target is changed.
-+ *
-+ * createjs.createjs.Tween.get(target, {override:true}).to({x:100}).addEventListener("change", handleChange);
-+ * function handleChange(event) {
-+ * // The tween changed.
-+ * }
-+ *
-+ * See the Tween {{#crossLink "Tween/get"}}{{/crossLink}} method for additional param documentation.
- *
-- * @module TweenJS
-- * @main TweenJS
-+ * @see [Tween]
-+ * @param {(Object|null)} target The target object that will have its properties tweened.
-+ * @param {Object=} opt_props The configuration properties to apply to this tween instance (ex. `{loop:true, paused:true}`. All properties default to false. Supported props are:<UL> <LI> loop: sets the loop property on this tween.</LI> <LI> useTicks: uses ticks for all durations instead of milliseconds.</LI> <LI> ignoreGlobalPause: sets the {{#crossLink "Tween/ignoreGlobalPause:property"}}{{/crossLink}} property on this tween.</LI> <LI> override: if true, `createjs.Tween.removeTweens(target)` will be called to remove any other tweens with the same target. <LI> paused: indicates whether to start the tween paused.</LI> <LI> position: indicates the initial position for this tween.</LI> <LI> onChange: specifies a listener for the "change" event.</LI> </UL>
-+ * @param {Object=} opt_pluginData An object containing data for use by installed plugins. See individual plugins' documentation for details.
-+ * @constructor
-+ * @extends createjs.EventDispatcher
- */
-+createjs.Tween = function (target, opt_props, opt_pluginData) {}
++createjs.Timeline = function (tweens, labels, props) {}
+
+ /**
-+ * Advances all tweens. This typically uses the {{#crossLink "Ticker"}}{{/crossLink}} class, but you can call it
-+ * manually if you prefer to use your own "heartbeat" implementation.
-+ *
-+ * @param {(number|null)} delta The change in time in milliseconds since the last tick. Required unless all tweens have `useTicks` set to true.
-+ * @param {(boolean|null)} paused Indicates whether a global pause is in effect. Tweens with {{#crossLink "Tween/ignoreGlobalPause:property"}}{{/crossLink}} will ignore this, but all others will pause if this is `true`.
-+ * @see [Tween]
++ * @see [Timeline]
+ */
-+createjs.Tween.tick = function (delta, paused) { }
++createjs.Timeline.prototype.clone = function () { }
+
+ /**
-+ * Stop and remove all existing tweens.
++ * If a numeric position is passed, it is returned unchanged. If a string is passed, the position of the
++ * corresponding frame label will be returned, or `null` if a matching label is not defined.
+ *
-+ * @see [Tween]
++ * @param {(number|string|null)} positionOrLabel A numeric position value or label string.
++ * @see [Timeline]
+ */
-+createjs.Tween.removeAllTweens = function () { }
++createjs.Timeline.prototype.resolve = function (positionOrLabel) { }
+
+ /**
-+ * Returns a new tween instance. This is functionally identical to using "new Tween(...)", but looks cleaner
-+ * with the chained syntax of TweenJS.
-+ * <h4>Example</h4>
-+ *
-+ * var tween = createjs.createjs.Tween.get(target);
++ * Adds a label that can be used with {{#crossLink "Timeline/gotoAndPlay"}}{{/crossLink}}/{{#crossLink "Timeline/gotoAndStop"}}{{/crossLink}}.
+ *
-+ * @param {(Object|null)} target The target object that will have its properties tweened.
-+ * @param {Object=} opt_props The configuration properties to apply to this tween instance (ex. `{loop:true, paused:true}`). All properties default to `false`. Supported props are: <UL> <LI> loop: sets the loop property on this tween.</LI> <LI> useTicks: uses ticks for all durations instead of milliseconds.</LI> <LI> ignoreGlobalPause: sets the {{#crossLink "Tween/ignoreGlobalPause:property"}}{{/crossLink}} property on this tween.</LI> <LI> override: if true, `createjs.createjs.Tween.removeTweens(target)` will be called to remove any other tweens with the same target. <LI> paused: indicates whether to start the tween paused.</LI> <LI> position: indicates the initial position for this tween.</LI> <LI> onChange: specifies a listener for the {{#crossLink "Tween/change:event"}}{{/crossLink}} event.</LI> </UL>
-+ * @param {Object=} opt_pluginData An object containing data for use by installed plugins. See individual plugins' documentation for details.
-+ * @param {boolean=} opt_override If true, any previous tweens on the same target will be removed. This is the same as calling `createjs.Tween.removeTweens(target)`.
-+ * @see [Tween]
-+ * @returns {(Tween|null)} A reference to the created tween. Additional chained tweens, method calls, or callbacks can be applied to the returned tween instance.
++ * @param {(string|null)} label The label name.
++ * @param {(number|null)} position The position this label represents.
++ * @see [Timeline]
+ */
-+createjs.Tween.get = function (target, opt_props, opt_pluginData, opt_override) { return null; }
++createjs.Timeline.prototype.addLabel = function (label, position) { }
+
+ /**
-+ * Handle events that result from Tween being used as an event handler. This is included to allow Tween to handle
-+ * {{#crossLink "Ticker/tick:event"}}{{/crossLink}} events from the createjs {{#crossLink "Ticker"}}{{/crossLink}}.
-+ * No other events are handled in createjs.Tween.
-+ *
-+ * @param {(Object|null)} event An event object passed in by the {{#crossLink "EventDispatcher"}}{{/crossLink}}. Will usually be of type "tick".
-+ * @see [Tween]
++ * @param {(number|null)} value
++ * @see [Timeline]
++ * @returns {(number|null)}
+ */
-+createjs.Tween.handleEvent = function (event) { }
++createjs.Timeline.prototype._calcPosition = function (value) { return 0; }
+
+ /**
-+ * Indicates whether there are any active tweens (and how many) on the target object (if specified) or in general.
++ * Pauses this timeline and jumps to the specified position or label.
+ *
-+ * @param {Object=} opt_target The target to check for active tweens. If not specified, the return value will indicate if there are any active tweens on any target.
-+ * @see [Tween]
-+ * @returns {(boolean|null)} If there are active tweens.
++ * @param {(number|string|null)} positionOrLabel The position in milliseconds (or ticks if `useTicks` is `true`) or label to jump to.
++ * @see [Timeline]
+ */
-+createjs.Tween.hasActiveTweens = function (opt_target) { return null; }
++createjs.Timeline.prototype.gotoAndStop = function (positionOrLabel) { }
+
+ /**
-+ * Installs a plugin, which can modify how certain properties are handled when tweened. See the {{#crossLink "CSSPlugin"}}{{/crossLink}}
-+ * for an example of how to write TweenJS plugins.
++ * Removes one or more tweens from this timeline.
+ *
-+ * @param {(Object|null)} plugin The plugin class to install
-+ * @param {(Array|null)} properties An array of properties that the plugin will handle.
-+ * @see [Tween]
++ * @see [Timeline]
++ * @returns {?} Boolean Returns `true` if all of the tweens were successfully removed.
+ */
-+createjs.Tween.installPlugin = function (plugin, properties) { }
++createjs.Timeline.prototype.removeTween = function (tween) { return null; }
+
+ /**
-+ * Removes all existing tweens for a target. This is called automatically by new tweens if the `override`
-+ * property is `true`.
++ * Returns the name of the label on or immediately before the current position. For example, given a timeline with
++ * two labels, "first" on frame index 4, and "second" on frame 8, getCurrentLabel would return:
++ * <UL>
++ * <LI>null if the current position is 2.</LI>
++ * <LI>"first" if the current position is 4.</LI>
++ * <LI>"first" if the current position is 7.</LI>
++ * <LI>"second" if the current position is 15.</LI>
++ * </UL>
+ *
-+ * @param {(Object|null)} target The target object to remove existing tweens from.
-+ * @see [Tween]
++ * @see [Timeline]
++ * @returns {(string|null)} The name of the current label or null if there is no label
+ */
-+createjs.Tween.removeTweens = function (target) { }
++createjs.Timeline.prototype.getCurrentLabel = function () { return ''; }
+
+ /**
-+ * Registers or unregisters a tween with the ticking system.
++ * Advances the timeline to the specified position.
+ *
-+ * @param {(Tween|null)} tween The tween instance to register or unregister.
-+ * @param {(boolean|null)} value If `true`, the tween is registered. If `false` the tween is unregistered.
-+ * @see [Tween]
-+ */
-+createjs.Tween._register = function (tween, value) { }
-+
-+ /**
-+ * @param {(Object|null)} o
-+ * @see [Tween]
++ * @param {(number|null)} value The position to seek to in milliseconds (or ticks if `useTicks` is `true`).
++ * @param {number=} opt_actionsMode parameter specifying how actions are handled. See the Tween {{#crossLink "Tween/setPosition"}}{{/crossLink}} method for more details.
++ * @see [Timeline]
++ * @returns {(boolean|null)} Returns `true` if the timeline is complete (ie. the full timeline has run & {{#crossLink "Timeline/loop:property"}}{{/crossLink}} is `false`).
+ */
-+createjs.Tween.prototype._addAction = function (o) { }
++createjs.Timeline.prototype.setPosition = function (value, opt_actionsMode) { return null; }
+
+ /**
-+ * Queues a tween from the current values to the target properties. Set duration to 0 to jump to these value.
-+ * Numeric properties will be tweened from their current value in the tween to the target value. Non-numeric
-+ * properties will be set at the end of the specified duration.
-+ * <h4>Example</h4>
-+ *
-+ * createjs.createjs.Tween.get(target).to({alpha:0}, 1000);
++ * Pauses or plays this timeline.
+ *
-+ * @param {(Object|null)} props An object specifying property target values for this tween (Ex. `{x:300}` would tween the x property of the target to 300).
-+ * @param {number=} opt_duration The duration of the wait in milliseconds (or in ticks if `useTicks` is true).
-+ * @param {Function=} opt_ease The easing function to use for this tween. See the {{#crossLink "Ease"}}{{/crossLink}} class for a list of built-in ease functions.
-+ * @see [Tween]
-+ * @returns {(Tween|null)} This tween instance (for chaining calls).
++ * @param {(boolean|null)} value Indicates whether the tween should be paused (`true`) or played (`false`).
++ * @see [Timeline]
+ */
-+createjs.Tween.prototype.to = function (props, opt_duration, opt_ease) { return null; }
++createjs.Timeline.prototype.setPaused = function (value) { }
+
+ /**
-+ * Queues an action to call the specified function.
-+ * <h4>Example</h4>
-+ *
-+ * //would call myFunction() after 1 second.
-+ * mycreatejs.Tween.wait(1000).call(myFunction);
++ * Advances this timeline by the specified amount of time in milliseconds (or ticks if `useTicks` is `true`).
++ * This is normally called automatically by the Tween engine (via the {{#crossLink "Tween/tick:event"}}{{/crossLink}}
++ * event), but is exposed for advanced uses.
+ *
-+ * @param {(Function|null)} callback The function to call.
-+ * @param {Array=} opt_params . The parameters to call the function with. If this is omitted, then the function will be called with a single param pointing to this tween.
-+ * @param {Object=} opt_scope . The scope to call the function in. If omitted, it will be called in the target's scope.
-+ * @see [Tween]
-+ * @returns {(Tween|null)} This tween instance (for chaining calls).
-+ */
-+createjs.Tween.prototype.call = function (callback, opt_params, opt_scope) { return null; }
-+
-+ /**
-+ * @see [Tween]
-+ */
-+createjs.Tween.prototype.clone = function () { }
-+
-+ /**
-+ * @param {(Object|null)} o
-+ * @see [Tween]
-+ */
-+createjs.Tween.prototype._appendQueueProps = function (o) { }
-+
-+ /**
-+ * @param {(number|null)} startPos
-+ * @param {(number|null)} endPos
-+ * @param {(boolean|null)} includeStart
-+ * @see [Tween]
++ * @param {(number|null)} delta The time to advance in milliseconds (or ticks if useTicks is true).
++ * @see [Timeline]
+ */
-+createjs.Tween.prototype._runActions = function (startPos, endPos, includeStart) { }
++createjs.Timeline.prototype.tick = function (delta) { }
+
+ /**
-+ * Queues an action to set the specified props on the specified target. If target is null, it will use this tween's
-+ * target.
-+ * <h4>Example</h4>
-+ *
-+ * mycreatejs.Tween.wait(1000).set({visible:false},foo);
-+ *
-+ * @param {(Object|null)} props The properties to set (ex. `{visible:false}`).
-+ * @param {Object=} opt_target The target to set the properties on. If omitted, they will be set on the tween's target.
-+ * @see [Tween]
-+ * @returns {(Tween|null)} This tween instance (for chaining calls).
++ * @param {(number|string|null)} positionOrLabel
++ * @see [Timeline]
+ */
-+createjs.Tween.prototype.set = function (props, opt_target) { return null; }
++createjs.Timeline.prototype._goto = function (positionOrLabel) { }
+
+ /**
-+ * Queues an action to play (unpause) the specified tween. This enables you to sequence multiple tweens.
-+ * <h4>Example</h4>
-+ *
-+ * mycreatejs.Tween.to({x:100},500).play(otherTween);
++ * Returns a sorted list of the labels defined on this timeline.
+ *
-+ * @param {(Tween|null)} tween The tween to play.
-+ * @see [Tween]
-+ * @returns {(Tween|null)} This tween instance (for chaining calls).
++ * @see [Timeline]
++ * @returns {(Array|null)} Object]} A sorted array of objects with label and position properties.
+ */
-+createjs.Tween.prototype.play = function (tween) { return null; }
++createjs.Timeline.prototype.getLabels = function () { return null; }
+
+ /**
-+ * Advances the tween to a specified position.
++ * Recalculates the duration of the timeline. The duration is automatically updated when tweens are added or removed,
++ * but this method is useful if you modify a tween after it was added to the timeline.
+ *
-+ * @param {(number|null)} value The position to seek to in milliseconds (or ticks if useTicks is true).
-+ * @param {number=} opt_actionsMode Specifies how actions are handled (ie. call, set, play, pause): <ul> <li>{{#crossLink "Tween/NONE:property"}}{{/crossLink}} (0) - run no actions.</li> <li>{{#crossLink "Tween/LOOP:property"}}{{/crossLink}} (1) - if new position is less than old, then run all actions between old and duration, then all actions between 0 and new.</li> <li>{{#crossLink "Tween/REVERSE:property"}}{{/crossLink}} (2) - if new position is less than old, run all actions between them in reverse.</li> </ul>
-+ * @see [Tween]
-+ * @returns {(boolean|null)} Returns `true` if the tween is complete (ie. the full tween has run & {{#crossLink "Tween/loop:property"}}{{/crossLink}} is `false`).
-+ */
-+createjs.Tween.prototype.setPosition = function (value, opt_actionsMode) { return null; }
-+
-+ /**
-+ * @param {(Object|null)} props
-+ * @param {(Object|null)} o
-+ * @see [Tween]
++ * @see [Timeline]
+ */
-+createjs.Tween.prototype._set = function (props, o) { }
++createjs.Timeline.prototype.updateDuration = function () { }
+
+ /**
-+ * Queues a wait (essentially an empty tween).
-+ * <h4>Example</h4>
-+ *
-+ * //This tween will wait 1s before alpha is faded to 0.
-+ * createjs.createjs.Tween.get(target).wait(1000).to({alpha:0}, 1000);
++ * Adds one or more tweens (or timelines) to this timeline. The tweens will be paused (to remove them from the
++ * normal ticking system) and managed by this timeline. Adding a tween to multiple timelines will result in
++ * unexpected behaviour.
+ *
-+ * @param {(number|null)} duration The duration of the wait in milliseconds (or in ticks if `useTicks` is true).
-+ * @param {boolean=} opt_passive Tween properties will not be updated during a passive wait. This is mostly useful for use with {{#crossLink "Timeline"}}{{/crossLink}} instances that contain multiple tweens affecting the same target at different times.
-+ * @see [Tween]
-+ * @returns {(Tween|null)} This tween instance (for chaining calls).
++ * @see [Timeline]
++ * @returns {(Tween|null)} The first tween that was passed in.
+ */
-+createjs.Tween.prototype.wait = function (duration, opt_passive) { return null; }
++createjs.Timeline.prototype.addTween = function (tween) { return null; }
+
-+ /**
-+ * Pauses or plays this tween.
-+ *
-+ * @param {boolean=} opt_value Indicates whether the tween should be paused (`true`) or played (`false`).
-+ * @see [Tween]
-+ * @returns {(Tween|null)} This tween instance (for chaining calls)
-+ */
-+createjs.Tween.prototype.setPaused = function (opt_value) { return null; }
+
+ /**
-+ * Queues an action to pause the specified tween.
++ * Defines labels for use with gotoAndPlay/Stop. Overwrites any previously set labels.
+ *
-+ * @param {(Tween|null)} tween The tween to pause. If null, it pauses this tween.
-+ * @see [Tween]
-+ * @returns {(Tween|null)} This tween instance (for chaining calls)
-+ */
-+createjs.Tween.prototype.pause = function (tween) { return null; }
-+
-+ /**
-+ * @param {(Object|null)} step
-+ * @param {(number|null)} ratio
-+ * @see [Tween]
++ * @param {(Object|null)} o An object defining labels for using {{#crossLink "Timeline/gotoAndPlay"}}{{/crossLink}}/{{#crossLink "Timeline/gotoAndStop"}}{{/crossLink}} in the form `{labelName:time}` where time is in milliseconds (or ticks if `useTicks` is `true`).
++ * @see [Timeline]
+ */
-+createjs.Tween.prototype._updateTargetProps = function (step, ratio) { }
++createjs.Timeline.prototype.setLabels = function (o) { }
+
+ /**
-+ * Advances this tween by the specified amount of time in milliseconds (or ticks if`useTicks` is `true`).
-+ * This is normally called automatically by the Tween engine (via {{#crossLink "Tween/tick"}}{{/crossLink}}), but is
-+ * exposed for advanced uses.
++ * Unpauses this timeline and jumps to the specified position or label.
+ *
-+ * @param {(number|null)} delta The time to advance in milliseconds (or ticks if `useTicks` is `true`).
-+ * @see [Tween]
-+ */
-+createjs.Tween.prototype.tick = function (delta) { }
-+
-+ /**
-+ * @param {(Object|null)} props
-+ * @see [Tween]
-+ */
-+createjs.Tween.prototype._cloneProps = function (props) { }
-+
-+
-+ /**
-+ * @param {(Object|null)} o
-+ * @see [Tween]
++ * @param {(number|string|null)} positionOrLabel The position in milliseconds (or ticks if `useTicks` is `true`) or label to jump to.
++ * @see [Timeline]
+ */
-+createjs.Tween.prototype._addStep = function (o) { }
++createjs.Timeline.prototype.gotoAndPlay = function (positionOrLabel) { }
+-}());
+diff --git a/createjs/target/downloads/TweenJS-0.6.2/src/tweenjs/Tween.js b/createjs/target/downloads/TweenJS-0.6.2/src/tweenjs/Tween.js
+index 8945830..2440fe4 100644
+--- a/createjs/target/downloads/TweenJS-0.6.2/src/tweenjs/Tween.js
++++ b/createjs/target/downloads/TweenJS-0.6.2/src/tweenjs/Tween.js
+@@ -1,941 +1,284 @@
+-/*
+-* Tween
+-* Visit http://createjs.com/ for documentation, updates and examples.
+-*
+-* Copyright (c) 2010 gskinner.com, inc.
+-*
+-* Permission is hereby granted, free of charge, to any person
+-* obtaining a copy of this software and associated documentation
+-* files (the "Software"), to deal in the Software without
+-* restriction, including without limitation the rights to use,
+-* copy, modify, merge, publish, distribute, sublicense, and/or sell
+-* copies of the Software, and to permit persons to whom the
+-* Software is furnished to do so, subject to the following
+-* conditions:
+-*
+-* The above copyright notice and this permission notice shall be
+-* included in all copies or substantial portions of the Software.
+-*
+-* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+-* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
+-* OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+-* NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
+-* HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
+-* WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+-* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
+-* OTHER DEALINGS IN THE SOFTWARE.
+-*/
+-
++/** @fileoverview Auto-generated Externs files
++ * @externs
++ */
+ /**
+- * The TweenJS Javascript library provides a simple but powerful tweening interface. It supports tweening of both
+- * numeric object properties & CSS style properties, and allows you to chain tweens and actions together to create
+- * complex sequences.
+- *
+- * <h4>Simple Tween</h4>
+- * This tween will tween the target's alpha property from 0 to 1 for 1s then call the <code>handleComplete</code> function.
+- *
+- * target.alpha = 0;
+- * createjs.Tween.get(target).to({alpha:1}, 1000).call(handleComplete);
+- * function handleComplete() {
+- * //Tween complete
+- * }
+- *
+- * <strong>Arguments and Scope</strong>
+- * Tween also supports a `call()` with arguments and/or a scope. If no scope is passed, then the function is called
+- * anonymously (normal JavaScript behaviour). The scope is useful for maintaining scope when doing object-oriented
+- * style development.
+- *
+- * createjs.Tween.get(target).to({alpha:0})
+- * .call(handleComplete, [argument1, argument2], this);
+- *
+- * <h4>Chainable Tween</h4>
+- * This tween will wait 0.5s, tween the target's alpha property to 0 over 1s, set it's visible to false, then call the
+- * <code>handleComplete</code> function.
+- *
+- * target.alpha = 1;
+- * createjs.Tween.get(target).wait(500).to({alpha:0, visible:false}, 1000).call(handleComplete);
+- * function handleComplete() {
+- * //Tween complete
+- * }
+- *
+- * <h4>Browser Support</h4>
+- * TweenJS will work in modern browsers. To use TweenJS with IE8 and earlier, use an older version of PreloadJS
+- * (version 0.4.1 and earlier).
++ * A Tween instance tweens properties for a single target. Instance methods can be chained for easy construction and sequencing:
++ *
++ * <h4>Example</h4>
++ *
++ * target.alpha = 1;
++ * createjs.createjs.Tween.get(target)
++ * .wait(500)
++ * .to({alpha:0, visible:false}, 1000)
++ * .call(handleComplete);
++ * function handleComplete() {
++ * //Tween complete
++ * }
++ *
++ * Multiple tweens can point to the same instance, however if they affect the same properties there could be unexpected
++ * behaviour. To stop all tweens on an object, use {{#crossLink "Tween/removeTweens"}}{{/crossLink}} or pass `override:true`
++ * in the props argument.
++ *
++ * createjs.createjs.Tween.get(target, {override:true}).to({x:100});
++ *
++ * Subscribe to the {{#crossLink "Tween/change:event"}}{{/crossLink}} event to get notified when a property of the
++ * target is changed.
++ *
++ * createjs.createjs.Tween.get(target, {override:true}).to({x:100}).addEventListener("change", handleChange);
++ * function handleChange(event) {
++ * // The tween changed.
++ * }
++ *
++ * See the Tween {{#crossLink "Tween/get"}}{{/crossLink}} method for additional param documentation.
+ *
+- * @module TweenJS
+- * @main TweenJS
+- */
+-
-// TODO: possibly add a END actionsMode (only runs actions that == position)?
-// TODO: evaluate a way to decouple paused from tick registration.
-
@@ -2460,7 +2198,13 @@ index 8945830..0cfda90 100644
- }
- }
- };
--
++ * @see [Tween]
++ * @param {(Object|null)} target The target object that will have its properties tweened.
++ * @param {Object=} opt_props The configuration properties to apply to this tween instance (ex. `{loop:true, paused:true}`. All properties default to false. Supported props are:<UL> <LI> loop: sets the loop property on this tween.</LI> <LI> useTicks: uses ticks for all durations instead of milliseconds.</LI> <LI> ignoreGlobalPause: sets the {{#crossLink "Tween/ignoreGlobalPause:property"}}{{/crossLink}} property on this tween.</LI> <LI> override: if true, `createjs.Tween.removeTweens(target)` will be called to remove any other tweens with the same target. <LI> paused: indicates whether to start the tween paused.</LI> <LI> position: indicates the initial position for this tween.</LI> <LI> onChange: specifies a listener for the "change" event.</LI> </UL>
++ * @param {Object=} opt_pluginData An object containing data for use by installed plugins. See individual plugins' documentation for details.
++ * @constructor
++ * @extends createjs.EventDispatcher
+
- /**
- * Registers or unregisters a tween with the ticking system.
- * @method _register
@@ -2884,5 +2628,248 @@ index 8945830..0cfda90 100644
- };
-
- createjs.Tween = createjs.promote(Tween, "EventDispatcher");
--
++ */
++createjs.Tween = function (target, opt_props, opt_pluginData) {}
++
++ /**
++ * Advances all tweens. This typically uses the {{#crossLink "Ticker"}}{{/crossLink}} class, but you can call it
++ * manually if you prefer to use your own "heartbeat" implementation.
++ *
++ * @param {(number|null)} delta The change in time in milliseconds since the last tick. Required unless all tweens have `useTicks` set to true.
++ * @param {(boolean|null)} paused Indicates whether a global pause is in effect. Tweens with {{#crossLink "Tween/ignoreGlobalPause:property"}}{{/crossLink}} will ignore this, but all others will pause if this is `true`.
++ * @see [Tween]
++ */
++createjs.Tween.tick = function (delta, paused) { }
++
++ /**
++ * Stop and remove all existing tweens.
++ *
++ * @see [Tween]
++ */
++createjs.Tween.removeAllTweens = function () { }
++
++ /**
++ * Returns a new tween instance. This is functionally identical to using "new Tween(...)", but looks cleaner
++ * with the chained syntax of TweenJS.
++ * <h4>Example</h4>
++ *
++ * var tween = createjs.createjs.Tween.get(target);
++ *
++ * @param {(Object|null)} target The target object that will have its properties tweened.
++ * @param {Object=} opt_props The configuration properties to apply to this tween instance (ex. `{loop:true, paused:true}`). All properties default to `false`. Supported props are: <UL> <LI> loop: sets the loop property on this tween.</LI> <LI> useTicks: uses ticks for all durations instead of milliseconds.</LI> <LI> ignoreGlobalPause: sets the {{#crossLink "Tween/ignoreGlobalPause:property"}}{{/crossLink}} property on this tween.</LI> <LI> override: if true, `createjs.createjs.Tween.removeTweens(target)` will be called to remove any other tweens with the same target. <LI> paused: indicates whether to start the tween paused.</LI> <LI> position: indicates the initial position for this tween.</LI> <LI> onChange: specifies a listener for the {{#crossLink "Tween/change:event"}}{{/crossLink}} event.</LI> </UL>
++ * @param {Object=} opt_pluginData An object containing data for use by installed plugins. See individual plugins' documentation for details.
++ * @param {boolean=} opt_override If true, any previous tweens on the same target will be removed. This is the same as calling `createjs.Tween.removeTweens(target)`.
++ * @see [Tween]
++ * @returns {(Tween|null)} A reference to the created tween. Additional chained tweens, method calls, or callbacks can be applied to the returned tween instance.
++ */
++createjs.Tween.get = function (target, opt_props, opt_pluginData, opt_override) { return null; }
++
++ /**
++ * Handle events that result from Tween being used as an event handler. This is included to allow Tween to handle
++ * {{#crossLink "Ticker/tick:event"}}{{/crossLink}} events from the createjs {{#crossLink "Ticker"}}{{/crossLink}}.
++ * No other events are handled in createjs.Tween.
++ *
++ * @param {(Object|null)} event An event object passed in by the {{#crossLink "EventDispatcher"}}{{/crossLink}}. Will usually be of type "tick".
++ * @see [Tween]
++ */
++createjs.Tween.handleEvent = function (event) { }
++
++ /**
++ * Indicates whether there are any active tweens (and how many) on the target object (if specified) or in general.
++ *
++ * @param {Object=} opt_target The target to check for active tweens. If not specified, the return value will indicate if there are any active tweens on any target.
++ * @see [Tween]
++ * @returns {(boolean|null)} If there are active tweens.
++ */
++createjs.Tween.hasActiveTweens = function (opt_target) { return null; }
++
++ /**
++ * Installs a plugin, which can modify how certain properties are handled when tweened. See the {{#crossLink "CSSPlugin"}}{{/crossLink}}
++ * for an example of how to write TweenJS plugins.
++ *
++ * @param {(Object|null)} plugin The plugin class to install
++ * @param {(Array|null)} properties An array of properties that the plugin will handle.
++ * @see [Tween]
++ */
++createjs.Tween.installPlugin = function (plugin, properties) { }
++
++ /**
++ * Removes all existing tweens for a target. This is called automatically by new tweens if the `override`
++ * property is `true`.
++ *
++ * @param {(Object|null)} target The target object to remove existing tweens from.
++ * @see [Tween]
++ */
++createjs.Tween.removeTweens = function (target) { }
++
++ /**
++ * Registers or unregisters a tween with the ticking system.
++ *
++ * @param {(Tween|null)} tween The tween instance to register or unregister.
++ * @param {(boolean|null)} value If `true`, the tween is registered. If `false` the tween is unregistered.
++ * @see [Tween]
++ */
++createjs.Tween._register = function (tween, value) { }
++
++ /**
++ * @param {(Object|null)} o
++ * @see [Tween]
++ */
++createjs.Tween.prototype._addAction = function (o) { }
++
++ /**
++ * Queues a tween from the current values to the target properties. Set duration to 0 to jump to these value.
++ * Numeric properties will be tweened from their current value in the tween to the target value. Non-numeric
++ * properties will be set at the end of the specified duration.
++ * <h4>Example</h4>
++ *
++ * createjs.createjs.Tween.get(target).to({alpha:0}, 1000);
++ *
++ * @param {(Object|null)} props An object specifying property target values for this tween (Ex. `{x:300}` would tween the x property of the target to 300).
++ * @param {number=} opt_duration The duration of the wait in milliseconds (or in ticks if `useTicks` is true).
++ * @param {Function=} opt_ease The easing function to use for this tween. See the {{#crossLink "Ease"}}{{/crossLink}} class for a list of built-in ease functions.
++ * @see [Tween]
++ * @returns {(Tween|null)} This tween instance (for chaining calls).
++ */
++createjs.Tween.prototype.to = function (props, opt_duration, opt_ease) { return null; }
++
++ /**
++ * Queues an action to call the specified function.
++ * <h4>Example</h4>
++ *
++ * //would call myFunction() after 1 second.
++ * mycreatejs.Tween.wait(1000).call(myFunction);
++ *
++ * @param {(Function|null)} callback The function to call.
++ * @param {Array=} opt_params . The parameters to call the function with. If this is omitted, then the function will be called with a single param pointing to this tween.
++ * @param {Object=} opt_scope . The scope to call the function in. If omitted, it will be called in the target's scope.
++ * @see [Tween]
++ * @returns {(Tween|null)} This tween instance (for chaining calls).
++ */
++createjs.Tween.prototype.call = function (callback, opt_params, opt_scope) { return null; }
++
++ /**
++ * @see [Tween]
++ */
++createjs.Tween.prototype.clone = function () { }
++
++ /**
++ * @param {(Object|null)} o
++ * @see [Tween]
++ */
++createjs.Tween.prototype._appendQueueProps = function (o) { }
++
++ /**
++ * @param {(number|null)} startPos
++ * @param {(number|null)} endPos
++ * @param {(boolean|null)} includeStart
++ * @see [Tween]
++ */
++createjs.Tween.prototype._runActions = function (startPos, endPos, includeStart) { }
++
++ /**
++ * Queues an action to set the specified props on the specified target. If target is null, it will use this tween's
++ * target.
++ * <h4>Example</h4>
++ *
++ * mycreatejs.Tween.wait(1000).set({visible:false},foo);
++ *
++ * @param {(Object|null)} props The properties to set (ex. `{visible:false}`).
++ * @param {Object=} opt_target The target to set the properties on. If omitted, they will be set on the tween's target.
++ * @see [Tween]
++ * @returns {(Tween|null)} This tween instance (for chaining calls).
++ */
++createjs.Tween.prototype.set = function (props, opt_target) { return null; }
++
++ /**
++ * Queues an action to play (unpause) the specified tween. This enables you to sequence multiple tweens.
++ * <h4>Example</h4>
++ *
++ * mycreatejs.Tween.to({x:100},500).play(otherTween);
++ *
++ * @param {(Tween|null)} tween The tween to play.
++ * @see [Tween]
++ * @returns {(Tween|null)} This tween instance (for chaining calls).
++ */
++createjs.Tween.prototype.play = function (tween) { return null; }
++
++ /**
++ * Advances the tween to a specified position.
++ *
++ * @param {(number|null)} value The position to seek to in milliseconds (or ticks if useTicks is true).
++ * @param {number=} opt_actionsMode Specifies how actions are handled (ie. call, set, play, pause): <ul> <li>{{#crossLink "Tween/NONE:property"}}{{/crossLink}} (0) - run no actions.</li> <li>{{#crossLink "Tween/LOOP:property"}}{{/crossLink}} (1) - if new position is less than old, then run all actions between old and duration, then all actions between 0 and new.</li> <li>{{#crossLink "Tween/REVERSE:property"}}{{/crossLink}} (2) - if new position is less than old, run all actions between them in reverse.</li> </ul>
++ * @see [Tween]
++ * @returns {(boolean|null)} Returns `true` if the tween is complete (ie. the full tween has run & {{#crossLink "Tween/loop:property"}}{{/crossLink}} is `false`).
++ */
++createjs.Tween.prototype.setPosition = function (value, opt_actionsMode) { return null; }
++
++ /**
++ * @param {(Object|null)} props
++ * @param {(Object|null)} o
++ * @see [Tween]
++ */
++createjs.Tween.prototype._set = function (props, o) { }
++
++ /**
++ * Queues a wait (essentially an empty tween).
++ * <h4>Example</h4>
++ *
++ * //This tween will wait 1s before alpha is faded to 0.
++ * createjs.createjs.Tween.get(target).wait(1000).to({alpha:0}, 1000);
++ *
++ * @param {(number|null)} duration The duration of the wait in milliseconds (or in ticks if `useTicks` is true).
++ * @param {boolean=} opt_passive Tween properties will not be updated during a passive wait. This is mostly useful for use with {{#crossLink "Timeline"}}{{/crossLink}} instances that contain multiple tweens affecting the same target at different times.
++ * @see [Tween]
++ * @returns {(Tween|null)} This tween instance (for chaining calls).
++ */
++createjs.Tween.prototype.wait = function (duration, opt_passive) { return null; }
++
++ /**
++ * Pauses or plays this tween.
++ *
++ * @param {boolean=} opt_value Indicates whether the tween should be paused (`true`) or played (`false`).
++ * @see [Tween]
++ * @returns {(Tween|null)} This tween instance (for chaining calls)
++ */
++createjs.Tween.prototype.setPaused = function (opt_value) { return null; }
++
++ /**
++ * Queues an action to pause the specified tween.
++ *
++ * @param {(Tween|null)} tween The tween to pause. If null, it pauses this tween.
++ * @see [Tween]
++ * @returns {(Tween|null)} This tween instance (for chaining calls)
++ */
++createjs.Tween.prototype.pause = function (tween) { return null; }
++
++ /**
++ * @param {(Object|null)} step
++ * @param {(number|null)} ratio
++ * @see [Tween]
++ */
++createjs.Tween.prototype._updateTargetProps = function (step, ratio) { }
++
++ /**
++ * Advances this tween by the specified amount of time in milliseconds (or ticks if`useTicks` is `true`).
++ * This is normally called automatically by the Tween engine (via {{#crossLink "Tween/tick"}}{{/crossLink}}), but is
++ * exposed for advanced uses.
++ *
++ * @param {(number|null)} delta The time to advance in milliseconds (or ticks if `useTicks` is `true`).
++ * @see [Tween]
++ */
++createjs.Tween.prototype.tick = function (delta) { }
++
++ /**
++ * @param {(Object|null)} props
++ * @see [Tween]
++ */
++createjs.Tween.prototype._cloneProps = function (props) { }
++
++
++ /**
++ * @param {(Object|null)} o
++ * @see [Tween]
++ */
++createjs.Tween.prototype._addStep = function (o) { }
+
-}());
[13/36] flex-typedefs git commit: js: updated configuration for new
externs
Posted by ah...@apache.org.
js: updated configuration for new externs
Project: http://git-wip-us.apache.org/repos/asf/flex-typedefs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-typedefs/commit/8491f1ba
Tree: http://git-wip-us.apache.org/repos/asf/flex-typedefs/tree/8491f1ba
Diff: http://git-wip-us.apache.org/repos/asf/flex-typedefs/diff/8491f1ba
Branch: refs/heads/master
Commit: 8491f1ba7acc744316dee01b73a3067b6d34d60b
Parents: 7785bb4
Author: Josh Tynjala <jo...@apache.org>
Authored: Fri Dec 16 11:16:27 2016 -0800
Committer: Josh Tynjala <jo...@apache.org>
Committed: Fri Dec 16 11:16:27 2016 -0800
----------------------------------------------------------------------
js/src/main/config/externc-config.xml | 6 +-----
1 file changed, 1 insertion(+), 5 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-typedefs/blob/8491f1ba/js/src/main/config/externc-config.xml
----------------------------------------------------------------------
diff --git a/js/src/main/config/externc-config.xml b/js/src/main/config/externc-config.xml
index 7eb1dfe..aed243c 100644
--- a/js/src/main/config/externc-config.xml
+++ b/js/src/main/config/externc-config.xml
@@ -52,10 +52,6 @@
</namespaces>
-->
- <source-path>
- <path-element>src</path-element>
- </source-path>
-
<warn-no-constructor>false</warn-no-constructor>
</compiler>
@@ -74,7 +70,7 @@
<path-element>../../../target/downloads/browser/w3c_dom2.js</path-element>
<path-element>../../../target/downloads/browser/w3c_dom3.js</path-element>
<path-element>../../../target/downloads/browser/w3c_elementtraversal.js</path-element>
- <path-element>../../../target/downloads/browser/w3c_encoding.js</path-element>
+ <path-element>../../../target/downloads/browser/whatwg_encoding.js</path-element>
<path-element>../../../target/downloads/browser/w3c_event.js</path-element>
<path-element>../../../target/downloads/browser/w3c_event3.js</path-element>
<path-element>../../../target/downloads/browser/w3c_geolocation.js</path-element>
[06/36] flex-typedefs git commit: try to use patch instead of post
process so Maven will see it. The default value isn't correct,
but I don't think that matters
Posted by ah...@apache.org.
try to use patch instead of post process so Maven will see it. The default value isn't correct, but I don't think that matters
Project: http://git-wip-us.apache.org/repos/asf/flex-typedefs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-typedefs/commit/e7609344
Tree: http://git-wip-us.apache.org/repos/asf/flex-typedefs/tree/e7609344
Diff: http://git-wip-us.apache.org/repos/asf/flex-typedefs/diff/e7609344
Branch: refs/heads/master
Commit: e7609344d2f519fd106b2a647e75d73f3563a8e4
Parents: 13b17b1
Author: Alex Harui <ah...@apache.org>
Authored: Tue Nov 1 16:02:29 2016 -0700
Committer: Alex Harui <ah...@apache.org>
Committed: Tue Nov 1 16:02:29 2016 -0700
----------------------------------------------------------------------
js/build.xml | 9 ++++++---
js/src/main/patch/js.patch | 17 ++++++++++++++++-
2 files changed, 22 insertions(+), 4 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-typedefs/blob/e7609344/js/build.xml
----------------------------------------------------------------------
diff --git a/js/build.xml b/js/build.xml
index eb1ba0e..302c0fc 100644
--- a/js/build.xml
+++ b/js/build.xml
@@ -114,6 +114,12 @@
<replaceregexp file="${basedir}/target/downloads/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}/target/downloads/es3.js" match="(Transposes the elements of an array in place(?:(?!\*/).)*?[\r\n]+ \*)([\r\n]+)( \* @this)" replace="\1\2 * @return {!Array<?>}\2\3" flags="s" />
<replaceregexp file="${basedir}/target/downloads/es3.js" match="(Sorts the elements of an array in place(?:(?!\*/).)*?[\r\n]+ \*)([\r\n]+)( \* @param)" replace="\1\2 * @return {!Array<?>}\2\3" flags="s" />
+ <replace file="${basedir}/target/downloads/es3.js" >
+ <replacefilter token="function parseInt(num, base)" value="function parseInt(num, opt_base)" />
+ </replace>
+ <replace file="${basedir}/target/downloads/es3.js" >
+ <replacefilter token="param {number|undefined} base" value="param {number=} base" />
+ </replace>
<antcall target="diff" />
</target>
@@ -157,9 +163,6 @@
</target>
<target name="postprocess" >
- <replace file="${basedir}/target/generated-sources/externc/functions/parseInt.as" >
- <replacefilter token="base:Number)" value="base:Number = 10)" />
- </replace>
</target>
<target name="compc" >
http://git-wip-us.apache.org/repos/asf/flex-typedefs/blob/e7609344/js/src/main/patch/js.patch
----------------------------------------------------------------------
diff --git a/js/src/main/patch/js.patch b/js/src/main/patch/js.patch
index cae08d5..f54f48f 100644
--- a/js/src/main/patch/js.patch
+++ b/js/src/main/patch/js.patch
@@ -16,9 +16,24 @@
Generated from Ant script
diff --git a/js/target/downloads/es3.js b/js/target/downloads/es3.js
-index fa5e5a6..6c5e3e7 100644
+index fa5e5a6..a6e4fa0 100644
--- a/js/target/downloads/es3.js
+++ b/js/target/downloads/es3.js
+@@ -174,12 +174,12 @@ function parseFloat(num) {}
+ * leader, then pass {@code undefined} as the base.
+ *
+ * @param {*} num
+- * @param {number|undefined} base
++ * @param {number=} base
+ * @return {number}
+ * @nosideeffects
+ * @see http://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/parseInt
+ */
+-function parseInt(num, base) {}
++function parseInt(num, opt_base) {}
+
+ /**
+ * @param {string} code
@@ -201,10 +201,10 @@ function Object(opt_value) {}
/**