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 2016/05/24 19:09:44 UTC

[1/6] git commit: [flex-falcon] [refs/heads/develop] - don't use undefined here

Repository: flex-falcon
Updated Branches:
  refs/heads/develop f19287253 -> 90e4805c6


don't use undefined here


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

Branch: refs/heads/develop
Commit: 6764755dbf57df339a927ff93dfd0d7c88cfc36a
Parents: f192872
Author: Alex Harui <ah...@apache.org>
Authored: Tue May 24 12:06:07 2016 -0700
Committer: Alex Harui <ah...@apache.org>
Committed: Tue May 24 12:06:07 2016 -0700

----------------------------------------------------------------------
 externs/GCL/src/main/flex/goog/events/EventType.as | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/6764755d/externs/GCL/src/main/flex/goog/events/EventType.as
----------------------------------------------------------------------
diff --git a/externs/GCL/src/main/flex/goog/events/EventType.as b/externs/GCL/src/main/flex/goog/events/EventType.as
index 161019e..857ea53 100644
--- a/externs/GCL/src/main/flex/goog/events/EventType.as
+++ b/externs/GCL/src/main/flex/goog/events/EventType.as
@@ -125,7 +125,7 @@ public class EventType {
      *
      * @see [eventtype]
      */
-    public static const ANIMATIONITERATION:String = undefined /* TODO type not set */;
+    public static const ANIMATIONITERATION:String = 'animationiteration';
 
     /**
      * Generated doc for missing field JSDoc.
@@ -174,7 +174,7 @@ public class EventType {
      *
      * @see [eventtype]
      */
-    public static const ANIMATIONSTART:String = undefined /* TODO type not set */;
+    public static const ANIMATIONSTART:String = 'animationstart';
 
     /**
      * Generated doc for missing field JSDoc.
@@ -216,7 +216,7 @@ public class EventType {
      *
      * @see [eventtype]
      */
-    public static const TRANSITIONEND:String = undefined /* TODO type not set */;
+    public static const TRANSITIONEND:String = 'transitionend';
 
     /**
      * Generated doc for missing field JSDoc.
@@ -482,7 +482,7 @@ public class EventType {
      *
      * @see [eventtype]
      */
-    public static const FOCUSIN:String = undefined /* TODO type not set */;
+    public static const FOCUSIN:String = 'focus';
 
     /**
      * Generated doc for missing field JSDoc.
@@ -538,7 +538,7 @@ public class EventType {
      *
      * @see [eventtype]
      */
-    public static const FOCUSOUT:String = undefined /* TODO type not set */;
+    public static const FOCUSOUT:String = 'blur';
 
     /**
      * Generated doc for missing field JSDoc.
@@ -832,7 +832,7 @@ public class EventType {
      *
      * @see [eventtype]
      */
-    public static const ANIMATIONEND:String = undefined /* TODO type not set */;
+    public static const ANIMATIONEND:String = 'animationend';
 
     /**
      * Generated doc for missing field JSDoc.


[2/6] git commit: [flex-falcon] [refs/heads/develop] - return null instead of undefined

Posted by ah...@apache.org.
return null instead of undefined


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

Branch: refs/heads/develop
Commit: 2783e78959f0a16420ef452229d96c29ccc8078a
Parents: 6764755
Author: Alex Harui <ah...@apache.org>
Authored: Tue May 24 12:08:51 2016 -0700
Committer: Alex Harui <ah...@apache.org>
Committed: Tue May 24 12:08:51 2016 -0700

----------------------------------------------------------------------
 .../internal/codegen/externals/reference/ConstantReference.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/2783e789/compiler-jx/src/main/java/org/apache/flex/compiler/internal/codegen/externals/reference/ConstantReference.java
----------------------------------------------------------------------
diff --git a/compiler-jx/src/main/java/org/apache/flex/compiler/internal/codegen/externals/reference/ConstantReference.java b/compiler-jx/src/main/java/org/apache/flex/compiler/internal/codegen/externals/reference/ConstantReference.java
index 655fe57..ff123ce 100644
--- a/compiler-jx/src/main/java/org/apache/flex/compiler/internal/codegen/externals/reference/ConstantReference.java
+++ b/compiler-jx/src/main/java/org/apache/flex/compiler/internal/codegen/externals/reference/ConstantReference.java
@@ -95,7 +95,7 @@ public class ConstantReference extends BaseReference
         if (map.containsKey(type))
             return map.get(type);
 
-        return "undefined";
+        return type.equals("*") ? "undefined" : "null";
     }
 
 }


[6/6] git commit: [flex-falcon] [refs/heads/develop] - fix createjs externs

Posted by ah...@apache.org.
fix createjs externs


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

Branch: refs/heads/develop
Commit: 90e4805c6dea9da4d878dc9dc34990cb064c0670
Parents: 92f393a
Author: Alex Harui <ah...@apache.org>
Authored: Tue May 24 12:09:32 2016 -0700
Committer: Alex Harui <ah...@apache.org>
Committed: Tue May 24 12:09:32 2016 -0700

----------------------------------------------------------------------
 .../externals/reference/MethodReference.java    |   2 +-
 externs/createjs/src/main/patch/easeljs.patch   | 626 +++++++++----------
 externs/createjs/src/main/patch/tweenjs.patch   | 128 ++--
 3 files changed, 378 insertions(+), 378 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/90e4805c/compiler-jx/src/main/java/org/apache/flex/compiler/internal/codegen/externals/reference/MethodReference.java
----------------------------------------------------------------------
diff --git a/compiler-jx/src/main/java/org/apache/flex/compiler/internal/codegen/externals/reference/MethodReference.java b/compiler-jx/src/main/java/org/apache/flex/compiler/internal/codegen/externals/reference/MethodReference.java
index 6cfbadf..61d8c1b 100644
--- a/compiler-jx/src/main/java/org/apache/flex/compiler/internal/codegen/externals/reference/MethodReference.java
+++ b/compiler-jx/src/main/java/org/apache/flex/compiler/internal/codegen/externals/reference/MethodReference.java
@@ -221,7 +221,7 @@ public class MethodReference extends MemberReference
         	sb.append(".");
         	sb.append(getClassReference().getBaseName());
         	sb.append(".");
-        	if (isStatic)
+        	if (!isStatic)
         		sb.append("prototype.");
         	sb.append(qName);    		
         	sb.append(" = function "); 		


[4/6] git commit: [flex-falcon] [refs/heads/develop] - fix createjs externs

Posted by ah...@apache.org.
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/90e4805c/externs/createjs/src/main/patch/tweenjs.patch
----------------------------------------------------------------------
diff --git a/externs/createjs/src/main/patch/tweenjs.patch b/externs/createjs/src/main/patch/tweenjs.patch
index f7436c0..30ddca2 100644
--- a/externs/createjs/src/main/patch/tweenjs.patch
+++ b/externs/createjs/src/main/patch/tweenjs.patch
@@ -99,7 +99,7 @@ index 52e0206..0fe6341 100644
 +
 +
 diff --git a/externs/createjs/target/downloads/TweenJS-0.6.2/src/tweenjs/Ease.js b/externs/createjs/target/downloads/TweenJS-0.6.2/src/tweenjs/Ease.js
-index e3a0809..51876a7 100644
+index e3a0809..ffbda75 100644
 --- a/externs/createjs/target/downloads/TweenJS-0.6.2/src/tweenjs/Ease.js
 +++ b/externs/createjs/target/downloads/TweenJS-0.6.2/src/tweenjs/Ease.js
 @@ -1,462 +1,187 @@
@@ -165,35 +165,35 @@ index e3a0809..51876a7 100644
 +     * @see [Ease]
 +     * @returns {(Function|null)} 
 +     */
-+createjs.Ease.prototype.getElasticIn = function (amplitude, period) {  return null; }
++createjs.Ease.getElasticIn = function (amplitude, period) {  return null; }
 +
 +    /**
 +     * @param {(number|null)} t 
 +     * @see [Ease]
 +     * @returns {(number|null)} 
 +     */
-+createjs.Ease.prototype.circOut = function (t) { return 0; }
++createjs.Ease.circOut = function (t) { return 0; }
 +
 +    /**
 +     * @param {(number|null)} t 
 +     * @see [Ease]
 +     * @returns {(number|null)} 
 +     */
-+createjs.Ease.prototype.linear = function (t) { return 0; }
++createjs.Ease.linear = function (t) { return 0; }
 +
 +    /**
 +     * @param {(number|null)} t 
 +     * @see [Ease]
 +     * @returns {(number|null)} 
 +     */
-+createjs.Ease.prototype.sineIn = function (t) { return 0; }
++createjs.Ease.sineIn = function (t) { return 0; }
 +
 +    /**
 +     * @param {(number|null)} t 
 +     * @see [Ease]
 +     * @returns {(number|null)} 
 +     */
-+createjs.Ease.prototype.sineOut = function (t) { return 0; }
++createjs.Ease.sineOut = function (t) { return 0; }
 +
 +    /**
 +     * Mimics the simple -100 to 100 easing in Flash Pro.
@@ -202,7 +202,7 @@ index e3a0809..51876a7 100644
 +     * @see [Ease]
 +     * @returns {(Function|null)} 
 +     */
-+createjs.Ease.prototype.get = function (amount) {  return null; }
++createjs.Ease.get = function (amount) {  return null; }
 +
 +    /**
 +     * Configurable "back in" ease.
@@ -211,14 +211,14 @@ index e3a0809..51876a7 100644
 +     * @see [Ease]
 +     * @returns {(Function|null)} 
 +     */
-+createjs.Ease.prototype.getBackIn = function (amount) {  return null; }
++createjs.Ease.getBackIn = function (amount) {  return null; }
 +
 +    /**
 +     * @param {(number|null)} t 
 +     * @see [Ease]
 +     * @returns {(number|null)} 
 +     */
-+createjs.Ease.prototype.circIn = function (t) { return 0; }
++createjs.Ease.circIn = function (t) { return 0; }
 +
 +    /**
 +     * Configurable "back out" ease.
@@ -227,7 +227,7 @@ index e3a0809..51876a7 100644
 +     * @see [Ease]
 +     * @returns {(Function|null)} 
 +     */
-+createjs.Ease.prototype.getBackOut = function (amount) {  return null; }
++createjs.Ease.getBackOut = function (amount) {  return null; }
 +
 +    /**
 +     * Configurable elastic ease.
@@ -237,35 +237,35 @@ index e3a0809..51876a7 100644
 +     * @see [Ease]
 +     * @returns {(Function|null)} 
 +     */
-+createjs.Ease.prototype.getElasticInOut = function (amplitude, period) {  return null; }
++createjs.Ease.getElasticInOut = function (amplitude, period) {  return null; }
 +
 +    /**
 +     * @param {(number|null)} t 
 +     * @see [Ease]
 +     * @returns {(number|null)} 
 +     */
-+createjs.Ease.prototype.bounceInOut = function (t) { return 0; }
++createjs.Ease.bounceInOut = function (t) { return 0; }
 +
 +    /**
 +     * @param {(number|null)} t 
 +     * @see [Ease]
 +     * @returns {(number|null)} 
 +     */
-+createjs.Ease.prototype.bounceIn = function (t) { return 0; }
++createjs.Ease.bounceIn = function (t) { return 0; }
 +
 +    /**
 +     * @param {(number|null)} t 
 +     * @see [Ease]
 +     * @returns {(number|null)} 
 +     */
-+createjs.Ease.prototype.sineInOut = function (t) { return 0; }
++createjs.Ease.sineInOut = function (t) { return 0; }
 +
 +    /**
 +     * @param {(number|null)} t 
 +     * @see [Ease]
 +     * @returns {(number|null)} 
 +     */
-+createjs.Ease.prototype.circInOut = function (t) { return 0; }
++createjs.Ease.circInOut = function (t) { return 0; }
 +
 +    /**
 +     * Configurable exponential ease.
@@ -274,7 +274,7 @@ index e3a0809..51876a7 100644
 +     * @see [Ease]
 +     * @returns {(Function|null)} 
 +     */
-+createjs.Ease.prototype.getPowOut = function (pow) {  return null; }
++createjs.Ease.getPowOut = function (pow) {  return null; }
 +
 +    /**
 +     * Configurable "back in out" ease.
@@ -283,7 +283,7 @@ index e3a0809..51876a7 100644
 +     * @see [Ease]
 +     * @returns {(Function|null)} 
 +     */
-+createjs.Ease.prototype.getBackInOut = function (amount) {  return null; }
++createjs.Ease.getBackInOut = function (amount) {  return null; }
 +
 +    /**
 +     * Configurable exponential ease.
@@ -292,7 +292,7 @@ index e3a0809..51876a7 100644
 +     * @see [Ease]
 +     * @returns {(Function|null)} 
 +     */
-+createjs.Ease.prototype.getPowIn = function (pow) {  return null; }
++createjs.Ease.getPowIn = function (pow) {  return null; }
 +
 +    /**
 +     * Configurable exponential ease.
@@ -301,7 +301,7 @@ index e3a0809..51876a7 100644
 +     * @see [Ease]
 +     * @returns {(Function|null)} 
 +     */
-+createjs.Ease.prototype.getPowInOut = function (pow) {  return null; }
++createjs.Ease.getPowInOut = function (pow) {  return null; }
 +
 +    /**
 +     * Configurable elastic ease.
@@ -311,14 +311,14 @@ index e3a0809..51876a7 100644
 +     * @see [Ease]
 +     * @returns {(Function|null)} 
 +     */
-+createjs.Ease.prototype.getElasticOut = function (amplitude, period) {  return null; }
++createjs.Ease.getElasticOut = function (amplitude, period) {  return null; }
 +
 +    /**
 +     * @param {(number|null)} t 
 +     * @see [Ease]
 +     * @returns {(number|null)} 
 +     */
-+createjs.Ease.prototype.bounceOut = function (t) { return 0; }
++createjs.Ease.bounceOut = function (t) { return 0; }
  
 -// namespace:
 -this.createjs = this.createjs||{};
@@ -1045,7 +1045,7 @@ index 371baa7..4bfca8c 100644
 +
 +
 diff --git a/externs/createjs/target/downloads/TweenJS-0.6.2/src/tweenjs/Timeline.js b/externs/createjs/target/downloads/TweenJS-0.6.2/src/tweenjs/Timeline.js
-index 5546bc2..78be88d 100644
+index 5546bc2..34e124f 100644
 --- a/externs/createjs/target/downloads/TweenJS-0.6.2/src/tweenjs/Timeline.js
 +++ b/externs/createjs/target/downloads/TweenJS-0.6.2/src/tweenjs/Timeline.js
 @@ -1,444 +1,150 @@
@@ -1093,7 +1093,7 @@ index 5546bc2..78be88d 100644
 +    /**
 +     * @see [Timeline]
 +     */
-+createjs.Timeline.clone = function () {  }
++createjs.Timeline.prototype.clone = function () {  }
 +
 +    /**
 +     * If a numeric position is passed, it is returned unchanged. If a string is passed, the position of the
@@ -1102,7 +1102,7 @@ index 5546bc2..78be88d 100644
 +     * @param {(number|string|null)} positionOrLabel A numeric position value or label string.
 +     * @see [Timeline]
 +     */
-+createjs.Timeline.resolve = function (positionOrLabel) {  }
++createjs.Timeline.prototype.resolve = function (positionOrLabel) {  }
 +
 +    /**
 +     * Adds a label that can be used with {{#crossLink "Timeline/gotoAndPlay"}}{{/crossLink}}/{{#crossLink "Timeline/gotoAndStop"}}{{/crossLink}}.
@@ -1111,14 +1111,14 @@ index 5546bc2..78be88d 100644
 +     * @param {(number|null)} position The position this label represents.
 +     * @see [Timeline]
 +     */
-+createjs.Timeline.addLabel = function (label, position) {  }
++createjs.Timeline.prototype.addLabel = function (label, position) {  }
 +
 +    /**
 +     * @param {(number|null)} value 
 +     * @see [Timeline]
 +     * @returns {(number|null)} 
 +     */
-+createjs.Timeline._calcPosition = function (value) { return 0; }
++createjs.Timeline.prototype._calcPosition = function (value) { return 0; }
 +
 +    /**
 +     * Pauses this timeline and jumps to the specified position or label.
@@ -1126,7 +1126,7 @@ index 5546bc2..78be88d 100644
 +     * @param {(number|string|null)} positionOrLabel The position in milliseconds (or ticks if `useTicks` is `true`) or label to jump to.
 +     * @see [Timeline]
 +     */
-+createjs.Timeline.gotoAndStop = function (positionOrLabel) {  }
++createjs.Timeline.prototype.gotoAndStop = function (positionOrLabel) {  }
 +
 +    /**
 +     * Removes one or more tweens from this timeline.
@@ -1134,7 +1134,7 @@ index 5546bc2..78be88d 100644
 +     * @see [Timeline]
 +     * @returns {?} Boolean Returns `true` if all of the tweens were successfully removed.
 +     */
-+createjs.Timeline.removeTween = function (tween) {  return null; }
++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
@@ -1149,7 +1149,7 @@ index 5546bc2..78be88d 100644
 +     * @see [Timeline]
 +     * @returns {(string|null)} The name of the current label or null if there is no label
 +     */
-+createjs.Timeline.getCurrentLabel = function () {  return null; }
++createjs.Timeline.prototype.getCurrentLabel = function () {  return null; }
 +
 +    /**
 +     * Advances the timeline to the specified position.
@@ -1159,7 +1159,7 @@ index 5546bc2..78be88d 100644
 +     * @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.setPosition = function (value, actionsMode) {  return null; }
++createjs.Timeline.prototype.setPosition = function (value, actionsMode) {  return null; }
 +
 +    /**
 +     * Pauses or plays this timeline.
@@ -1167,7 +1167,7 @@ index 5546bc2..78be88d 100644
 +     * @param {(boolean|null)} value Indicates whether the tween should be paused (`true`) or played (`false`).
 +     * @see [Timeline]
 +     */
-+createjs.Timeline.setPaused = function (value) {  }
++createjs.Timeline.prototype.setPaused = function (value) {  }
 +
 +    /**
 +     * Advances this timeline by the specified amount of time in milliseconds (or ticks if `useTicks` is `true`).
@@ -1177,13 +1177,13 @@ index 5546bc2..78be88d 100644
 +     * @param {(number|null)} delta The time to advance in milliseconds (or ticks if useTicks is true).
 +     * @see [Timeline]
 +     */
-+createjs.Timeline.tick = function (delta) {  }
++createjs.Timeline.prototype.tick = function (delta) {  }
 +
 +    /**
 +     * @param {(number|string|null)} positionOrLabel 
 +     * @see [Timeline]
 +     */
-+createjs.Timeline._goto = function (positionOrLabel) {  }
++createjs.Timeline.prototype._goto = function (positionOrLabel) {  }
 +
 +    /**
 +     * Returns a sorted list of the labels defined on this timeline.
@@ -1191,7 +1191,7 @@ index 5546bc2..78be88d 100644
 +     * @see [Timeline]
 +     * @returns {(Array|null)} Object]} A sorted array of objects with label and position properties.
 +     */
-+createjs.Timeline.getLabels = function () {  return null; }
++createjs.Timeline.prototype.getLabels = function () {  return null; }
 +
 +    /**
 +     * Recalculates the duration of the timeline. The duration is automatically updated when tweens are added or removed,
@@ -1199,7 +1199,7 @@ index 5546bc2..78be88d 100644
 +     *
 +     * @see [Timeline]
 +     */
-+createjs.Timeline.updateDuration = function () {  }
++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
@@ -1209,7 +1209,7 @@ index 5546bc2..78be88d 100644
 +     * @see [Timeline]
 +     * @returns {(Tween|null)} The first tween that was passed in.
 +     */
-+createjs.Timeline.addTween = function (tween) {  return null; }
++createjs.Timeline.prototype.addTween = function (tween) {  return null; }
 +
 +
 +    /**
@@ -1218,7 +1218,7 @@ index 5546bc2..78be88d 100644
 +     * @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.setLabels = function (o) {  }
++createjs.Timeline.prototype.setLabels = function (o) {  }
 +
 +    /**
 +     * Unpauses this timeline and jumps to the specified position or label.
@@ -1226,7 +1226,7 @@ index 5546bc2..78be88d 100644
 +     * @param {(number|string|null)} positionOrLabel The position in milliseconds (or ticks if `useTicks` is `true`) or label to jump to.
 +     * @see [Timeline]
 +     */
-+createjs.Timeline.gotoAndPlay = function (positionOrLabel) {  }
++createjs.Timeline.prototype.gotoAndPlay = function (positionOrLabel) {  }
  
 -// namespace:
 -this.createjs = this.createjs||{};
@@ -1641,7 +1641,7 @@ index 5546bc2..78be88d 100644
 -
 -}());
 diff --git a/externs/createjs/target/downloads/TweenJS-0.6.2/src/tweenjs/Tween.js b/externs/createjs/target/downloads/TweenJS-0.6.2/src/tweenjs/Tween.js
-index 8945830..f54bc42 100644
+index 8945830..b165a4e 100644
 --- a/externs/createjs/target/downloads/TweenJS-0.6.2/src/tweenjs/Tween.js
 +++ b/externs/createjs/target/downloads/TweenJS-0.6.2/src/tweenjs/Tween.js
 @@ -1,941 +1,279 @@
@@ -1755,14 +1755,14 @@ index 8945830..f54bc42 100644
 +     * @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.prototype.tick = function (delta, paused) {  }
++createjs.Tween.tick = function (delta, paused) {  }
 +
 +    /**
 +     * Stop and remove all existing tweens.
 +     *
 +     * @see [Tween]
 +     */
-+createjs.Tween.prototype.removeAllTweens = function () {  }
++createjs.Tween.removeAllTweens = function () {  }
 +
 +    /**
 +     * Returns a new tween instance. This is functionally identical to using "new Tween(...)", but looks cleaner
@@ -1778,7 +1778,7 @@ index 8945830..f54bc42 100644
 +     * @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.prototype.get = function (target, props, pluginData, override) {  return null; }
++createjs.Tween.get = function (target, props, pluginData, override) {  return null; }
 +
 +    /**
 +     * Handle events that result from Tween being used as an event handler. This is included to allow Tween to handle
@@ -1788,7 +1788,7 @@ index 8945830..f54bc42 100644
 +     * @param {(Object|null)} event An event object passed in by the {{#crossLink "EventDispatcher"}}{{/crossLink}}. Will usually be of type "tick".
 +     * @see [Tween]
 +     */
-+createjs.Tween.prototype.handleEvent = function (event) {  }
++createjs.Tween.handleEvent = function (event) {  }
 +
 +    /**
 +     * Indicates whether there are any active tweens (and how many) on the target object (if specified) or in general.
@@ -1797,7 +1797,7 @@ index 8945830..f54bc42 100644
 +     * @see [Tween]
 +     * @returns {(boolean|null)} If there are active tweens.
 +     */
-+createjs.Tween.prototype.hasActiveTweens = function (target) {  return null; }
++createjs.Tween.hasActiveTweens = function (target) {  return null; }
 +
 +    /**
 +     * Installs a plugin, which can modify how certain properties are handled when tweened. See the {{#crossLink "CSSPlugin"}}{{/crossLink}}
@@ -1807,7 +1807,7 @@ index 8945830..f54bc42 100644
 +     * @param {(Array|null)} properties An array of properties that the plugin will handle.
 +     * @see [Tween]
 +     */
-+createjs.Tween.prototype.installPlugin = function (plugin, properties) {  }
++createjs.Tween.installPlugin = function (plugin, properties) {  }
 +
 +    /**
 +     * Removes all existing tweens for a target. This is called automatically by new tweens if the `override`
@@ -1816,7 +1816,7 @@ index 8945830..f54bc42 100644
 +     * @param {(Object|null)} target The target object to remove existing tweens from.
 +     * @see [Tween]
 +     */
-+createjs.Tween.prototype.removeTweens = function (target) {  }
++createjs.Tween.removeTweens = function (target) {  }
 +
 +    /**
 +     * Registers or unregisters a tween with the ticking system.
@@ -1825,13 +1825,13 @@ index 8945830..f54bc42 100644
 +     * @param {(boolean|null)} value If `true`, the tween is registered. If `false` the tween is unregistered.
 +     * @see [Tween]
 +     */
-+createjs.Tween.prototype._register = function (tween, value) {  }
++createjs.Tween._register = function (tween, value) {  }
 +
 +    /**
 +     * @param {(Object|null)} o 
 +     * @see [Tween]
 +     */
-+createjs.Tween._addAction = function (o) {  }
++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.
@@ -1847,7 +1847,7 @@ index 8945830..f54bc42 100644
 +     * @see [Tween]
 +     * @returns {(Tween|null)} This tween instance (for chaining calls).
 +     */
-+createjs.Tween.to = function (props, duration, ease) {  return null; }
++createjs.Tween.prototype.to = function (props, duration, ease) {  return null; }
 +
 +    /**
 +     * Queues an action to call the specified function.
@@ -1862,18 +1862,18 @@ index 8945830..f54bc42 100644
 +     * @see [Tween]
 +     * @returns {(Tween|null)} This tween instance (for chaining calls).
 +     */
-+createjs.Tween.call = function (callback, params, scope) {  return null; }
++createjs.Tween.prototype.call = function (callback, params, scope) {  return null; }
 +
 +    /**
 +     * @see [Tween]
 +     */
-+createjs.Tween.clone = function () {  }
++createjs.Tween.prototype.clone = function () {  }
 +
 +    /**
 +     * @param {(Object|null)} o 
 +     * @see [Tween]
 +     */
-+createjs.Tween._appendQueueProps = function (o) {  }
++createjs.Tween.prototype._appendQueueProps = function (o) {  }
 +
 +    /**
 +     * @param {(number|null)} startPos 
@@ -1881,7 +1881,7 @@ index 8945830..f54bc42 100644
 +     * @param {(boolean|null)} includeStart 
 +     * @see [Tween]
 +     */
-+createjs.Tween._runActions = function (startPos, endPos, includeStart) {  }
++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
@@ -1895,7 +1895,7 @@ index 8945830..f54bc42 100644
 +     * @see [Tween]
 +     * @returns {(Tween|null)} This tween instance (for chaining calls).
 +     */
-+createjs.Tween.set = function (props, target) {  return null; }
++createjs.Tween.prototype.set = function (props, target) {  return null; }
 +
 +    /**
 +     * Queues an action to play (unpause) the specified tween. This enables you to sequence multiple tweens.
@@ -1907,7 +1907,7 @@ index 8945830..f54bc42 100644
 +     * @see [Tween]
 +     * @returns {(Tween|null)} This tween instance (for chaining calls).
 +     */
-+createjs.Tween.play = function (tween) {  return null; }
++createjs.Tween.prototype.play = function (tween) {  return null; }
 +
 +    /**
 +     * Advances the tween to a specified position.
@@ -1917,14 +1917,14 @@ index 8945830..f54bc42 100644
 +     * @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.setPosition = function (value, actionsMode) {  return null; }
++createjs.Tween.prototype.setPosition = function (value, actionsMode) {  return null; }
 +
 +    /**
 +     * @param {(Object|null)} props 
 +     * @param {(Object|null)} o 
 +     * @see [Tween]
 +     */
-+createjs.Tween._set = function (props, o) {  }
++createjs.Tween.prototype._set = function (props, o) {  }
 +
 +    /**
 +     * Queues a wait (essentially an empty tween).
@@ -1938,7 +1938,7 @@ index 8945830..f54bc42 100644
 +     * @see [Tween]
 +     * @returns {(Tween|null)} This tween instance (for chaining calls).
 +     */
-+createjs.Tween.wait = function (duration, passive) {  return null; }
++createjs.Tween.prototype.wait = function (duration, passive) {  return null; }
 +
 +    /**
 +     * Pauses or plays this tween.
@@ -1947,7 +1947,7 @@ index 8945830..f54bc42 100644
 +     * @see [Tween]
 +     * @returns {(Tween|null)} This tween instance (for chaining calls)
 +     */
-+createjs.Tween.setPaused = function (value) {  return null; }
++createjs.Tween.prototype.setPaused = function (value) {  return null; }
 +
 +    /**
 +     * Queues an action to pause the specified tween.
@@ -1956,14 +1956,14 @@ index 8945830..f54bc42 100644
 +     * @see [Tween]
 +     * @returns {(Tween|null)} This tween instance (for chaining calls)
 +     */
-+createjs.Tween.pause = function (tween) {  return null; }
++createjs.Tween.prototype.pause = function (tween) {  return null; }
 +
 +    /**
 +     * @param {(Object|null)} step 
 +     * @param {(number|null)} ratio 
 +     * @see [Tween]
 +     */
-+createjs.Tween._updateTargetProps = function (step, ratio) {  }
++createjs.Tween.prototype._updateTargetProps = function (step, ratio) {  }
 +
 +    /**
 +     * Advances this tween by the specified amount of time in milliseconds (or ticks if`useTicks` is `true`).
@@ -1973,20 +1973,20 @@ index 8945830..f54bc42 100644
 +     * @param {(number|null)} delta The time to advance in milliseconds (or ticks if `useTicks` is `true`).
 +     * @see [Tween]
 +     */
-+createjs.Tween.tick = function (delta) {  }
++createjs.Tween.prototype.tick = function (delta) {  }
 +
 +    /**
 +     * @param {(Object|null)} props 
 +     * @see [Tween]
 +     */
-+createjs.Tween._cloneProps = function (props) {  }
++createjs.Tween.prototype._cloneProps = function (props) {  }
 +
 +
 +    /**
 +     * @param {(Object|null)} o 
 +     * @see [Tween]
 +     */
-+createjs.Tween._addStep = function (o) {  }
++createjs.Tween.prototype._addStep = function (o) {  }
  
 -// TODO: possibly add a END actionsMode (only runs actions that == position)?
 -// TODO: evaluate a way to decouple paused from tick registration.


[3/6] git commit: [flex-falcon] [refs/heads/develop] - suppress expected errors

Posted by ah...@apache.org.
suppress expected errors


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

Branch: refs/heads/develop
Commit: 92f393a7d1c84a975e37da3a24ae8bfa58426481
Parents: 2783e78
Author: Alex Harui <ah...@apache.org>
Authored: Tue May 24 12:09:14 2016 -0700
Committer: Alex Harui <ah...@apache.org>
Committed: Tue May 24 12:09:14 2016 -0700

----------------------------------------------------------------------
 .../externals/pass/ReferenceCompiler.java       | 75 ++++++++++++++++++++
 1 file changed, 75 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/92f393a7/compiler-jx/src/main/java/org/apache/flex/compiler/internal/codegen/externals/pass/ReferenceCompiler.java
----------------------------------------------------------------------
diff --git a/compiler-jx/src/main/java/org/apache/flex/compiler/internal/codegen/externals/pass/ReferenceCompiler.java b/compiler-jx/src/main/java/org/apache/flex/compiler/internal/codegen/externals/pass/ReferenceCompiler.java
index dc83314..e588075 100644
--- a/compiler-jx/src/main/java/org/apache/flex/compiler/internal/codegen/externals/pass/ReferenceCompiler.java
+++ b/compiler-jx/src/main/java/org/apache/flex/compiler/internal/codegen/externals/pass/ReferenceCompiler.java
@@ -85,9 +85,15 @@ public class ReferenceCompiler
         //compiler.setErrorManager(testErrorManager);
         jscompiler.initOptions(options);
 
+        jscompiler.setErrorManager(wrapErrorManager(jscompiler.getErrorManager()));
         model.setJSCompiler(jscompiler);
     }
 
+    public ErrorManager wrapErrorManager(ErrorManager em)
+    {
+    	return new ReferenceErrorManager(em);
+    }
+    
     public Result compile() throws IOException
     {
         List<SourceFile> sources = new ArrayList<SourceFile>();
@@ -132,4 +138,73 @@ public class ReferenceCompiler
             return FilenameUtils.getBaseName(getFile().getAbsolutePath());
         }
     }
+    
+    public static class ReferenceErrorManager implements ErrorManager
+    {
+    	public ReferenceErrorManager(ErrorManager em)
+    	{
+    		this.em = em;
+    	}
+    	
+    	private ErrorManager em;
+
+		@Override
+		public void generateReport() {
+			em.generateReport();
+		}
+
+		@Override
+		public int getErrorCount() {
+			int num = em.getErrorCount();
+			if (num > 0)
+			{
+				num = 0;
+			}
+			return num;
+		}
+
+		@Override
+		public JSError[] getErrors() {
+			return em.getErrors();
+		}
+
+		@Override
+		public double getTypedPercent() {
+			return em.getTypedPercent();
+		}
+
+		@Override
+		public int getWarningCount() {
+			return em.getWarningCount();
+		}
+
+		@Override
+		public JSError[] getWarnings() {
+			return em.getWarnings();
+		}
+
+		@Override
+		public void report(CheckLevel arg0, JSError arg1) {
+			if (arg1.description.equals("Parse error. identifier is a reserved word"))
+			{
+				if (arg1.sourceName.equals("[missing]"))
+				{
+					if (arg1.lineNumber == 101 ||
+							arg1.lineNumber == 107 ||
+							arg1.lineNumber == 232 ||
+							arg1.lineNumber == 239)
+					{
+						return;
+					}
+				}
+			}
+			em.report(arg0, arg1);
+		}
+
+		@Override
+		public void setTypedPercent(double arg0) {
+			em.setTypedPercent(arg0);
+		}
+    	
+    }
 }


[5/6] git commit: [flex-falcon] [refs/heads/develop] - fix createjs externs

Posted by ah...@apache.org.
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/90e4805c/externs/createjs/src/main/patch/easeljs.patch
----------------------------------------------------------------------
diff --git a/externs/createjs/src/main/patch/easeljs.patch b/externs/createjs/src/main/patch/easeljs.patch
index f934bc7..ead96c9 100644
--- a/externs/createjs/src/main/patch/easeljs.patch
+++ b/externs/createjs/src/main/patch/easeljs.patch
@@ -1,5 +1,5 @@
 diff --git a/externs/createjs/target/downloads/EaselJS-0.8.0/src/createjs/events/Event.js b/externs/createjs/target/downloads/EaselJS-0.8.0/src/createjs/events/Event.js
-index 3ce0025..71160cf 100644
+index 3ce0025..71f4e9f 100644
 --- a/externs/createjs/target/downloads/EaselJS-0.8.0/src/createjs/events/Event.js
 +++ b/externs/createjs/target/downloads/EaselJS-0.8.0/src/createjs/events/Event.js
 @@ -1,262 +1,76 @@
@@ -65,7 +65,7 @@ index 3ce0025..71160cf 100644
 +     * @see [Event]
 +     * @returns {(Event|null)} a clone of the Event instance.
 +     */
-+createjs.Event.clone = function () {  return null; }
++createjs.Event.prototype.clone = function () {  return null; }
  
 -// constructor:
 -	/**
@@ -203,7 +203,7 @@ index 3ce0025..71160cf 100644
 +     *
 +     * @see [Event]
 +     */
-+createjs.Event.remove = function () {  }
++createjs.Event.prototype.remove = function () {  }
  
 -	/**
 -	 * <strong>REMOVED</strong>. Removed in favor of using `MySuperClass_constructor`.
@@ -224,7 +224,7 @@ index 3ce0025..71160cf 100644
 +     * @see [Event]
 +     * @returns {(Event|null)} Returns the instance the method is called on (useful for chaining calls.)
 +     */
-+createjs.Event.set = function (props) {  return null; }
++createjs.Event.prototype.set = function (props) {  return null; }
  
 -// public methods:
 -	/**
@@ -241,7 +241,7 @@ index 3ce0025..71160cf 100644
 +     *
 +     * @see [Event]
 +     */
-+createjs.Event.stopPropagation = function () {  }
++createjs.Event.prototype.stopPropagation = function () {  }
  
 -	/**
 -	 * Sets {{#crossLink "Event/propagationStopped"}}{{/crossLink}} to true.
@@ -258,7 +258,7 @@ index 3ce0025..71160cf 100644
 +     *
 +     * @see [Event]
 +     */
-+createjs.Event.stopImmediatePropagation = function () {  }
++createjs.Event.prototype.stopImmediatePropagation = function () {  }
  
 -	/**
 -	 * Sets {{#crossLink "Event/propagationStopped"}}{{/crossLink}} and
@@ -311,7 +311,7 @@ index 3ce0025..71160cf 100644
 +     * @see [Event]
 +     * @returns {(string|null)} a string representation of the instance.
 +     */
-+createjs.Event.toString = function () {  return null; }
++createjs.Event.prototype.toString = function () {  return null; }
  
 -	/**
 -	 * Returns a string representation of this object.
@@ -327,12 +327,12 @@ index 3ce0025..71160cf 100644
 +     *
 +     * @see [Event]
 +     */
-+createjs.Event.preventDefault = function () {  }
++createjs.Event.prototype.preventDefault = function () {  }
  
 -	createjs.Event = Event;
 -}());
 diff --git a/externs/createjs/target/downloads/EaselJS-0.8.0/src/createjs/events/EventDispatcher.js b/externs/createjs/target/downloads/EaselJS-0.8.0/src/createjs/events/EventDispatcher.js
-index b95257c..1e8dce8 100644
+index b95257c..a9b2210 100644
 --- a/externs/createjs/target/downloads/EaselJS-0.8.0/src/createjs/events/EventDispatcher.js
 +++ b/externs/createjs/target/downloads/EaselJS-0.8.0/src/createjs/events/EventDispatcher.js
 @@ -1,407 +1,201 @@
@@ -427,7 +427,7 @@ index b95257c..1e8dce8 100644
 +     * @param {(Object|null)} target The target object to inject EventDispatcher methods into. This can be an instance or a prototype.
 +     * @see [EventDispatcher]
 +     */
-+createjs.EventDispatcher.prototype.initialize = function (target) {  }
++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
@@ -441,7 +441,7 @@ index b95257c..1e8dce8 100644
 +     * @see [EventDispatcher]
 +     * @returns {(boolean|null)} Returns `true` if there is at least one listener for the specified event.
 +     */
-+createjs.EventDispatcher.willTrigger = function (type) {  return null; }
++createjs.EventDispatcher.prototype.willTrigger = function (type) {  return null; }
 +
 +    /**
 +     * Removes all listeners for the specified type, or all listeners of all types.
@@ -457,7 +457,7 @@ index b95257c..1e8dce8 100644
 +     * @param {(string|null|undefined)} type The string type of the event. If omitted, all listeners for all types will be removed.
 +     * @see [EventDispatcher]
 +     */
-+createjs.EventDispatcher.removeAllEventListeners = function (type) {  }
++createjs.EventDispatcher.prototype.removeAllEventListeners = function (type) {  }
 +
 +    /**
 +     * Adds the specified event listener. Note that adding multiple listeners to the same function will result in
@@ -476,14 +476,14 @@ index b95257c..1e8dce8 100644
 +     * @see [EventDispatcher]
 +     * @returns {(Object|null)} Returns the listener for chaining or assignment.
 +     */
-+createjs.EventDispatcher.addEventListener = function (type, listener, useCapture) {  return null; }
++createjs.EventDispatcher.prototype.addEventListener = function (type, listener, useCapture) {  return null; }
 +
 +    /**
 +     * @param {(Event|Object|null)} eventObj 
 +     * @param {(Object|null)} eventPhase 
 +     * @see [EventDispatcher]
 +     */
-+createjs.EventDispatcher._dispatchEvent = function (eventObj, eventPhase) {  }
++createjs.EventDispatcher.prototype._dispatchEvent = function (eventObj, eventPhase) {  }
 +
 +    /**
 +     * Dispatches the specified event to all listeners.
@@ -501,7 +501,7 @@ index b95257c..1e8dce8 100644
 +     * @see [EventDispatcher]
 +     * @returns {(boolean|null)} Returns the value of eventObj.defaultPrevented.
 +     */
-+createjs.EventDispatcher.dispatchEvent = function (eventObj) {  return null; }
++createjs.EventDispatcher.prototype.dispatchEvent = function (eventObj) {  return null; }
 +
 +    /**
 +     * Removes the specified event listener.
@@ -519,7 +519,7 @@ index b95257c..1e8dce8 100644
 +     * @param {(boolean|null|undefined)} useCapture For events that bubble, indicates whether to listen for the event in the capture or bubbling/target phase.
 +     * @see [EventDispatcher]
 +     */
-+createjs.EventDispatcher.removeEventListener = function (type, listener, useCapture) {  }
++createjs.EventDispatcher.prototype.removeEventListener = function (type, listener, useCapture) {  }
 +
 +    /**
 +     * A shortcut method for using addEventListener that makes it easier to specify an execution scope, have a listener
@@ -550,13 +550,13 @@ index b95257c..1e8dce8 100644
 +     * @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.on = function (type, listener, scope, once, data, useCapture) {  return null; }
++createjs.EventDispatcher.prototype.on = function (type, listener, scope, once, data, useCapture) {  return null; }
 +
 +    /**
 +     * @see [EventDispatcher]
 +     * @returns {(string|null)} a string representation of the instance.
 +     */
-+createjs.EventDispatcher.toString = function () {  return null; }
++createjs.EventDispatcher.prototype.toString = function () {  return null; }
 +
 +    /**
 +     * Indicates whether there is at least one listener for the specified event type.
@@ -565,7 +565,7 @@ index b95257c..1e8dce8 100644
 +     * @see [EventDispatcher]
 +     * @returns {(boolean|null)} Returns true if there is at least one listener for the specified event.
 +     */
-+createjs.EventDispatcher.hasEventListener = function (type) {  return null; }
++createjs.EventDispatcher.prototype.hasEventListener = function (type) {  return null; }
  
 -// namespace:
 -this.createjs = this.createjs||{};
@@ -943,7 +943,7 @@ index b95257c..1e8dce8 100644
 -	createjs.EventDispatcher = EventDispatcher;
 -}());
 diff --git a/externs/createjs/target/downloads/EaselJS-0.8.0/src/createjs/utils/Ticker.js b/externs/createjs/target/downloads/EaselJS-0.8.0/src/createjs/utils/Ticker.js
-index 3c5c4a6..ad87beb 100644
+index 3c5c4a6..3f97740 100644
 --- a/externs/createjs/target/downloads/EaselJS-0.8.0/src/createjs/utils/Ticker.js
 +++ b/externs/createjs/target/downloads/EaselJS-0.8.0/src/createjs/utils/Ticker.js
 @@ -1,632 +1,182 @@
@@ -1008,36 +1008,36 @@ index 3c5c4a6..ad87beb 100644
 +     * @param {(number|null)} value 
 +     * @see [Ticker]
 +     */
-+createjs.Ticker.prototype.setFPS = function (value) {  }
++createjs.Ticker.setFPS = function (value) {  }
 +
 +    /**
 +     * @see [Ticker]
 +     */
-+createjs.Ticker.prototype._setupTick = function () {  }
++createjs.Ticker._setupTick = function () {  }
 +
 +    /**
 +     * Generated doc for missing method JSDoc.
 +     *
 +     * @see [Ticker]
 +     */
-+createjs.Ticker.prototype.addEventListener = function (type, handler) {  }
++createjs.Ticker.addEventListener = function (type, handler) {  }
 +
 +    /**
 +     * @see [Ticker]
 +     */
-+createjs.Ticker.prototype._handleRAF = function () {  }
++createjs.Ticker._handleRAF = function () {  }
 +
 +    /**
 +     * Starts the tick. This is called automatically when the first listener is added.
 +     *
 +     * @see [Ticker]
 +     */
-+createjs.Ticker.prototype.init = function () {  }
++createjs.Ticker.init = function () {  }
 +
 +    /**
 +     * @see [Ticker]
 +     */
-+createjs.Ticker.prototype._handleTimeout = function () {  }
++createjs.Ticker._handleTimeout = function () {  }
 +
 +    /**
 +     * Similar to getTime(), but returns the time on the most recent tick event object.
@@ -1046,7 +1046,7 @@ index 3c5c4a6..ad87beb 100644
 +     * @see [Ticker]
 +     * @returns {number} The time or runTime property from the most recent tick event or -1.
 +     */
-+createjs.Ticker.prototype.getEventTime = function (runTime) { return 0; }
++createjs.Ticker.getEventTime = function (runTime) { return 0; }
 +
 +    /**
 +     * Use the {{#crossLink "Ticker/paused:property"}}{{/crossLink}} property instead.
@@ -1054,7 +1054,7 @@ index 3c5c4a6..ad87beb 100644
 +     * @param {(boolean|null)} value 
 +     * @see [Ticker]
 +     */
-+createjs.Ticker.prototype.setPaused = function (value) {  }
++createjs.Ticker.setPaused = function (value) {  }
 +
 +    /**
 +     * Use the {{#crossLink "Ticker/framerate:property"}}{{/crossLink}} property instead.
@@ -1062,7 +1062,7 @@ index 3c5c4a6..ad87beb 100644
 +     * @see [Ticker]
 +     * @returns {(number|null)} 
 +     */
-+createjs.Ticker.prototype.getInterval = function () { return 0; }
++createjs.Ticker.getInterval = function () { return 0; }
 +
 +    /**
 +     * Use the {{#crossLink "Ticker/paused:property"}}{{/crossLink}} property instead.
@@ -1070,17 +1070,17 @@ index 3c5c4a6..ad87beb 100644
 +     * @see [Ticker]
 +     * @returns {(boolean|null)} 
 +     */
-+createjs.Ticker.prototype.getPaused = function () {  return null; }
++createjs.Ticker.getPaused = function () {  return null; }
 +
 +    /**
 +     * @see [Ticker]
 +     */
-+createjs.Ticker.prototype._handleSynch = function () {  }
++createjs.Ticker._handleSynch = function () {  }
 +
 +    /**
 +     * @see [Ticker]
 +     */
-+createjs.Ticker.prototype._tick = function () {  }
++createjs.Ticker._tick = function () {  }
 +
 +    /**
 +     * Returns the actual frames / ticks per second.
@@ -1089,7 +1089,7 @@ index 3c5c4a6..ad87beb 100644
 +     * @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.prototype.getMeasuredFPS = function (ticks) { return 0; }
++createjs.Ticker.getMeasuredFPS = function (ticks) { return 0; }
 +
 +    /**
 +     * Returns the number of milliseconds that have elapsed since Ticker was initialized via {{#crossLink "Ticker/init"}}.
@@ -1100,7 +1100,7 @@ index 3c5c4a6..ad87beb 100644
 +     * @see [Ticker]
 +     * @returns {(number|null)} Number of milliseconds that have elapsed since Ticker was initialized or -1.
 +     */
-+createjs.Ticker.prototype.getTime = function (runTime) { return 0; }
++createjs.Ticker.getTime = function (runTime) { return 0; }
 +
 +    /**
 +     * Returns the average time spent within a tick. This can vary significantly from the value provided by getMeasuredFPS
@@ -1118,21 +1118,21 @@ index 3c5c4a6..ad87beb 100644
 +     * @see [Ticker]
 +     * @returns {(number|null)} The average time spent in a tick in milliseconds.
 +     */
-+createjs.Ticker.prototype.getMeasuredTickTime = function (ticks) { return 0; }
++createjs.Ticker.getMeasuredTickTime = function (ticks) { return 0; }
 +
 +    /**
 +     * Generated doc for missing method JSDoc.
 +     *
 +     * @see [Ticker]
 +     */
-+createjs.Ticker.prototype._getTime = function () {  }
++createjs.Ticker._getTime = function () {  }
 +
 +    /**
 +     * Stops the Ticker and removes all listeners. Use init() to restart the createjs.Ticker.
 +     *
 +     * @see [Ticker]
 +     */
-+createjs.Ticker.prototype.reset = function () {  }
++createjs.Ticker.reset = function () {  }
 +
 +    /**
 +     * Returns the number of ticks that have been broadcast by createjs.Ticker.
@@ -1141,7 +1141,7 @@ index 3c5c4a6..ad87beb 100644
 +     * @see [Ticker]
 +     * @returns {(number|null)} of ticks that have been broadcast.
 +     */
-+createjs.Ticker.prototype.getTicks = function (pauseable) { return 0; }
++createjs.Ticker.getTicks = function (pauseable) { return 0; }
 +
 +    /**
 +     * Use the {{#crossLink "Ticker/interval:property"}}{{/crossLink}} property instead.
@@ -1149,7 +1149,7 @@ index 3c5c4a6..ad87beb 100644
 +     * @see [Ticker]
 +     * @returns {(number|null)} 
 +     */
-+createjs.Ticker.prototype.getFPS = function () { return 0; }
++createjs.Ticker.getFPS = function () { return 0; }
 +
 +    /**
 +     * Use the {{#crossLink "Ticker/interval:property"}}{{/crossLink}} property instead.
@@ -1157,7 +1157,7 @@ index 3c5c4a6..ad87beb 100644
 +     * @param {(number|null)} interval 
 +     * @see [Ticker]
 +     */
-+createjs.Ticker.prototype.setInterval = function (interval) {  }
++createjs.Ticker.setInterval = function (interval) {  }
  
 -// namespace:
 -this.createjs = this.createjs||{};
@@ -2082,7 +2082,7 @@ index eecac1a..99c556d 100644
 -	createjs.Bitmap = createjs.promote(Bitmap, "DisplayObject");
 -}());
 diff --git a/externs/createjs/target/downloads/EaselJS-0.8.0/src/easeljs/display/BitmapText.js b/externs/createjs/target/downloads/EaselJS-0.8.0/src/easeljs/display/BitmapText.js
-index bad6f1c..60b3c83 100644
+index bad6f1c..ff6f112 100644
 --- a/externs/createjs/target/downloads/EaselJS-0.8.0/src/easeljs/display/BitmapText.js
 +++ b/externs/createjs/target/downloads/EaselJS-0.8.0/src/easeljs/display/BitmapText.js
 @@ -1,343 +1,57 @@
@@ -2135,7 +2135,7 @@ index bad6f1c..60b3c83 100644
 +     * @see [BitmapText]
 +     * @returns {(number|null)} 
 +     */
-+createjs.BitmapText._getLineHeight = function (ss) { return 0; }
++createjs.BitmapText.prototype._getLineHeight = function (ss) { return 0; }
 +
 +
 +
@@ -2145,7 +2145,7 @@ index bad6f1c..60b3c83 100644
 +     * @see [BitmapText]
 +     * @returns {(number|null)} 
 +     */
-+createjs.BitmapText._getSpaceWidth = function (ss) { return 0; }
++createjs.BitmapText.prototype._getSpaceWidth = function (ss) { return 0; }
 +
 +
 +    /**
@@ -2154,7 +2154,7 @@ index bad6f1c..60b3c83 100644
 +     * @see [BitmapText]
 +     * @returns {(number|null)} 
 +     */
-+createjs.BitmapText._getFrameIndex = function (character, spriteSheet) { return 0; }
++createjs.BitmapText.prototype._getFrameIndex = function (character, spriteSheet) { return 0; }
 +
 +
 +    /**
@@ -2163,12 +2163,12 @@ index bad6f1c..60b3c83 100644
 +     * @see [BitmapText]
 +     * @returns {(Object|null)} 
 +     */
-+createjs.BitmapText._getFrame = function (character, spriteSheet) {  return null; }
++createjs.BitmapText.prototype._getFrame = function (character, spriteSheet) {  return null; }
 +
 +    /**
 +     * @see [BitmapText]
 +     */
-+createjs.BitmapText._updateText = function () {  }
++createjs.BitmapText.prototype._updateText = function () {  }
  
 -this.createjs = this.createjs || {};
 -
@@ -2486,7 +2486,7 @@ index bad6f1c..60b3c83 100644
 -	createjs.BitmapText = createjs.promote(BitmapText, "Container");
 -}());
 diff --git a/externs/createjs/target/downloads/EaselJS-0.8.0/src/easeljs/display/Container.js b/externs/createjs/target/downloads/EaselJS-0.8.0/src/easeljs/display/Container.js
-index ea406f7..3f6fef6 100644
+index ea406f7..2f58e1f 100644
 --- a/externs/createjs/target/downloads/EaselJS-0.8.0/src/easeljs/display/Container.js
 +++ b/externs/createjs/target/downloads/EaselJS-0.8.0/src/easeljs/display/Container.js
 @@ -1,690 +1,309 @@
@@ -2639,7 +2639,7 @@ index ea406f7..3f6fef6 100644
 +     * @param {(Function|null)} sortFunction the function to use to sort the child list. See JavaScript's <code>Array.sort</code> documentation for details.
 +     * @see [Container]
 +     */
-+createjs.Container.sortChildren = function (sortFunction) {  }
++createjs.Container.prototype.sortChildren = function (sortFunction) {  }
 +
 +    /**
 +     * Returns the index of the specified child in the display list, or -1 if it is not in the display list.
@@ -2652,7 +2652,7 @@ index ea406f7..3f6fef6 100644
 +     * @see [Container]
 +     * @returns {(number|null)} The index of the specified child. -1 if the child is not found.
 +     */
-+createjs.Container.getChildIndex = function (child) { return 0; }
++createjs.Container.prototype.getChildIndex = function (child) { return 0; }
 +
 +    /**
 +     * Returns true if the specified display object either is this container or is a descendent (child, grandchild, etc)
@@ -2662,7 +2662,7 @@ index ea406f7..3f6fef6 100644
 +     * @see [Container]
 +     * @returns {(boolean|null)} true if the specified display object either is this container or is a descendent.
 +     */
-+createjs.Container.contains = function (child) {  return null; }
++createjs.Container.prototype.contains = function (child) {  return null; }
 +
 +
 +    /**
@@ -2689,7 +2689,7 @@ index ea406f7..3f6fef6 100644
 +     * @see [Container]
 +     * @returns {(createjs.DisplayObject|null)} Returns the last child that was added, or the last child if multiple children were added.
 +     */
-+createjs.Container.addChildAt = function (child, index) {  return null; }
++createjs.Container.prototype.addChildAt = function (child, index) {  return null; }
 +
 +    /**
 +     * Removes all children from the display list.
@@ -2700,7 +2700,7 @@ index ea406f7..3f6fef6 100644
 +     *
 +     * @see [Container]
 +     */
-+createjs.Container.removeAllChildren = function () {  }
++createjs.Container.prototype.removeAllChildren = function () {  }
 +
 +    /**
 +     * Removes the child at the specified index from the display list, and sets its parent to null.
@@ -2719,7 +2719,7 @@ index ea406f7..3f6fef6 100644
 +     * @see [Container]
 +     * @returns {(boolean|null)} true if the child (or children) was removed, or false if any index was out of range.
 +     */
-+createjs.Container.removeChildAt = function (index) {  return null; }
++createjs.Container.prototype.removeChildAt = function (index) {  return null; }
  
 -	/**
 -	 * Returns the number of children in the container.
@@ -2761,7 +2761,7 @@ index ea406f7..3f6fef6 100644
 +     * @see [Container]
 +     * @returns {(number|null)} 
 +     */
-+createjs.Container.getNumChildren = function () { return 0; }
++createjs.Container.prototype.getNumChildren = function () { return 0; }
  
 -	/**
 -	 * Draws the display object into the specified context ignoring its visible, alpha, shadow, and transform.
@@ -2827,7 +2827,7 @@ index ea406f7..3f6fef6 100644
 +     * @param {(number|null)} index2 
 +     * @see [Container]
 +     */
-+createjs.Container.swapChildrenAt = function (index1, index2) {  }
++createjs.Container.prototype.swapChildrenAt = function (index1, index2) {  }
  
 -	/**
 -	 * Adds a child to the display list at the specified index, bumping children at equal or greater indexes up one, and
@@ -2949,7 +2949,7 @@ index ea406f7..3f6fef6 100644
 +     * @see [Container]
 +     * @returns {(createjs.DisplayObject|null)} The child with the specified name.
 +     */
-+createjs.Container.getChildByName = function (name) {  return null; }
++createjs.Container.prototype.getChildByName = function (name) {  return null; }
  
 -	/**
 -	 * Returns the child at the specified index.
@@ -3010,7 +3010,7 @@ index ea406f7..3f6fef6 100644
 +     * @see [Container]
 +     * @returns {(createjs.DisplayObject|null)} The child at the specified index. Returns null if there is no child at the index.
 +     */
-+createjs.Container.getChildAt = function (index) {  return null; }
++createjs.Container.prototype.getChildAt = function (index) {  return null; }
  
 -	/**
 -	 * Returns the index of the specified child in the display list, or -1 if it is not in the display list.
@@ -3086,7 +3086,7 @@ index ea406f7..3f6fef6 100644
 +     * @param {(createjs.DisplayObject|null)} child2 
 +     * @see [Container]
 +     */
-+createjs.Container.swapChildren = function (child1, child2) {  }
++createjs.Container.prototype.swapChildren = function (child1, child2) {  }
  
 -	/**
 -	 * Returns true if the specified display object either is this container or is a descendent (child, grandchild, etc)
@@ -3113,7 +3113,7 @@ index ea406f7..3f6fef6 100644
 +     * @see [Container]
 +     * @returns {(createjs.DisplayObject|null)} The top-most display object under the specified coordinates.
 +     */
-+createjs.Container.getObjectUnderPoint = function (x, y, mode) {  return null; }
++createjs.Container.prototype.getObjectUnderPoint = function (x, y, mode) {  return null; }
  
 -	/**
 -	 * Tests whether the display object intersects the specified local point (ie. draws a pixel with alpha > 0 at the
@@ -3198,7 +3198,7 @@ index ea406f7..3f6fef6 100644
 +     * @param {(number|null)} index 
 +     * @see [Container]
 +     */
-+createjs.Container.setChildIndex = function (child, index) {  }
++createjs.Container.prototype.setChildIndex = function (child, index) {  }
  
 -	/**
 -	 * Returns a clone of this Container. Some properties that are specific to this instance's current context are
@@ -3239,7 +3239,7 @@ index ea406f7..3f6fef6 100644
 +     * @see [Container]
 +     * @returns {(Array|null)} An Array of DisplayObjects under the specified coordinates.
 +     */
-+createjs.Container.getObjectsUnderPoint = function (x, y, mode) {  return null; }
++createjs.Container.prototype.getObjectsUnderPoint = function (x, y, mode) {  return null; }
  
 -	/**
 -	 * Returns a string representation of this object.
@@ -3267,7 +3267,7 @@ index ea406f7..3f6fef6 100644
 +     * @see [Container]
 +     * @returns {(boolean|null)} true if the child (or children) was removed, or false if it was not in the display list.
 +     */
-+createjs.Container.removeChild = function (child) {  return null; }
++createjs.Container.prototype.removeChild = function (child) {  return null; }
  
 +    /**
 +     * @param {(number|null)} x 
@@ -3279,7 +3279,7 @@ index ea406f7..3f6fef6 100644
 +     * @see [Container]
 +     * @returns {(createjs.DisplayObject|null)} 
 +     */
-+createjs.Container._getObjectsUnderPoint = function (x, y, arr, mouse, activeListener, currentDepth) {  return null; }
++createjs.Container.prototype._getObjectsUnderPoint = function (x, y, arr, mouse, activeListener, currentDepth) {  return null; }
  
 -// private methods:
 -	/**
@@ -3319,7 +3319,7 @@ index ea406f7..3f6fef6 100644
 +     * @see [Container]
 +     * @returns {(boolean|null)} Indicates whether the x/y is within the masked region.
 +     */
-+createjs.Container._testMask = function (target, x, y) {  return null; }
++createjs.Container.prototype._testMask = function (target, x, y) {  return null; }
  
 -	/**
 -	 * @method _getObjectsUnderPoint
@@ -3352,7 +3352,7 @@ index ea406f7..3f6fef6 100644
 +     * @see [Container]
 +     * @returns {(createjs.DisplayObject|null)} The child that was added, or the last child if multiple children were added.
 +     */
-+createjs.Container.addChild = function (child) {  return null; }
++createjs.Container.prototype.addChild = function (child) {  return null; }
  
 -		// draw children one at a time, and check if we get a hit:
 -		var children = this.children, l = children.length;
@@ -3453,12 +3453,12 @@ index ea406f7..3f6fef6 100644
 +     * @param {(createjs.Container|null)} o The target container.
 +     * @see [Container]
 +     */
-+createjs.Container._cloneChildren = function (o) {  }
++createjs.Container.prototype._cloneChildren = function (o) {  }
  
 -	createjs.Container = createjs.promote(Container, "DisplayObject");
 -}());
 diff --git a/externs/createjs/target/downloads/EaselJS-0.8.0/src/easeljs/display/DOMElement.js b/externs/createjs/target/downloads/EaselJS-0.8.0/src/easeljs/display/DOMElement.js
-index f6eab31..7cfa48e 100644
+index f6eab31..de5f57e 100644
 --- a/externs/createjs/target/downloads/EaselJS-0.8.0/src/easeljs/display/DOMElement.js
 +++ b/externs/createjs/target/downloads/EaselJS-0.8.0/src/easeljs/display/DOMElement.js
 @@ -1,273 +1,53 @@
@@ -3768,12 +3768,12 @@ index f6eab31..7cfa48e 100644
 +     * @param {(Event|null)} evt 
 +     * @see [DOMElement]
 +     */
-+createjs.DOMElement._handleDrawEnd = function (evt) {  }
++createjs.DOMElement.prototype._handleDrawEnd = function (evt) {  }
  
 -	createjs.DOMElement = createjs.promote(DOMElement, "DisplayObject");
 -}());
 diff --git a/externs/createjs/target/downloads/EaselJS-0.8.0/src/easeljs/display/DisplayObject.js b/externs/createjs/target/downloads/EaselJS-0.8.0/src/easeljs/display/DisplayObject.js
-index 90b4526..73ecc0d 100644
+index 90b4526..ee21bf6 100644
 --- a/externs/createjs/target/downloads/EaselJS-0.8.0/src/easeljs/display/DisplayObject.js
 +++ b/externs/createjs/target/downloads/EaselJS-0.8.0/src/easeljs/display/DisplayObject.js
 @@ -1,1364 +1,492 @@
@@ -3971,7 +3971,7 @@ index 90b4526..73ecc0d 100644
 +     * @param {(CanvasRenderingContext2D|null)} ctx The canvas 2D to update.
 +     * @see [DisplayObject]
 +     */
-+createjs.DisplayObject.updateContext = function (ctx) {  }
++createjs.DisplayObject.prototype.updateContext = function (ctx) {  }
 +
 +    /**
 +     * Provides a chainable shortcut method for setting a number of properties on the instance.
@@ -3985,7 +3985,7 @@ index 90b4526..73ecc0d 100644
 +     * @see [DisplayObject]
 +     * @returns {(createjs.DisplayObject|null)} Returns the instance the method is called on (useful for chaining calls.)
 +     */
-+createjs.DisplayObject.set = function (props) {  return null; }
++createjs.DisplayObject.prototype.set = function (props) {  return null; }
 +
 +    /**
 +     * Transforms the specified x and y position from the coordinate space of the display object
@@ -4007,20 +4007,20 @@ index 90b4526..73ecc0d 100644
 +     * @see [DisplayObject]
 +     * @returns {(createjs.Point|null)} A Point instance with x and y properties correlating to the transformed coordinates on the stage.
 +     */
-+createjs.DisplayObject.localToGlobal = function (x, y, pt) {  return null; }
++createjs.DisplayObject.prototype.localToGlobal = function (x, y, pt) {  return null; }
 +
 +    /**
 +     * @param {(CanvasRenderingContext2D|null)} ctx 
 +     * @see [DisplayObject]
 +     * @returns {(boolean|null)} 
 +     */
-+createjs.DisplayObject._testHit = function (ctx) {  return null; }
++createjs.DisplayObject.prototype._testHit = function (ctx) {  return null; }
 +
 +    /**
 +     * @see [DisplayObject]
 +     * @returns {(createjs.Rectangle|null)} 
 +     */
-+createjs.DisplayObject._getFilterBounds = function (rect) {  return null; }
++createjs.DisplayObject.prototype._getFilterBounds = function (rect) {  return null; }
 +
 +    /**
 +     * Indicates whether the display object has any mouse event listeners or a cursor.
@@ -4028,7 +4028,7 @@ index 90b4526..73ecc0d 100644
 +     * @see [DisplayObject]
 +     * @returns {(boolean|null)} 
 +     */
-+createjs.DisplayObject._hasMouseEventListener = function () {  return null; }
++createjs.DisplayObject.prototype._hasMouseEventListener = function () {  return null; }
 +
 +    /**
 +     * @param {(createjs.Matrix2D|null)} matrix 
@@ -4036,7 +4036,7 @@ index 90b4526..73ecc0d 100644
 +     * @see [DisplayObject]
 +     * @returns {(createjs.Rectangle|null)} 
 +     */
-+createjs.DisplayObject._getBounds = function (matrix, ignoreTransform) {  return null; }
++createjs.DisplayObject.prototype._getBounds = function (matrix, ignoreTransform) {  return null; }
 +
 +    /**
 +     * @param {(createjs.Rectangle|null)} bounds 
@@ -4045,7 +4045,7 @@ index 90b4526..73ecc0d 100644
 +     * @see [DisplayObject]
 +     * @returns {(createjs.Rectangle|null)} 
 +     */
-+createjs.DisplayObject._transformBounds = function (bounds, matrix, ignoreTransform) {  return null; }
++createjs.DisplayObject.prototype._transformBounds = function (bounds, matrix, ignoreTransform) {  return null; }
 +
 +    /**
 +     * Draws the display object into the specified context ignoring its visible, alpha, shadow, and transform.
@@ -4058,13 +4058,13 @@ index 90b4526..73ecc0d 100644
 +     * @see [DisplayObject]
 +     * @returns {(boolean|null)} 
 +     */
-+createjs.DisplayObject.draw = function (ctx, ignoreCache) {  return null; }
++createjs.DisplayObject.prototype.draw = function (ctx, ignoreCache) {  return null; }
 +
 +    /**
 +     * @param {(Object|null)} evtObj An event object that will be dispatched to all tick listeners. This object is reused between dispatchers to reduce construction & GC costs.
 +     * @see [DisplayObject]
 +     */
-+createjs.DisplayObject._tick = function (evtObj) {  }
++createjs.DisplayObject.prototype._tick = function (evtObj) {  }
 +
 +    /**
 +     * Tests whether the display object intersects the specified point in local coordinates (ie. draws a pixel with alpha > 0 at
@@ -4084,7 +4084,7 @@ index 90b4526..73ecc0d 100644
 +     * @see [DisplayObject]
 +     * @returns {(boolean|null)} A Boolean indicating whether a visible portion of the DisplayObject intersect the specified local Point.
 +     */
-+createjs.DisplayObject.hitTest = function (x, y) {  return null; }
++createjs.DisplayObject.prototype.hitTest = function (x, y) {  return null; }
 +
 +    /**
 +     * Returns true or false indicating whether the display object would be visible if drawn to a canvas.
@@ -4095,12 +4095,12 @@ index 90b4526..73ecc0d 100644
 +     * @see [DisplayObject]
 +     * @returns {(boolean|null)} Boolean indicating whether the display object would be visible if drawn to a canvas
 +     */
-+createjs.DisplayObject.isVisible = function () {  return null; }
++createjs.DisplayObject.prototype.isVisible = function () {  return null; }
 +
 +    /**
 +     * @see [DisplayObject]
 +     */
-+createjs.DisplayObject._applyFilters = function () {  }
++createjs.DisplayObject.prototype._applyFilters = function () {  }
 +
 +    /**
 +     * Redraws the display object to its cache. Calling updateCache without an active cache will throw an error.
@@ -4119,7 +4119,7 @@ index 90b4526..73ecc0d 100644
 +     * @param {(string|null)} compositeOperation The compositeOperation to use, or null to clear the cache and redraw it. <a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/the-canvas-element.html#compositing"> whatwg spec on compositing</a>.
 +     * @see [DisplayObject]
 +     */
-+createjs.DisplayObject.updateCache = function (compositeOperation) {  }
++createjs.DisplayObject.prototype.updateCache = function (compositeOperation) {  }
 +
 +    /**
 +     * Returns a rectangle representing this object's bounds in its local coordinate system (ie. with no transformation).
@@ -4176,14 +4176,14 @@ index 90b4526..73ecc0d 100644
 +     * @see [DisplayObject]
 +     * @returns {(createjs.Rectangle|null)} A Rectangle instance representing the bounds, or null if bounds are not available for this object.
 +     */
-+createjs.DisplayObject.getBounds = function () {  return null; }
++createjs.DisplayObject.prototype.getBounds = function () {  return null; }
 +
 +    /**
 +     * Clears the current cache. See {{#crossLink "DisplayObject/cache"}}{{/crossLink}} for more information.
 +     *
 +     * @see [DisplayObject]
 +     */
-+createjs.DisplayObject.uncache = function () {  }
++createjs.DisplayObject.prototype.uncache = function () {  }
 +
 +    /**
 +     * Transforms the specified x and y position from the global (stage) coordinate space to the
@@ -4205,14 +4205,14 @@ index 90b4526..73ecc0d 100644
 +     * @see [DisplayObject]
 +     * @returns {(createjs.Point|null)} A Point instance with x and y properties correlating to the transformed position in the display object's coordinate space.
 +     */
-+createjs.DisplayObject.globalToLocal = function (x, y, pt) {  return null; }
++createjs.DisplayObject.prototype.globalToLocal = function (x, y, pt) {  return null; }
 +
 +    /**
 +     * @param {(CanvasRenderingContext2D|null)} ctx 
 +     * @param {(createjs.Shadow|null)} shadow 
 +     * @see [DisplayObject]
 +     */
-+createjs.DisplayObject._applyShadow = function (ctx, shadow) {  }
++createjs.DisplayObject.prototype._applyShadow = function (ctx, shadow) {  }
 +
 +    /**
 +     * Returns a clone of this createjs.DisplayObject. Some properties that are specific to this instance's current context are
@@ -4222,7 +4222,7 @@ index 90b4526..73ecc0d 100644
 +     * @see [DisplayObject]
 +     * @returns {(createjs.DisplayObject|null)} A clone of the current DisplayObject instance.
 +     */
-+createjs.DisplayObject.clone = function () {  return null; }
++createjs.DisplayObject.prototype.clone = function () {  return null; }
 +
 +    /**
 +     * Draws the display object into a new canvas, which is then used for subsequent draws. For complex content
@@ -4253,7 +4253,7 @@ index 90b4526..73ecc0d 100644
 +     * @param {(number|null|undefined)} scale The scale at which the cache will be created. For example, if you cache a vector shape using myShape.cache(0,0,100,100,2) then the resulting cacheCanvas will be 200x200 px. This lets you scale and rotate cached elements with greater fidelity. Default is 1.
 +     * @see [DisplayObject]
 +     */
-+createjs.DisplayObject.cache = function (x, y, width, height, scale) {  }
++createjs.DisplayObject.prototype.cache = function (x, y, width, height, scale) {  }
 +
 +    /**
 +     * Returns a rectangle representing this object's bounds in its parent's coordinate system (ie. with transformations applied).
@@ -4271,7 +4271,7 @@ index 90b4526..73ecc0d 100644
 +     * @see [DisplayObject]
 +     * @returns {(createjs.Rectangle|null)} A Rectangle instance representing the bounds, or null if bounds are not available for this object.
 +     */
-+createjs.DisplayObject.getTransformedBounds = function () {  return null; }
++createjs.DisplayObject.prototype.getTransformedBounds = function () {  return null; }
 +
 +    /**
 +     * Shortcut method to quickly set the transform properties on the display object. All parameters are optional.
@@ -4293,7 +4293,7 @@ index 90b4526..73ecc0d 100644
 +     * @see [DisplayObject]
 +     * @returns {(createjs.DisplayObject|null)} Returns this instance. Useful for chaining commands.
 +     */
-+createjs.DisplayObject.setTransform = function (x, y, scaleX, scaleY, rotation, skewX, skewY, regX, regY) {  return null; }
++createjs.DisplayObject.prototype.setTransform = function (x, y, scaleX, scaleY, rotation, skewX, skewY, regX, regY) {  return null; }
 +
 +    /**
 +     * Generates a Matrix2D object representing the combined transform of the display object and all of its
@@ -4305,7 +4305,7 @@ index 90b4526..73ecc0d 100644
 +     * @see [DisplayObject]
 +     * @returns {(createjs.Matrix2D|null)} The combined matrix.
 +     */
-+createjs.DisplayObject.getConcatenatedMatrix = function (matrix) {  return null; }
++createjs.DisplayObject.prototype.getConcatenatedMatrix = function (matrix) {  return null; }
 +
 +    /**
 +     * Transforms the specified x and y position from the coordinate space of this display object to the coordinate
@@ -4323,7 +4323,7 @@ index 90b4526..73ecc0d 100644
 +     * @see [DisplayObject]
 +     * @returns {(createjs.Point|null)} Returns a Point instance with x and y properties correlating to the transformed position in the target's coordinate space.
 +     */
-+createjs.DisplayObject.localToLocal = function (x, y, target, pt) {  return null; }
++createjs.DisplayObject.prototype.localToLocal = function (x, y, target, pt) {  return null; }
 +
 +    /**
 +     * Allows you to manually specify the bounds of an object that either cannot calculate their own bounds (ex. Shape &
@@ -4339,7 +4339,7 @@ index 90b4526..73ecc0d 100644
 +     * @param {(number|null)} height The height of the bounds.
 +     * @see [DisplayObject]
 +     */
-+createjs.DisplayObject.setBounds = function (x, y, width, height) {  }
++createjs.DisplayObject.prototype.setBounds = function (x, y, width, height) {  }
 +
 +    /**
 +     * Use the {{#crossLink "DisplayObject/stage:property"}}{{/crossLink}} property instead.
@@ -4347,7 +4347,7 @@ index 90b4526..73ecc0d 100644
 +     * @see [DisplayObject]
 +     * @returns {(createjs.Stage|null)} 
 +     */
-+createjs.DisplayObject.getStage = function () {  return null; }
++createjs.DisplayObject.prototype.getStage = function () {  return null; }
 +
 +    /**
 +     * Returns a data URL for the cache, or null if this display object is not cached.
@@ -4356,14 +4356,14 @@ index 90b4526..73ecc0d 100644
 +     * @see [DisplayObject]
 +     * @returns {(string|null)} The image data url for the cache.
 +     */
-+createjs.DisplayObject.getCacheDataURL = function () {  return null; }
++createjs.DisplayObject.prototype.getCacheDataURL = function () {  return null; }
 +
 +    /**
 +     * @param {(createjs.DisplayObject|null)} o The DisplayObject instance which will have properties from the current DisplayObject instance copied into.
 +     * @see [DisplayObject]
 +     * @returns {(createjs.DisplayObject|null)} o
 +     */
-+createjs.DisplayObject._cloneProps = function (o) {  return null; }
++createjs.DisplayObject.prototype._cloneProps = function (o) {  return null; }
 +
 +    /**
 +     * Generates a DisplayProps object representing the combined display properties of the  object and all of its
@@ -4373,7 +4373,7 @@ index 90b4526..73ecc0d 100644
 +     * @see [DisplayObject]
 +     * @returns {(createjs.DisplayProps|null)} The combined display properties.
 +     */
-+createjs.DisplayObject.getConcatenatedDisplayProps = function (props) {  return null; }
++createjs.DisplayObject.prototype.getConcatenatedDisplayProps = function (props) {  return null; }
 +
 +    /**
 +     * Returns a matrix based on this object's current transform.
@@ -4382,7 +4382,7 @@ index 90b4526..73ecc0d 100644
 +     * @see [DisplayObject]
 +     * @returns {(createjs.Matrix2D|null)} A matrix representing this display object's transform.
 +     */
-+createjs.DisplayObject.getMatrix = function (matrix) {  return null; }
++createjs.DisplayObject.prototype.getMatrix = function (matrix) {  return null; }
  
 -// namespace:
 -this.createjs = this.createjs||{};
@@ -5629,7 +5629,7 @@ index 90b4526..73ecc0d 100644
 -	createjs.DisplayObject = createjs.promote(DisplayObject, "EventDispatcher");
 -}());
 diff --git a/externs/createjs/target/downloads/EaselJS-0.8.0/src/easeljs/display/Graphics.js b/externs/createjs/target/downloads/EaselJS-0.8.0/src/easeljs/display/Graphics.js
-index 690a649..860b280 100644
+index 690a649..995c908 100644
 --- a/externs/createjs/target/downloads/EaselJS-0.8.0/src/easeljs/display/Graphics.js
 +++ b/externs/createjs/target/downloads/EaselJS-0.8.0/src/easeljs/display/Graphics.js
 @@ -1,2177 +1,720 @@
@@ -7940,7 +7940,7 @@ index 690a649..860b280 100644
 +     * @see [Graphics]
 +     * @returns {(string|null)} A CSS compatible color string based on the specified RGB numeric color values in the format "rgba(255,255,255,1.0)", or if alpha is null then in the format "rgb(255,255,255)".
 +     */
-+createjs.Graphics.prototype.getRGB = function (r, g, b, alpha) {  return null; }
++createjs.Graphics.getRGB = function (r, g, b, alpha) {  return null; }
 +
 +    /**
 +     * Returns a CSS compatible color string based on the specified HSL numeric color values in the format "hsla(360,100,100,1.0)",
@@ -7956,7 +7956,7 @@ index 690a649..860b280 100644
 +     * @see [Graphics]
 +     * @returns {(string|null)} A CSS compatible color string based on the specified HSL numeric color values in the format "hsla(360,100,100,1.0)", or if alpha is null then in the format "hsl(360,100,100)".
 +     */
-+createjs.Graphics.prototype.getHSL = function (hue, saturation, lightness, alpha) {  return null; }
++createjs.Graphics.getHSL = function (hue, saturation, lightness, alpha) {  return null; }
 +
 +    /**
 +     * Stores all graphics commands so they won't be executed in future draws. Calling store() a second time adds to
@@ -7994,7 +7994,7 @@ index 690a649..860b280 100644
 +     * @see [Graphics]
 +     * @returns {(createjs.Graphics|null)} The Graphics instance the method is called on (useful for chaining calls.)
 +     */
-+createjs.Graphics.store = function () {  return null; }
++createjs.Graphics.prototype.store = function () {  return null; }
 +
 +    /**
 +     * Closes the current path, effectively drawing a line from the current drawing point to the first drawing point specified
@@ -8003,7 +8003,7 @@ index 690a649..860b280 100644
 +     * @see [Graphics]
 +     * @returns {(createjs.Graphics|null)} The Graphics instance the method is called on (useful for chaining calls.)
 +     */
-+createjs.Graphics.closePath = function () {  return null; }
++createjs.Graphics.prototype.closePath = function () {  return null; }
 +
 +    /**
 +     * Begins a linear gradient fill defined by the line (x0, y0) to (x1, y1). This ends the current sub-path. For
@@ -8023,7 +8023,7 @@ index 690a649..860b280 100644
 +     * @see [Graphics]
 +     * @returns {(createjs.Graphics|null)} The Graphics instance the method is called on (useful for chaining calls.)
 +     */
-+createjs.Graphics.beginLinearGradientFill = function (colors, ratios, x0, y0, x1, y1) {  return null; }
++createjs.Graphics.prototype.beginLinearGradientFill = function (colors, ratios, x0, y0, x1, y1) {  return null; }
 +
 +    /**
 +     * Begins a radial gradient stroke. This ends the current sub-path. For example, the following code defines a red to
@@ -8046,7 +8046,7 @@ index 690a649..860b280 100644
 +     * @see [Graphics]
 +     * @returns {(createjs.Graphics|null)} The Graphics instance the method is called on (useful for chaining calls.)
 +     */
-+createjs.Graphics.beginRadialGradientStroke = function (colors, ratios, x0, y0, r0, x1, y1, r1) {  return null; }
++createjs.Graphics.prototype.beginRadialGradientStroke = function (colors, ratios, x0, y0, r0, x1, y1, r1) {  return null; }
 +
 +    /**
 +     * Draws a rounded rectangle with different corner radii. Supports positive and negative corner radii. A tiny API
@@ -8063,7 +8063,7 @@ index 690a649..860b280 100644
 +     * @see [Graphics]
 +     * @returns {(createjs.Graphics|null)} The Graphics instance the method is called on (useful for chaining calls.)
 +     */
-+createjs.Graphics.drawRoundRectComplex = function (x, y, w, h, radiusTL, radiusTR, radiusBR, radiusBL) {  return null; }
++createjs.Graphics.prototype.drawRoundRectComplex = function (x, y, w, h, radiusTL, radiusTR, radiusBR, radiusBL) {  return null; }
 +
 +    /**
 +     * Decodes a compact encoded path string into a series of draw instructions.
@@ -8101,7 +8101,7 @@ index 690a649..860b280 100644
 +     * @see [Graphics]
 +     * @returns {(createjs.Graphics|null)} The Graphics instance the method is called on (useful for chaining calls.)
 +     */
-+createjs.Graphics.decodePath = function (str) {  return null; }
++createjs.Graphics.prototype.decodePath = function (str) {  return null; }
 +
 +    /**
 +     * Draws a bezier curve from the current drawing point to (x, y) using the control points (cp1x, cp1y) and (cp2x,
@@ -8118,7 +8118,7 @@ index 690a649..860b280 100644
 +     * @see [Graphics]
 +     * @returns {(createjs.Graphics|null)} The Graphics instance the method is called on (useful for chaining calls.)
 +     */
-+createjs.Graphics.bezierCurveTo = function (cp1x, cp1y, cp2x, cp2y, x, y) {  return null; }
++createjs.Graphics.prototype.bezierCurveTo = function (cp1x, cp1y, cp2x, cp2y, x, y) {  return null; }
 +
 +    /**
 +     * Begins a radial gradient fill. This ends the current sub-path. For example, the following code defines a red to
@@ -8139,7 +8139,7 @@ index 690a649..860b280 100644
 +     * @see [Graphics]
 +     * @returns {(createjs.Graphics|null)} The Graphics instance the method is called on (useful for chaining calls.)
 +     */
-+createjs.Graphics.beginRadialGradientFill = function (colors, ratios, x0, y0, r0, x1, y1, r1) {  return null; }
++createjs.Graphics.prototype.beginRadialGradientFill = function (colors, ratios, x0, y0, r0, x1, y1, r1) {  return null; }
 +
 +    /**
 +     * Draws the display object into the specified context ignoring its visible, alpha, shadow, and transform.
@@ -8151,7 +8151,7 @@ index 690a649..860b280 100644
 +     * @param {(Object|null)} data Optional data that is passed to graphics command exec methods. When called from a Shape instance, the shape passes itself as the data parameter. This can be used by custom graphic commands to insert contextual data.
 +     * @see [Graphics]
 +     */
-+createjs.Graphics.draw = function (ctx, data) {  }
++createjs.Graphics.prototype.draw = function (ctx, data) {  }
 +
 +    /**
 +     * Clears all drawing instructions, effectively resetting this Graphics instance. Any line and fill styles will need
@@ -8160,7 +8160,7 @@ index 690a649..860b280 100644
 +     * @see [Graphics]
 +     * @returns {(createjs.Graphics|null)} The Graphics instance the method is called on (useful for chaining calls.)
 +     */
-+createjs.Graphics.clear = function () {  return null; }
++createjs.Graphics.prototype.clear = function () {  return null; }
 +
 +    /**
 +     * Returns true if this Graphics instance has no drawing commands.
@@ -8168,7 +8168,7 @@ index 690a649..860b280 100644
 +     * @see [Graphics]
 +     * @returns {(boolean|null)} Returns true if this Graphics instance has no drawing commands.
 +     */
-+createjs.Graphics.isEmpty = function () {  return null; }
++createjs.Graphics.prototype.isEmpty = function () {  return null; }
 +
 +    /**
 +     * Draws an arc defined by the radius, startAngle and endAngle arguments, centered at the position (x, y). For
@@ -8189,7 +8189,7 @@ index 690a649..860b280 100644
 +     * @see [Graphics]
 +     * @returns {(createjs.Graphics|null)} The Graphics instance the method is called on (useful for chaining calls.)
 +     */
-+createjs.Graphics.arc = function (x, y, radius, startAngle, endAngle, anticlockwise) {  return null; }
++createjs.Graphics.prototype.arc = function (x, y, radius, startAngle, endAngle, anticlockwise) {  return null; }
 +
 +    /**
 +     * Draws a star if pointSize is greater than 0, or a regular polygon if pointSize is 0 with the specified number of
@@ -8210,19 +8210,19 @@ index 690a649..860b280 100644
 +     * @see [Graphics]
 +     * @returns {(createjs.Graphics|null)} The Graphics instance the method is called on (useful for chaining calls.)
 +     */
-+createjs.Graphics.drawPolyStar = function (x, y, radius, sides, pointSize, angle) {  return null; }
++createjs.Graphics.prototype.drawPolyStar = function (x, y, radius, sides, pointSize, angle) {  return null; }
 +
 +    /**
 +     * @param commit 
 +     * @see [Graphics]
 +     */
-+createjs.Graphics._updateInstructions = function (commit) {  }
++createjs.Graphics.prototype._updateInstructions = function (commit) {  }
 +
 +    /**
 +     * @param fill 
 +     * @see [Graphics]
 +     */
-+createjs.Graphics._setFill = function (fill) {  }
++createjs.Graphics.prototype._setFill = function (fill) {  }
 +
 +    /**
 +     * Begins a pattern fill using the specified image. This ends the current sub-path. A tiny API method "bf" also
@@ -8234,7 +8234,7 @@ index 690a649..860b280 100644
 +     * @see [Graphics]
 +     * @returns {(createjs.Graphics|null)} The Graphics instance the method is called on (useful for chaining calls.)
 +     */
-+createjs.Graphics.beginBitmapFill = function (image, repetition, matrix) {  return null; }
++createjs.Graphics.prototype.beginBitmapFill = function (image, repetition, matrix) {  return null; }
 +
 +    /**
 +     * Moves the drawing point to the specified position. A tiny API method "mt" also exists.
@@ -8244,7 +8244,7 @@ index 690a649..860b280 100644
 +     * @see [Graphics]
 +     * @returns {(createjs.Graphics|null)} The Graphics instance the method is called on (useful for chaining calls).
 +     */
-+createjs.Graphics.moveTo = function (x, y) {  return null; }
++createjs.Graphics.prototype.moveTo = function (x, y) {  return null; }
 +
 +    /**
 +     * Returns a clone of this Graphics instance. Note that the individual command objects are not cloned.
@@ -8252,7 +8252,7 @@ index 690a649..860b280 100644
 +     * @see [Graphics]
 +     * @returns {(createjs.Graphics|null)} A clone of the current Graphics instance.
 +     */
-+createjs.Graphics.clone = function () {  return null; }
++createjs.Graphics.prototype.clone = function () {  return null; }
 +
 +    /**
 +     * Appends a graphics command object to the graphics queue. Command objects expose an "exec" method
@@ -8280,7 +8280,7 @@ index 690a649..860b280 100644
 +     * @see [Graphics]
 +     * @returns {(createjs.Graphics|null)} The Graphics instance the method is called on (useful for chaining calls.)
 +     */
-+createjs.Graphics.append = function (command, clean) {  return null; }
++createjs.Graphics.prototype.append = function (command, clean) {  return null; }
 +
 +    /**
 +     * Begins a linear gradient stroke defined by the line (x0, y0) to (x1, y1). This ends the current sub-path. For
@@ -8301,7 +8301,7 @@ index 690a649..860b280 100644
 +     * @see [Graphics]
 +     * @returns {(createjs.Graphics|null)} The Graphics instance the method is called on (useful for chaining calls.)
 +     */
-+createjs.Graphics.beginLinearGradientStroke = function (colors, ratios, x0, y0, x1, y1) {  return null; }
++createjs.Graphics.prototype.beginLinearGradientStroke = function (colors, ratios, x0, y0, x1, y1) {  return null; }
 +
 +    /**
 +     * Ends the current sub-path, and begins a new one with no fill. Functionally identical to <code>beginFill(null)</code>.
@@ -8310,7 +8310,7 @@ index 690a649..860b280 100644
 +     * @see [Graphics]
 +     * @returns {(createjs.Graphics|null)} The Graphics instance the method is called on (useful for chaining calls.)
 +     */
-+createjs.Graphics.endFill = function () {  return null; }
++createjs.Graphics.prototype.endFill = function () {  return null; }
 +
 +    /**
 +     * Draws a line from the current drawing point to the specified position, which become the new current drawing
@@ -8325,7 +8325,7 @@ index 690a649..860b280 100644
 +     * @see [Graphics]
 +     * @returns {(createjs.Graphics|null)} The Graphics instance the method is called on (useful for chaining calls.)
 +     */
-+createjs.Graphics.lineTo = function (x, y) {  return null; }
++createjs.Graphics.prototype.lineTo = function (x, y) {  return null; }
 +
 +    /**
 +     * Draws only the path described for this Graphics instance, skipping any non-path instructions, including fill and
@@ -8336,7 +8336,7 @@ index 690a649..860b280 100644
 +     * @param {(CanvasRenderingContext2D|null)} ctx The canvas 2D context object to draw into.
 +     * @see [Graphics]
 +     */
-+createjs.Graphics.drawAsPath = function (ctx) {  }
++createjs.Graphics.prototype.drawAsPath = function (ctx) {  }
 +
 +    /**
 +     * Begins a pattern fill using the specified image. This ends the current sub-path. Note that unlike bitmap fills,
@@ -8348,7 +8348,7 @@ index 690a649..860b280 100644
 +     * @see [Graphics]
 +     * @returns {(createjs.Graphics|null)} The Graphics instance the method is called on (useful for chaining calls.)
 +     */
-+createjs.Graphics.beginBitmapStroke = function (image, repetition) {  return null; }
++createjs.Graphics.prototype.beginBitmapStroke = function (image, repetition) {  return null; }
 +
 +    /**
 +     * Draws an ellipse (oval) with a specified width (w) and height (h). Similar to {{#crossLink "Graphics/drawCircle"}}{{/crossLink}},
@@ -8361,7 +8361,7 @@ index 690a649..860b280 100644
 +     * @see [Graphics]
 +     * @returns {(createjs.Graphics|null)} The Graphics instance the method is called on (useful for chaining calls.)
 +     */
-+createjs.Graphics.drawEllipse = function (x, y, w, h) {  return null; }
++createjs.Graphics.prototype.drawEllipse = function (x, y, w, h) {  return null; }
 +
 +    /**
 +     * Draws a circle with the specified radius at (x, y).
@@ -8387,7 +8387,7 @@ index 690a649..860b280 100644
 +     * @see [Graphics]
 +     * @returns {(createjs.Graphics|null)} The Graphics instance the method is called on (useful for chaining calls.)
 +     */
-+createjs.Graphics.drawCircle = function (x, y, radius) {  return null; }
++createjs.Graphics.prototype.drawCircle = function (x, y, radius) {  return null; }
 +
 +    /**
 +     * Draws a rectangle at (x, y) with the specified width and height using the current fill and/or stroke.
@@ -8402,7 +8402,7 @@ index 690a649..860b280 100644
 +     * @see [Graphics]
 +     * @returns {(createjs.Graphics|null)} The Graphics instance the method is called on (useful for chaining calls.)
 +     */
-+createjs.Graphics.rect = function (x, y, w, h) {  return null; }
++createjs.Graphics.prototype.rect = function (x, y, w, h) {  return null; }
 +
 +    /**
 +     * Begins a stroke with the specified color. This ends the current sub-path. A tiny API method "s" also exists.
@@ -8411,7 +8411,7 @@ index 690a649..860b280 100644
 +     * @see [Graphics]
 +     * @returns {(createjs.Graphics|null)} The Graphics instance the method is called on (useful for chaining calls.)
 +     */
-+createjs.Graphics.beginStroke = function (color) {  return null; }
++createjs.Graphics.prototype.beginStroke = function (color) {  return null; }
 +
 +    /**
 +     * Use the {{#crossLink "Graphics/instructions:property"}}{{/crossLink}} property instead.
@@ -8419,7 +8419,7 @@ index 690a649..860b280 100644
 +     * @see [Graphics]
 +     * @returns {(Array|null)} 
 +     */
-+createjs.Graphics.getInstructions = function () {  return null; }
++createjs.Graphics.prototype.getInstructions = function () {  return null; }
 +
 +    /**
 +     * Begins a fill with the specified color. This ends the current sub-path. A tiny API method "f" also exists.
@@ -8428,7 +8428,7 @@ index 690a649..860b280 100644
 +     * @see [Graphics]
 +     * @returns {(createjs.Graphics|null)} The Graphics instance the method is called on (useful for chaining calls.)
 +     */
-+createjs.Graphics.beginFill = function (color) {  return null; }
++createjs.Graphics.prototype.beginFill = function (color) {  return null; }
 +
 +    /**
 +     * Unstores any graphics commands that were previously stored using {{#crossLink "Graphics/store"}}{{/crossLink}}
@@ -8437,7 +8437,7 @@ index 690a649..860b280 100644
 +     * @see [Graphics]
 +     * @returns {(createjs.Graphics|null)} The Graphics instance the method is called on (useful for chaining calls.)
 +     */
-+createjs.Graphics.unstore = function () {  return null; }
++createjs.Graphics.prototype.unstore = function () {  return null; }
 +
 +    /**
 +     * Draws a rounded rectangle with all corners with the specified radius.
@@ -8450,13 +8450,13 @@ index 690a649..860b280 100644
 +     * @see [Graphics]
 +     * @returns {(createjs.Graphics|null)} The Graphics instance the method is called on (useful for chaining calls.)
 +     */
-+createjs.Graphics.drawRoundRect = function (x, y, w, h, radius) {  return null; }
++createjs.Graphics.prototype.drawRoundRect = function (x, y, w, h, radius) {  return null; }
 +
 +    /**
 +     * @param stroke 
 +     * @see [Graphics]
 +     */
-+createjs.Graphics._setStroke = function (stroke) {  }
++createjs.Graphics.prototype._setStroke = function (stroke) {  }
 +
 +    /**
 +     * Draws an arc with the specified control points and radius.  For detailed information, read the
@@ -8471,7 +8471,7 @@ index 690a649..860b280 100644
 +     * @see [Graphics]
 +     * @returns {(createjs.Graphics|null)} The Graphics instance the method is called on (useful for chaining calls.)
 +     */
-+createjs.Graphics.arcTo = function (x1, y1, x2, y2, radius) {  return null; }
++createjs.Graphics.prototype.arcTo = function (x1, y1, x2, y2, radius) {  return null; }
 +
 +    /**
 +     * Returns a string representation of this object.
@@ -8479,7 +8479,7 @@ index 690a649..860b280 100644
 +     * @see [Graphics]
 +     * @returns {(string|null)} a string representation of the instance.
 +     */
-+createjs.Graphics.toString = function () {  return null; }
++createjs.Graphics.prototype.toString = function () {  return null; }
 +
 +    /**
 +     * Sets the stroke style for the current sub-path. Like all drawing methods, this can be chained, so you can define
@@ -8497,7 +8497,7 @@ index 690a649..860b280 100644
 +     * @see [Graphics]
 +     * @returns {(createjs.Graphics|null)} The Graphics instance the method is called on (useful for chaining calls.)
 +     */
-+createjs.Graphics.setStrokeStyle = function (thickness, caps, joints, miterLimit, ignoreScale) {  return null; }
++createjs.Graphics.prototype.setStrokeStyle = function (thickness, caps, joints, miterLimit, ignoreScale) {  return null; }
 +
 +    /**
 +     * Ends the current sub-path, and begins a new one with no stroke. Functionally identical to <code>beginStroke(null)</code>.
@@ -8506,7 +8506,7 @@ index 690a649..860b280 100644
 +     * @see [Graphics]
 +     * @returns {(createjs.Graphics|null)} The Graphics instance the method is called on (useful for chaining calls.)
 +     */
-+createjs.Graphics.endStroke = function () {  return null; }
++createjs.Graphics.prototype.endStroke = function () {  return null; }
 +
 +    /**
 +     * Draws a quadratic curve from the current drawing point to (x, y) using the control point (cpx, cpy). For detailed
@@ -8520,12 +8520,12 @@ index 690a649..860b280 100644
 +     * @see [Graphics]
 +     * @returns {(createjs.Graphics|null)} The Graphics instance the method is called on (useful for chaining calls.)
 +     */
-+createjs.Graphics.quadraticCurveTo = function (cpx, cpy, x, y) {  return null; }
++createjs.Graphics.prototype.quadraticCurveTo = function (cpx, cpy, x, y) {  return null; }
  
 -	createjs.Graphics = Graphics;
 -}());
 diff --git a/externs/createjs/target/downloads/EaselJS-0.8.0/src/easeljs/display/MovieClip.js b/externs/createjs/target/downloads/EaselJS-0.8.0/src/easeljs/display/MovieClip.js
-index a8f4654..060ffee 100644
+index a8f4654..d426d6f 100644
 --- a/externs/createjs/target/downloads/EaselJS-0.8.0/src/easeljs/display/MovieClip.js
 +++ b/externs/createjs/target/downloads/EaselJS-0.8.0/src/easeljs/display/MovieClip.js
 @@ -1,661 +1,139 @@
@@ -8610,7 +8610,7 @@ index a8f4654..060ffee 100644
 +     *
 +     * @see [MovieClip]
 +     */
-+createjs.MovieClip.stop = function () {  }
++createjs.MovieClip.prototype.stop = function () {  }
 +
 +
 +    /**
@@ -8619,7 +8619,7 @@ index a8f4654..060ffee 100644
 +     * @param {(number|string|null)} positionOrLabel The animation or frame name to go to.
 +     * @see [MovieClip]
 +     */
-+createjs.MovieClip.gotoAndStop = function (positionOrLabel) {  }
++createjs.MovieClip.prototype.gotoAndStop = function (positionOrLabel) {  }
 +
 +    /**
 +     * Use the {{#crossLink "MovieClip/currentLabel:property"}}{{/crossLink}} property instead.
@@ -8627,26 +8627,26 @@ index a8f4654..060ffee 100644
 +     * @see [MovieClip]
 +     * @returns {(string|null)} 
 +     */
-+createjs.MovieClip.getCurrentLabel = function () {  return null; }
++createjs.MovieClip.prototype.getCurrentLabel = function () {  return null; }
 +
 +    /**
 +     * Sets paused to false.
 +     *
 +     * @see [MovieClip]
 +     */
-+createjs.MovieClip.play = function () {  }
++createjs.MovieClip.prototype.play = function () {  }
 +
 +    /**
 +     * @param {(Array|null)} state 
 +     * @param {(number|null)} offset 
 +     * @see [MovieClip]
 +     */
-+createjs.MovieClip._setState = function (state, offset) {  }
++createjs.MovieClip.prototype._setState = function (state, offset) {  }
 +
 +    /**
 +     * @see [MovieClip]
 +     */
-+createjs.MovieClip._reset = function () {  }
++createjs.MovieClip.prototype._reset = function () {  }
 +
 +
 +    /**
@@ -8656,7 +8656,7 @@ index a8f4654..060ffee 100644
 +     * @param {(number|null)} offset 
 +     * @see [MovieClip]
 +     */
-+createjs.MovieClip._addManagedChild = function (child, offset) {  }
++createjs.MovieClip.prototype._addManagedChild = function (child, offset) {  }
 +
 +
 +
@@ -8665,7 +8665,7 @@ index a8f4654..060ffee 100644
 +     * @param {(number|string|null)} positionOrLabel The animation name or frame number to go to.
 +     * @see [MovieClip]
 +     */
-+createjs.MovieClip._goto = function (positionOrLabel) {  }
++createjs.MovieClip.prototype._goto = function (positionOrLabel) {  }
 +
 +    /**
 +     * Use the {{#crossLink "MovieClip/labels:property"}}{{/crossLink}} property instead.
@@ -8673,12 +8673,12 @@ index a8f4654..060ffee 100644
 +     * @see [MovieClip]
 +     * @returns {(Array|null)} 
 +     */
-+createjs.MovieClip.getLabels = function () {  return null; }
++createjs.MovieClip.prototype.getLabels = function () {  return null; }
 +
 +    /**
 +     * @see [MovieClip]
 +     */
-+createjs.MovieClip._updateTimeline = function () {  }
++createjs.MovieClip.prototype._updateTimeline = function () {  }
 +
 +
 +    /**
@@ -8687,7 +8687,7 @@ index a8f4654..060ffee 100644
 +     * @param {(number|string|null)} positionOrLabel The animation name or frame number to go to.
 +     * @see [MovieClip]
 +     */
-+createjs.MovieClip.gotoAndPlay = function (positionOrLabel) {  }
++createjs.MovieClip.prototype.gotoAndPlay = function (positionOrLabel) {  }
 +
 +    /**
 +     * Advances the playhead. This occurs automatically each tick by default.
@@ -8695,7 +8695,7 @@ index a8f4654..060ffee 100644
 +     * @param {(number|null)} time The amount of time in ms to advance by. Only applicable if framerate is set.
 +     * @see [MovieClip]
 +     */
-+createjs.MovieClip.advance = function (time) {  }
++createjs.MovieClip.prototype.advance = function (time) {  }
  
 -// namespace:
 -this.createjs = this.createjs||{};
@@ -9327,7 +9327,7 @@ index a8f4654..060ffee 100644
 -	MovieClipPlugin.install();
 -}());
 diff --git a/externs/createjs/target/downloads/EaselJS-0.8.0/src/easeljs/display/Shadow.js b/externs/createjs/target/downloads/EaselJS-0.8.0/src/easeljs/display/Shadow.js
-index 407ccb1..7f944f4 100644
+index 407ccb1..fb1e006 100644
 --- a/externs/createjs/target/downloads/EaselJS-0.8.0/src/easeljs/display/Shadow.js
 +++ b/externs/createjs/target/downloads/EaselJS-0.8.0/src/easeljs/display/Shadow.js
 @@ -1,137 +1,31 @@
@@ -9382,7 +9382,7 @@ index 407ccb1..7f944f4 100644
 +     * @see [Shadow]
 +     * @returns {(createjs.Shadow|null)} A clone of the current Shadow instance.
 +     */
-+createjs.Shadow.clone = function () {  return null; }
++createjs.Shadow.prototype.clone = function () {  return null; }
 +
 +    /**
 +     * Returns a string representation of this object.
@@ -9390,7 +9390,7 @@ index 407ccb1..7f944f4 100644
 +     * @see [Shadow]
 +     * @returns {(string|null)} a string representation of the instance.
 +     */
-+createjs.Shadow.toString = function () {  return null; }
++createjs.Shadow.prototype.toString = function () {  return null; }
  
 -// namespace:
 -this.createjs = this.createjs||{};
@@ -9661,7 +9661,7 @@ index 26f2341..1c2f7c8 100644
 -	createjs.Shape = createjs.promote(Shape, "DisplayObject");
 -}());
 diff --git a/externs/createjs/target/downloads/EaselJS-0.8.0/src/easeljs/display/Sprite.js b/externs/createjs/target/downloads/EaselJS-0.8.0/src/easeljs/display/Sprite.js
-index 453f909..6985431 100644
+index 453f909..13175e8 100644
 --- a/externs/createjs/target/downloads/EaselJS-0.8.0/src/easeljs/display/Sprite.js
 +++ b/externs/createjs/target/downloads/EaselJS-0.8.0/src/easeljs/display/Sprite.js
 @@ -1,472 +1,97 @@
@@ -9725,7 +9725,7 @@ index 453f909..6985431 100644
 +     *
 +     * @see [Sprite]
 +     */
-+createjs.Sprite.stop = function () {  }
++createjs.Sprite.prototype.stop = function () {  }
 +
 +
 +    /**
@@ -9733,7 +9733,7 @@ index 453f909..6985431 100644
 +     *
 +     * @see [Sprite]
 +     */
-+createjs.Sprite._normalizeFrame = function (frameDelta) {  }
++createjs.Sprite.prototype._normalizeFrame = function (frameDelta) {  }
 +
 +    /**
 +     * Dispatches the "animationend" event. Returns true if a handler changed the animation (ex. calling {{#crossLink "Sprite/stop"}}{{/crossLink}},
@@ -9741,7 +9741,7 @@ index 453f909..6985431 100644
 +     *
 +     * @see [Sprite]
 +     */
-+createjs.Sprite._dispatchAnimationEnd = function (animation, frame, paused, next, end) {  }
++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.
@@ -9749,7 +9749,7 @@ index 453f909..6985431 100644
 +     * @param {(number|string|null)} frameOrAnimation The frame number or animation name that the playhead should move to and stop.
 +     * @see [Sprite]
 +     */
-+createjs.Sprite.gotoAndStop = function (frameOrAnimation) {  }
++createjs.Sprite.prototype.gotoAndStop = function (frameOrAnimation) {  }
 +
 +    /**
 +     * Play (unpause) the current animation. The Sprite will be paused if either {{#crossLink "Sprite/stop"}}{{/crossLink}}
@@ -9758,7 +9758,7 @@ index 453f909..6985431 100644
 +     *
 +     * @see [Sprite]
 +     */
-+createjs.Sprite.play = function () {  }
++createjs.Sprite.prototype.play = function () {  }
 +
 +
 +
@@ -9771,7 +9771,7 @@ index 453f909..6985431 100644
 +     * @param {(boolean|null|undefined)} frame The frame of the animation to go to. Defaults to 0.
 +     * @see [Sprite]
 +     */
-+createjs.Sprite._goto = function (frameOrAnimation, frame) {  }
++createjs.Sprite.prototype._goto = function (frameOrAnimation, frame) {  }
 +
 +
 +
@@ -9781,7 +9781,7 @@ index 453f909..6985431 100644
 +     * @param {(number|string|null)} frameOrAnimation The frame number or animation name that the playhead should move to and begin playing.
 +     * @see [Sprite]
 +     */
-+createjs.Sprite.gotoAndPlay = function (frameOrAnimation) {  }
++createjs.Sprite.prototype.gotoAndPlay = function (frameOrAnimation) {  }
 +
 +    /**
 +     * Advances the playhead. This occurs automatically each tick by default.
@@ -9789,7 +9789,7 @@ index 453f909..6985431 100644
 +     * @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.advance = function (time) {  }
++createjs.Sprite.prototype.advance = function (time) {  }
  
 -// namespace:
 -this.createjs = this.createjs||{};
@@ -10452,7 +10452,7 @@ index 9bc7003..32a89fc 100644
 -	createjs.SpriteContainer = createjs.promote(SpriteContainer, "Container");
 -}());
 diff --git a/externs/createjs/target/downloads/EaselJS-0.8.0/src/easeljs/display/SpriteSheet.js b/externs/createjs/target/downloads/EaselJS-0.8.0/src/easeljs/display/SpriteSheet.js
-index 2e53d42..2ca82a6 100644
+index 2e53d42..0bb59fd 100644
 --- a/externs/createjs/target/downloads/EaselJS-0.8.0/src/easeljs/display/SpriteSheet.js
 +++ b/externs/createjs/target/downloads/EaselJS-0.8.0/src/easeljs/display/SpriteSheet.js
 @@ -1,555 +1,219 @@
@@ -11142,7 +11142,7 @@ index 2e53d42..2ca82a6 100644
 +     * @param {(Object|null)} data An object describing the SpriteSheet data.
 +     * @see [SpriteSheet]
 +     */
-+createjs.SpriteSheet._parseData = function (data) {  }
++createjs.SpriteSheet.prototype._parseData = function (data) {  }
 +
 +    /**
 +     * Use the {{#crossLink "SpriteSheet/animations:property"}}{{/crossLink}} property instead.
@@ -11150,14 +11150,14 @@ index 2e53d42..2ca82a6 100644
 +     * @see [SpriteSheet]
 +     * @returns {(Array|null)} 
 +     */
-+createjs.SpriteSheet.getAnimations = function () {  return null; }
++createjs.SpriteSheet.prototype.getAnimations = function () {  return null; }
 +
 +    /**
 +     * SpriteSheet cannot be cloned. A SpriteSheet can be shared by multiple Sprite instances without cloning it.
 +     *
 +     * @see [SpriteSheet]
 +     */
-+createjs.SpriteSheet.clone = function () {  }
++createjs.SpriteSheet.prototype.clone = function () {  }
 +
 +    /**
 +     * Returns an object defining the specified animation. The returned object contains:<UL>
@@ -11172,7 +11172,7 @@ index 2e53d42..2ca82a6 100644
 +     * @see [SpriteSheet]
 +     * @returns {(Object|null)} a generic object with frames, speed, name, and next properties.
 +     */
-+createjs.SpriteSheet.getAnimation = function (name) {  return null; }
++createjs.SpriteSheet.prototype.getAnimation = function (name) {  return null; }
 +
 +    /**
 +     * Returns an object specifying the image and source rect of the specified frame. The returned object has:<UL>
@@ -11186,17 +11186,17 @@ index 2e53d42..2ca82a6 100644
 +     * @see [SpriteSheet]
 +     * @returns {(Object|null)} a generic object with image and rect properties. Returns null if the frame does not exist.
 +     */
-+createjs.SpriteSheet.getFrame = function (frameIndex) {  return null; }
++createjs.SpriteSheet.prototype.getFrame = function (frameIndex) {  return null; }
 +
 +    /**
 +     * @see [SpriteSheet]
 +     */
-+createjs.SpriteSheet._calculateFrames = function () {  }
++createjs.SpriteSheet.prototype._calculateFrames = function () {  }
 +
 +    /**
 +     * @see [SpriteSheet]
 +     */
-+createjs.SpriteSheet._handleImageLoad = function () {  }
++createjs.SpriteSheet.prototype._handleImageLoad = function () {  }
 +
 +    /**
 +     * Returns the total number of frames in the specified animation, or in the whole sprite
@@ -11207,7 +11207,7 @@ index 2e53d42..2ca82a6 100644
 +     * @see [SpriteSheet]
 +     * @returns {(number|null)} The number of frames in the animation, or in the entire sprite sheet if the animation param is omitted.
 +     */
-+createjs.SpriteSheet.getNumFrames = function (animation) { return 0; }
++createjs.SpriteSheet.prototype.getNumFrames = function (animation) { return 0; }
 +
 +    /**
 +     * Returns a {{#crossLink "Rectangle"}}{{/crossLink}} instance defining the bounds of the specified frame relative
@@ -11220,13 +11220,13 @@ index 2e53d42..2ca82a6 100644
 +     * @see [SpriteSheet]
 +     * @returns {(createjs.Rectangle|null)} A Rectangle instance. Returns null if the frame does not exist, or the image is not fully loaded.
 +     */
-+createjs.SpriteSheet.getFrameBounds = function (frameIndex, rectangle) {  return null; }
++createjs.SpriteSheet.prototype.getFrameBounds = function (frameIndex, rectangle) {  return null; }
  
  
 -	createjs.SpriteSheet = createjs.promote(SpriteSheet, "EventDispatcher");
 -}());
 diff --git a/externs/createjs/target/downloads/EaselJS-0.8.0/src/easeljs/display/SpriteStage.js b/externs/createjs/target/downloads/EaselJS-0.8.0/src/easeljs/display/SpriteStage.js
-index 6eada6f..41511e3 100644
+index 6eada6f..df12ab7 100644
 --- a/externs/createjs/target/downloads/EaselJS-0.8.0/src/easeljs/display/SpriteStage.js
 +++ b/externs/createjs/target/downloads/EaselJS-0.8.0/src/easeljs/display/SpriteStage.js
 @@ -1,988 +1,170 @@
@@ -12262,7 +12262,7 @@ index 6eada6f..41511e3 100644
 +     * @see [SpriteStage]
 +     * @returns {(WebGLTexture|null)} 
 +     */
-+createjs.SpriteStage._setUpKidTexture = function (ctx, kid) {  return null; }
++createjs.SpriteStage.prototype._setUpKidTexture = function (ctx, kid) {  return null; }
 +
 +    /**
 +     * Updates the maximum total number of boxes points that can be defined per draw call,
@@ -12272,7 +12272,7 @@ index 6eada6f..41511e3 100644
 +     * @param {(number|null)} value The new this._maxBoxesPointsPerDraw value.
 +     * @see [SpriteStage]
 +     */
-+createjs.SpriteStage._setMaxBoxesPoints = function (ctx, value) {  }
++createjs.SpriteStage.prototype._setMaxBoxesPoints = function (ctx, value) {  }
 +
 +    /**
 +     * Clears an image's texture to free it up for garbage collection.
@@ -12280,7 +12280,7 @@ index 6eada6f..41511e3 100644
 +     * @param {(Image|null)} image 
 +     * @see [SpriteStage]
 +     */
-+createjs.SpriteStage.clearImageTexture = function (image) {  }
++createjs.SpriteStage.prototype.clearImageTexture = function (image) {  }
 +
 +
 +
@@ -12291,14 +12291,14 @@ index 6eada6f..41511e3 100644
 +     *
 +     * @see [SpriteStage]
 +     */
-+createjs.SpriteStage._get_isWebGL = function () {  }
++createjs.SpriteStage.prototype._get_isWebGL = function () {  }
 +
 +    /**
 +     * Sets up the WebGL context for rendering.
 +     *
 +     * @see [SpriteStage]
 +     */
-+createjs.SpriteStage._initializeWebGLContext = function () {  }
++createjs.SpriteStage.prototype._initializeWebGLContext = function () {  }
 +
 +    /**
 +     * Draws all the currently defined boxes to the GPU.
@@ -12306,7 +12306,7 @@ index 6eada6f..41511e3 100644
 +     * @param {(WebGLRenderingContext|null)} ctx The canvas WebGL context object to draw into.
 +     * @see [SpriteStage]
 +     */
-+createjs.SpriteStage._drawToGPU = function (ctx) {  }
++createjs.SpriteStage.prototype._drawToGPU = function (ctx) {  }
 +
 +    /**
 +     * Creates the shader program that's going to be used to draw everything.
@@ -12314,7 +12314,7 @@ index 6eada6f..41511e3 100644
 +     * @param {(WebGLRenderingContext|null)} ctx 
 +     * @see [SpriteStage]
 +     */
-+createjs.SpriteStage._createShaderProgram = function (ctx) {  }
++createjs.SpriteStage.prototype._createShaderProgram = function (ctx) {  }
 +
 +    /**
 +     * Update the WebGL viewport. Note that this does NOT update the canvas element's width/height.
@@ -12323,7 +12323,7 @@ index 6eada6f..41511e3 100644
 +     * @param {(number|null)} height 
 +     * @see [SpriteStage]
 +     */
-+createjs.SpriteStage.updateViewport = function (width, height) {  }
++createjs.SpriteStage.prototype.updateViewport = function (width, height) {  }
 +
 +    /**
 +     * Sets the color to use when the WebGL canvas has been cleared.
@@ -12334,7 +12334,7 @@ index 6eada6f..41511e3 100644
 +     * @param {(number|null)} a A number between 0 and 1.
 +     * @see [SpriteStage]
 +     */
-+createjs.SpriteStage._setClearColor = function (r, g, b, a) {  }
++createjs.SpriteStage.prototype._setClearColor = function (r, g, b, a) {  }
 +
 +    /**
 +     * Creates a shader from the specified string.
@@ -12345,7 +12345,7 @@ index 6eada6f..41511e3 100644
 +     * @see [SpriteStage]
 +     * @returns {(WebGLShader|null)} 
 +     */
-+createjs.SpriteStage._createShader = function (ctx, type, str) {  return null; }
++createjs.SpriteStage.prototype._createShader = function (ctx, type, str) {  return null; }
 +
 +    /**
 +     * Draw all the kids into the WebGL context.
@@ -12355,7 +12355,7 @@ index 6eada6f..41511e3 100644
 +     * @param {(createjs.Matrix2D|null)} parentMVMatrix The parent's global transformation matrix.
 +     * @see [SpriteStage]
 +     */
-+createjs.SpriteStage._drawWebGLKids = function (kids, ctx, parentMVMatrix) {  }
++createjs.SpriteStage.prototype._drawWebGLKids = function (kids, ctx, parentMVMatrix) {  }
 +
 +    /**
 +     * Sets the WebGL context to use for future draws.
@@ -12363,7 +12363,7 @@ index 6eada6f..41511e3 100644
 +     * @see [SpriteStage]
 +     * @returns {(WebGLRenderingContext|null)} The newly created context.
 +     */
-+createjs.SpriteStage._setWebGLContext = function () {  return null; }
++createjs.SpriteStage.prototype._setWebGLContext = function () {  return null; }
 +
 +
 +    /**
@@ -12371,7 +12371,7 @@ index 6eada6f..41511e3 100644
 +     *
 +     * @see [SpriteStage]
 +     */
-+createjs.SpriteStage._initializeWebGL = function () {  }
++createjs.SpriteStage.prototype._initializeWebGL = function () {  }
 +
 +    /**
 +     * Sets up the necessary vertices and indices buffers.
@@ -12379,13 +12379,13 @@ index 6eada6f..41511e3 100644
 +     * @param {(WebGLRenderingContext|null)} ctx 
 +     * @see [SpriteStage]
 +     */
-+createjs.SpriteStage._createBuffers = function (ctx) {  }
++createjs.SpriteStage.prototype._createBuffers = function (ctx) {  }
  
  
 -	createjs.SpriteStage = createjs.promote(SpriteStage, "Stage");
 -}());
 diff --git a/externs/createjs/target/downloads/EaselJS-0.8.0/src/easeljs/display/Stage.js b/externs/createjs/target/downloads/EaselJS-0.8.0/src/easeljs/display/Stage.js
-index 9cb6625..cda28c8 100644
+index 9cb6625..25b6250 100644
 --- a/externs/createjs/target/downloads/EaselJS-0.8.0/src/easeljs/display/Stage.js
 +++ b/externs/createjs/target/downloads/EaselJS-0.8.0/src/easeljs/display/Stage.js
 @@ -1,880 +1,274 @@
@@ -12458,7 +12458,7 @@ index 9cb6625..cda28c8 100644
 +     * @param {(Object|null|undefined)} 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.update = function (props) {  }
++createjs.Stage.prototype.update = function (props) {  }
 +
 +    /**
 +     * @param {(number|null)} id 
@@ -12468,7 +12468,7 @@ index 9cb6625..cda28c8 100644
 +     * @param {(createjs.Stage|null)} owner Indicates that the event has already been captured & handled by the indicated stage.
 +     * @see [Stage]
 +     */
-+createjs.Stage._handlePointerDown = function (id, e, pageX, pageY, owner) {  }
++createjs.Stage.prototype._handlePointerDown = function (id, e, pageX, pageY, owner) {  }
 +
 +
 +    /**
@@ -12477,7 +12477,7 @@ index 9cb6625..cda28c8 100644
 +     * @param {(createjs.Stage|null)} eventTarget The stage that the cursor is actively over.
 +     * @see [Stage]
 +     */
-+createjs.Stage._testMouseOver = function (clear, owner, eventTarget) {  }
++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}}
@@ -12491,13 +12491,13 @@ index 9cb6625..cda28c8 100644
 +     *
 +     * @see [Stage]
 +     */
-+createjs.Stage.handleEvent = function (evt) {  }
++createjs.Stage.prototype.handleEvent = function (evt) {  }
 +
 +    /**
 +     * @param {(HTMLElement|null)} e 
 +     * @see [Stage]
 +     */
-+createjs.Stage._getElementRect = function (e) {  }
++createjs.Stage.prototype._getElementRect = function (e) {  }
 +
 +    /**
 +     * Enables or disables (by passing a frequency of 0) mouse over ({{#crossLink "DisplayObject/mouseover:event"}}{{/crossLink}}
@@ -12514,7 +12514,7 @@ index 9cb6625..cda28c8 100644
 +     * @param {(number|null|undefined)} 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.enableMouseOver = function (frequency) {  }
++createjs.Stage.prototype.enableMouseOver = function (frequency) {  }
 +
 +    /**
 +     * Returns a data url that contains a Base64-encoded image of the contents of the stage. The returned data url can
@@ -12525,7 +12525,7 @@ index 9cb6625..cda28c8 100644
 +     * @see [Stage]
 +     * @returns {(string|null)} a Base64 encoded image.
 +     */
-+createjs.Stage.toDataURL = function (backgroundColor, mimeType) {  return null; }
++createjs.Stage.prototype.toDataURL = function (backgroundColor, mimeType) {  return null; }
 +
 +    /**
 +     * Enables or disables the event listeners that stage adds to DOM elements (window, document and canvas). It is good
@@ -12542,7 +12542,7 @@ index 9cb6625..cda28c8 100644
 +     * @param {(boolean|null|undefined)} enable Indicates whether to enable or disable the events. Default is true.
 +     * @see [Stage]
 +     */
-+createjs.Stage.enableDOMEvents = function (enable) {  }
++createjs.Stage.prototype.enableDOMEvents = function (enable) {  }
 +
 +    /**
 +     * @param {(createjs.DisplayObject|null)} target 
@@ -12553,7 +12553,7 @@ index 9cb6625..cda28c8 100644
 +     * @param {(MouseEvent|null|undefined)} nativeEvent 
 +     * @see [Stage]
 +     */
-+createjs.Stage._dispatchMouseEvent = function (target, type, bubbles, pointerId, o, nativeEvent) {  }
++createjs.Stage.prototype._dispatchMouseEvent = function (target, type, bubbles, pointerId, o, nativeEvent) {  }
 +
 +    /**
 +     * Specifies a target stage that will have mouse / touch interactions relayed to it after this stage handles them.
@@ -12584,21 +12584,21 @@ index 9cb6625..cda28c8 100644
 +     *
 +     * @see [Stage]
 +     */
-+createjs.Stage._get_nextStage = function () {  }
++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._handleDoubleClick = function (e, owner) {  }
++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.clear = function () {  }
++createjs.Stage.prototype.clear = function () {  }
 +
 +    /**
 +     * Propagates a tick event through the display list. This is automatically called by {{#crossLink "Stage/update"}}{{/crossLink}}
@@ -12630,19 +12630,19 @@ index 9cb6625..cda28c8 100644
 +     * @param {(Object|null|undefined)} 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.tick = function (props) {  }
++createjs.Stage.prototype.tick = function (props) {  }
 +
 +    /**
 +     * @param {(MouseEvent|null)} e 
 +     * @see [Stage]
 +     */
-+createjs.Stage._handleMouseUp = function (e) {  }
++createjs.Stage.prototype._handleMouseUp = function (e) {  }
 +
 +    /**
 +     * @param {(MouseEvent|null)} e 
 +     * @see [Stage]
 +     */
-+createjs.Stage._handleMouseMove = function (e) {  }
++createjs.Stage.prototype._handleMouseMove = function (e) {  }
 +
 +    /**
 +     * @param {(number|null)} id 
@@ -12652,7 +12652,7 @@ index 9cb6625..cda28c8 100644
 +     * @param {(createjs.Stage|null)} owner Indicates that the event has already been captured & handled by the indicated stage.
 +     * @see [Stage]
 +     */
-+createjs.Stage._handlePointerMove = function (id, e, pageX, pageY, owner) {  }
++createjs.Stage.prototype._handlePointerMove = function (id, e, pageX, pageY, owner) {  }
 +
 +    /**
 +     * @param {(number|null)} id 
@@ -12661,27 +12661,27 @@ index 9cb6625..cda28c8 100644
 +     * @param {(createjs.Stage|null)} owner Indicates that the event has already been captured & handled by the indicated stage.
 +     * @see [Stage]
 +     */
-+createjs.Stage._handlePointerUp = function (id, e, clear, owner) {  }
++createjs.Stage.prototype._handlePointerUp = function (id, e, clear, owner) {  }
 +
 +
 +    /**
 +     * @param {(number|null)} id 
 +     * @see [Stage]
 +     */
-+createjs.Stage._getPointerData = function (id) {  }
++createjs.Stage.prototype._getPointerData = function (id) {  }
 +
 +    /**
 +     * Generated doc for missing method JSDoc.
 +     *
 +     * @see [Stage]
 +     */
-+createjs.Stage._set_nextStage = function (value) {  }
++createjs.Stage.prototype._set_nextStage = function (value) {  }
 +
 +    /**
 +     * @param {(MouseEvent|null)} e 
 +     * @see [Stage]
 +     */
-+createjs.Stage._handleMouseDown = function (e) {  }
++createjs.Stage.prototype._handleMouseDown = function (e) {  }
 +
 +    /**
 +     * @param {(number|null)} id 
@@ -12690,7 +12690,7 @@ index 9cb6625..cda28c8 100644
 +     * @param {(number|null)} pageY 
 +     * @see [Stage]
 +     */
-+createjs.Stage._updatePointerPosition = function (id, e, pageX, pageY) {  }
++createjs.Stage.prototype._updatePointerPosition = function (id, e, pageX, pageY) {  }
  
 -// namespace:
 -this.createjs = this.createjs||{};
@@ -13541,7 +13541,7 @@ index 9cb6625..cda28c8 100644
 -	createjs.Stage = createjs.promote(Stage, "Container");
 -}());
 diff --git a/externs/createjs/target/downloads/EaselJS-0.8.0/src/easeljs/display/Text.js b/externs/createjs/target/downloads/EaselJS-0.8.0/src/easeljs/display/Text.js
-index 52df706..53fa151 100644
+index 52df706..4354239 100644
 --- a/externs/createjs/target/downloads/EaselJS-0.8.0/src/easeljs/display/Text.js
 +++ b/externs/createjs/target/downloads/EaselJS-0.8.0/src/easeljs/display/Text.js
 @@ -1,421 +1,123 @@
@@ -13626,7 +13626,7 @@ index 52df706..53fa151 100644
 +     * @see [Text]
 +     * @returns {(CanvasRenderingContext2D|null)} 
 +     */
-+createjs.Text._prepContext = function (ctx) {  return 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.
@@ -13634,7 +13634,7 @@ index 52df706..53fa151 100644
 +     * @see [Text]
 +     * @returns {(number|null)} The measured, untransformed width of the text.
 +     */
-+createjs.Text.getMeasuredWidth = function () { return 0; }
++createjs.Text.prototype.getMeasuredWidth = function () { return 0; }
 +
 +
 +    /**
@@ -13643,7 +13643,7 @@ index 52df706..53fa151 100644
 +     * @param {(number|null)} y 
 +     * @see [Text]
 +     */
-+createjs.Text._drawTextLine = function (ctx, text, y) {  }
++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
@@ -13654,7 +13654,7 @@ index 52df706..53fa151 100644
 +     * @see [Text]
 +     * @returns {(Object|null)} An object with width, height, and lines properties.
 +     */
-+createjs.Text.getMetrics = function () {  return null; }
++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
@@ -13663,7 +13663,7 @@ index 52df706..53fa151 100644
 +     * @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.getMeasuredLineHeight = function () { return 0; }
++createjs.Text.prototype.getMeasuredLineHeight = function () { return 0; }
 +
 +    /**
 +     * Draws multiline text.
@@ -13674,7 +13674,7 @@ index 52df706..53fa151 100644
 +     * @see [Text]
 +     * @returns {(Object|null)} 
 +     */
-+createjs.Text._drawText = function (ctx, o, lines) {  return null; }
++createjs.Text.prototype._drawText = function (ctx, o, lines) {  return null; }
 +
 +
 +
@@ -13683,7 +13683,7 @@ index 52df706..53fa151 100644
 +     * @param {(string|null)} text 
 +     * @see [Text]
 +     */
-+createjs.Text._getMeasuredWidth = function (text) {  }
++createjs.Text.prototype._getMeasuredWidth = function (text) {  }
 +
 +    /**
 +     * Returns the approximate height of multi-line text by multiplying the number of lines against either the
@@ -13693,7 +13693,7 @@ index 52df706..53fa151 100644
 +     * @see [Text]
 +     * @returns {(number|null)} The approximate height of the untransformed multi-line text.
 +     */
-+createjs.Text.getMeasuredHeight = function () { return 0; }
++createjs.Text.prototype.getMeasuredHeight = function () { return 0; }
  
 -// namespace:
 -this.createjs = this.createjs||{};
@@ -14085,7 +14085,7 @@ index 52df706..53fa151 100644
 -	createjs.Text = createjs.promote(Text, "DisplayObject");
 -}());
 diff --git a/externs/createjs/target/downloads/EaselJS-0.8.0/src/easeljs/events/MouseEvent.js b/externs/createjs/target/downloads/EaselJS-0.8.0/src/easeljs/events/MouseEvent.js
-index 2b4e1b3..f39d18e 100644
+index 2b4e1b3..55b2caa 100644
 --- a/externs/createjs/target/downloads/EaselJS-0.8.0/src/easeljs/events/MouseEvent.js
 +++ b/externs/createjs/target/downloads/EaselJS-0.8.0/src/easeljs/events/MouseEvent.js
 @@ -1,187 +1,35 @@
@@ -14267,7 +14267,7 @@ index 2b4e1b3..f39d18e 100644
 +     *
 +     * @see [MouseEvent]
 +     */
-+createjs.MouseEvent._get_localY = function () {  }
++createjs.MouseEvent.prototype._get_localY = func

<TRUNCATED>