You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by cd...@apache.org on 2016/05/31 09:40:06 UTC

[1/3] git commit: [flex-falcon] [refs/heads/develop] - - Update the maven build to use the maven-patch-plugin for the patching - Added new versions of the patch files(Created with: diff -ur ../target/downloads/TweenJS-0.6.2/src/ TweenJS-0.6.2/src/ > twee

Repository: flex-falcon
Updated Branches:
  refs/heads/develop fc4e3af9f -> 434e05866


http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/434e0586/externs/createjs/src/main/patch/tweenjs2.patch
----------------------------------------------------------------------
diff --git a/externs/createjs/src/main/patch/tweenjs2.patch b/externs/createjs/src/main/patch/tweenjs2.patch
new file mode 100644
index 0000000..4326c78
--- /dev/null
+++ b/externs/createjs/src/main/patch/tweenjs2.patch
@@ -0,0 +1,1462 @@
+diff -ur ../target/downloads/TweenJS-0.6.2/src/tweenjs/CSSPlugin.js TweenJS-0.6.2/src/tweenjs/CSSPlugin.js
+--- ../target/downloads/TweenJS-0.6.2/src/tweenjs/CSSPlugin.js	2015-12-04 09:20:42.000000000 +0100
++++ TweenJS-0.6.2/src/tweenjs/CSSPlugin.js	2016-05-31 11:03:08.000000000 +0200
+@@ -31,10 +31,6 @@
+ */
+ 
+ // namespace:
+-this.createjs = this.createjs||{};
+-
+-(function() {
+-	"use strict";
+ 
+ 	/**
+ 	 * A TweenJS plugin for working with numeric CSS string properties (ex. top, left). To use simply install after
+@@ -49,7 +45,7 @@
+ 	 * @class CSSPlugin
+ 	 * @constructor
+ 	 **/
+-	function CSSPlugin() {
++	createjs.CSSPlugin = function() {
+ 		throw("CSSPlugin cannot be instantiated.")
+ 	}
+ 
+@@ -65,14 +61,14 @@
+ 	 * @type Object
+ 	 * @static
+ 	 **/
+-	CSSPlugin.cssSuffixMap = {top:"px",left:"px",bottom:"px",right:"px",width:"px",height:"px",opacity:""};
++	createjs.CSSPlugin.cssSuffixMap = {top:"px",left:"px",bottom:"px",right:"px",width:"px",height:"px",opacity:""};
+ 
+ 	/**
+ 	 * @property priority
+ 	 * @protected
+ 	 * @static
+ 	 **/
+-	CSSPlugin.priority = -100; // very low priority, should run last
++	createjs.CSSPlugin.priority = -100; // very low priority, should run last
+ 
+ 
+ // static methods
+@@ -81,8 +77,8 @@
+ 	 * @method install
+ 	 * @static
+ 	 **/
+-	CSSPlugin.install = function() {
+-		var arr = [], map = CSSPlugin.cssSuffixMap;
++	createjs.CSSPlugin.install = function() {
++		var arr = [], map = createjs.CSSPlugin.cssSuffixMap;
+ 		for (var n in map) { arr.push(n); }
+ 		createjs.Tween.installPlugin(CSSPlugin, arr);
+ 	}
+@@ -92,8 +88,8 @@
+ 	 * @protected
+ 	 * @static
+ 	 **/
+-	CSSPlugin.init = function(tween, prop, value) {
+-		var sfx0,sfx1,style,map = CSSPlugin.cssSuffixMap;
++	createjs.CSSPlugin.init = function(tween, prop, value) {
++		var sfx0,sfx1,style,map = createjs.CSSPlugin.cssSuffixMap;
+ 		if ((sfx0 = map[prop]) == null || !(style = tween.target.style)) { return value; }
+ 		var str = style[prop];
+ 		if (!str) { return 0; } // no style set.
+@@ -110,7 +106,7 @@
+ 	 * @protected
+ 	 * @static
+ 	 **/
+-	CSSPlugin.step = function(tween, prop, startValue, endValue, injectProps) {
++	createjs.CSSPlugin.step = function(tween, prop, startValue, endValue, injectProps) {
+ 		// unused
+ 	}
+ 
+@@ -119,13 +115,13 @@
+ 	 * @protected
+ 	 * @static
+ 	 **/
+-	CSSPlugin.tween = function(tween, prop, value, startValues, endValues, ratio, wait, end) {
+-		var style,map = CSSPlugin.cssSuffixMap;
++	createjs.CSSPlugin.tween = function(tween, prop, value, startValues, endValues, ratio, wait, end) {
++		var style,map = createjs.CSSPlugin.cssSuffixMap;
+ 		if (map[prop] == null || !(style = tween.target.style)) { return value; }
+ 		style[prop] = value+map[prop];
+ 		return createjs.Tween.IGNORE;
+ 	}
+ 
+-	createjs.CSSPlugin = CSSPlugin;
++	
++
+ 
+-}());
+diff -ur ../target/downloads/TweenJS-0.6.2/src/tweenjs/Ease.js TweenJS-0.6.2/src/tweenjs/Ease.js
+--- ../target/downloads/TweenJS-0.6.2/src/tweenjs/Ease.js	2015-12-04 09:20:42.000000000 +0100
++++ TweenJS-0.6.2/src/tweenjs/Ease.js	2016-05-31 11:03:08.000000000 +0200
+@@ -31,10 +31,6 @@
+  */
+ 
+ // namespace:
+-this.createjs = this.createjs||{};
+-
+-(function() {
+-	"use strict";
+ 
+ 	/**
+ 	 * The Ease class provides a collection of easing functions for use with TweenJS. It does not use the standard 4 param
+@@ -42,11 +38,11 @@
+ 	 *
+ 	 * Most methods on Ease can be passed directly as easing functions:
+ 	 *
+-	 *      Tween.get(target).to({x:100}, 500, Ease.linear);
++	 *      Tween.get(target).to({x:100}, 500, createjs.Ease.linear);
+ 	 *
+ 	 * However, methods beginning with "get" will return an easing function based on parameter values:
+ 	 *
+-	 *      Tween.get(target).to({y:200}, 500, Ease.getPowIn(2.2));
++	 *      Tween.get(target).to({y:200}, 500, createjs.Ease.getPowIn(2.2));
+ 	 *
+ 	 * Please see the <a href="http://www.createjs.com/Demos/TweenJS/Tween_SparkTable">spark table demo</a> for an
+ 	 * overview of the different ease types on <a href="http://tweenjs.com">TweenJS.com</a>.
+@@ -55,7 +51,7 @@
+ 	 * @class Ease
+ 	 * @static
+ 	 **/
+-	function Ease() {
++	createjs.Ease = function() {
+ 		throw "Ease cannot be instantiated.";
+ 	}
+ 
+@@ -67,7 +63,7 @@
+ 	 * @static
+ 	 * @return {Number}
+ 	 **/
+-	Ease.linear = function(t) { return t; };
++	createjs.Ease.linear = function(t) { return t; };
+ 
+ 	/**
+ 	 * Identical to linear.
+@@ -76,7 +72,7 @@
+ 	 * @static
+ 	 * @return {Number}
+ 	 **/
+-	Ease.none = Ease.linear;
++	createjs.Ease.none = createjs.Ease.linear;
+ 
+ 	/**
+ 	 * Mimics the simple -100 to 100 easing in Flash Pro.
+@@ -85,7 +81,7 @@
+ 	 * @static
+ 	 * @return {Function}
+ 	 **/
+-	Ease.get = function(amount) {
++	createjs.Ease.get = function(amount) {
+ 		if (amount < -1) { amount = -1; }
+ 		if (amount > 1) { amount = 1; }
+ 		return function(t) {
+@@ -102,7 +98,7 @@
+ 	 * @static
+ 	 * @return {Function}
+ 	 **/
+-	Ease.getPowIn = function(pow) {
++	createjs.Ease.getPowIn = function(pow) {
+ 		return function(t) {
+ 			return Math.pow(t,pow);
+ 		};
+@@ -115,7 +111,7 @@
+ 	 * @static
+ 	 * @return {Function}
+ 	 **/
+-	Ease.getPowOut = function(pow) {
++	createjs.Ease.getPowOut = function(pow) {
+ 		return function(t) {
+ 			return 1-Math.pow(1-t,pow);
+ 		};
+@@ -128,7 +124,7 @@
+ 	 * @static
+ 	 * @return {Function}
+ 	 **/
+-	Ease.getPowInOut = function(pow) {
++	createjs.Ease.getPowInOut = function(pow) {
+ 		return function(t) {
+ 			if ((t*=2)<1) return 0.5*Math.pow(t,pow);
+ 			return 1-0.5*Math.abs(Math.pow(2-t,pow));
+@@ -141,21 +137,21 @@
+ 	 * @static
+ 	 * @return {Number}
+ 	 **/
+-	Ease.quadIn = Ease.getPowIn(2);
++	createjs.Ease.quadIn = createjs.Ease.getPowIn(2);
+ 	/**
+ 	 * @method quadOut
+ 	 * @param {Number} t
+ 	 * @static
+ 	 * @return {Number}
+ 	 **/
+-	Ease.quadOut = Ease.getPowOut(2);
++	createjs.Ease.quadOut = createjs.Ease.getPowOut(2);
+ 	/**
+ 	 * @method quadInOut
+ 	 * @param {Number} t
+ 	 * @static
+ 	 * @return {Number}
+ 	 **/
+-	Ease.quadInOut = Ease.getPowInOut(2);
++	createjs.Ease.quadInOut = createjs.Ease.getPowInOut(2);
+ 
+ 	/**
+ 	 * @method cubicIn
+@@ -163,21 +159,21 @@
+ 	 * @static
+ 	 * @return {Number}
+ 	 **/
+-	Ease.cubicIn = Ease.getPowIn(3);
++	createjs.Ease.cubicIn = createjs.Ease.getPowIn(3);
+ 	/**
+ 	 * @method cubicOut
+ 	 * @param {Number} t
+ 	 * @static
+ 	 * @return {Number}
+ 	 **/
+-	Ease.cubicOut = Ease.getPowOut(3);
++	createjs.Ease.cubicOut = createjs.Ease.getPowOut(3);
+ 	/**
+ 	 * @method cubicInOut
+ 	 * @param {Number} t
+ 	 * @static
+ 	 * @return {Number}
+ 	 **/
+-	Ease.cubicInOut = Ease.getPowInOut(3);
++	createjs.Ease.cubicInOut = createjs.Ease.getPowInOut(3);
+ 
+ 	/**
+ 	 * @method quartIn
+@@ -185,21 +181,21 @@
+ 	 * @static
+ 	 * @return {Number}
+ 	 **/
+-	Ease.quartIn = Ease.getPowIn(4);
++	createjs.Ease.quartIn = createjs.Ease.getPowIn(4);
+ 	/**
+ 	 * @method quartOut
+ 	 * @param {Number} t
+ 	 * @static
+ 	 * @return {Number}
+ 	 **/
+-	Ease.quartOut = Ease.getPowOut(4);
++	createjs.Ease.quartOut = createjs.Ease.getPowOut(4);
+ 	/**
+ 	 * @method quartInOut
+ 	 * @param {Number} t
+ 	 * @static
+ 	 * @return {Number}
+ 	 **/
+-	Ease.quartInOut = Ease.getPowInOut(4);
++	createjs.Ease.quartInOut = createjs.Ease.getPowInOut(4);
+ 
+ 	/**
+ 	 * @method quintIn
+@@ -207,21 +203,21 @@
+ 	 * @static
+ 	 * @return {Number}
+ 	 **/
+-	Ease.quintIn = Ease.getPowIn(5);
++	createjs.Ease.quintIn = createjs.Ease.getPowIn(5);
+ 	/**
+ 	 * @method quintOut
+ 	 * @param {Number} t
+ 	 * @static
+ 	 * @return {Number}
+ 	 **/
+-	Ease.quintOut = Ease.getPowOut(5);
++	createjs.Ease.quintOut = createjs.Ease.getPowOut(5);
+ 	/**
+ 	 * @method quintInOut
+ 	 * @param {Number} t
+ 	 * @static
+ 	 * @return {Number}
+ 	 **/
+-	Ease.quintInOut = Ease.getPowInOut(5);
++	createjs.Ease.quintInOut = createjs.Ease.getPowInOut(5);
+ 
+ 	/**
+ 	 * @method sineIn
+@@ -229,7 +225,7 @@
+ 	 * @static
+ 	 * @return {Number}
+ 	 **/
+-	Ease.sineIn = function(t) {
++	createjs.Ease.sineIn = function(t) {
+ 		return 1-Math.cos(t*Math.PI/2);
+ 	};
+ 
+@@ -239,7 +235,7 @@
+ 	 * @static
+ 	 * @return {Number}
+ 	 **/
+-	Ease.sineOut = function(t) {
++	createjs.Ease.sineOut = function(t) {
+ 		return Math.sin(t*Math.PI/2);
+ 	};
+ 
+@@ -249,7 +245,7 @@
+ 	 * @static
+ 	 * @return {Number}
+ 	 **/
+-	Ease.sineInOut = function(t) {
++	createjs.Ease.sineInOut = function(t) {
+ 		return -0.5*(Math.cos(Math.PI*t) - 1);
+ 	};
+ 
+@@ -260,7 +256,7 @@
+ 	 * @static
+ 	 * @return {Function}
+ 	 **/
+-	Ease.getBackIn = function(amount) {
++	createjs.Ease.getBackIn = function(amount) {
+ 		return function(t) {
+ 			return t*t*((amount+1)*t-amount);
+ 		};
+@@ -271,7 +267,7 @@
+ 	 * @static
+ 	 * @return {Number}
+ 	 **/
+-	Ease.backIn = Ease.getBackIn(1.7);
++	createjs.Ease.backIn = createjs.Ease.getBackIn(1.7);
+ 
+ 	/**
+ 	 * Configurable "back out" ease.
+@@ -280,7 +276,7 @@
+ 	 * @static
+ 	 * @return {Function}
+ 	 **/
+-	Ease.getBackOut = function(amount) {
++	createjs.Ease.getBackOut = function(amount) {
+ 		return function(t) {
+ 			return (--t*t*((amount+1)*t + amount) + 1);
+ 		};
+@@ -291,7 +287,7 @@
+ 	 * @static
+ 	 * @return {Number}
+ 	 **/
+-	Ease.backOut = Ease.getBackOut(1.7);
++	createjs.Ease.backOut = createjs.Ease.getBackOut(1.7);
+ 
+ 	/**
+ 	 * Configurable "back in out" ease.
+@@ -300,7 +296,7 @@
+ 	 * @static
+ 	 * @return {Function}
+ 	 **/
+-	Ease.getBackInOut = function(amount) {
++	createjs.Ease.getBackInOut = function(amount) {
+ 		amount*=1.525;
+ 		return function(t) {
+ 			if ((t*=2)<1) return 0.5*(t*t*((amount+1)*t-amount));
+@@ -313,7 +309,7 @@
+ 	 * @static
+ 	 * @return {Number}
+ 	 **/
+-	Ease.backInOut = Ease.getBackInOut(1.7);
++	createjs.Ease.backInOut = createjs.Ease.getBackInOut(1.7);
+ 
+ 	/**
+ 	 * @method circIn
+@@ -321,7 +317,7 @@
+ 	 * @static
+ 	 * @return {Number}
+ 	 **/
+-	Ease.circIn = function(t) {
++	createjs.Ease.circIn = function(t) {
+ 		return -(Math.sqrt(1-t*t)- 1);
+ 	};
+ 
+@@ -331,7 +327,7 @@
+ 	 * @static
+ 	 * @return {Number}
+ 	 **/
+-	Ease.circOut = function(t) {
++	createjs.Ease.circOut = function(t) {
+ 		return Math.sqrt(1-(--t)*t);
+ 	};
+ 
+@@ -341,7 +337,7 @@
+ 	 * @static
+ 	 * @return {Number}
+ 	 **/
+-	Ease.circInOut = function(t) {
++	createjs.Ease.circInOut = function(t) {
+ 		if ((t*=2) < 1) return -0.5*(Math.sqrt(1-t*t)-1);
+ 		return 0.5*(Math.sqrt(1-(t-=2)*t)+1);
+ 	};
+@@ -352,8 +348,8 @@
+ 	 * @static
+ 	 * @return {Number}
+ 	 **/
+-	Ease.bounceIn = function(t) {
+-		return 1-Ease.bounceOut(1-t);
++	createjs.Ease.bounceIn = function(t) {
++		return 1-createjs.Ease.bounceOut(1-t);
+ 	};
+ 
+ 	/**
+@@ -362,7 +358,7 @@
+ 	 * @static
+ 	 * @return {Number}
+ 	 **/
+-	Ease.bounceOut = function(t) {
++	createjs.Ease.bounceOut = function(t) {
+ 		if (t < 1/2.75) {
+ 			return (7.5625*t*t);
+ 		} else if (t < 2/2.75) {
+@@ -380,9 +376,9 @@
+ 	 * @static
+ 	 * @return {Number}
+ 	 **/
+-	Ease.bounceInOut = function(t) {
+-		if (t<0.5) return Ease.bounceIn (t*2) * .5;
+-		return Ease.bounceOut(t*2-1)*0.5+0.5;
++	createjs.Ease.bounceInOut = function(t) {
++		if (t<0.5) return createjs.Ease.bounceIn (t*2) * .5;
++		return createjs.Ease.bounceOut(t*2-1)*0.5+0.5;
+ 	};
+ 
+ 	/**
+@@ -393,7 +389,7 @@
+ 	 * @static
+ 	 * @return {Function}
+ 	 **/
+-	Ease.getElasticIn = function(amplitude,period) {
++	createjs.Ease.getElasticIn = function(amplitude,period) {
+ 		var pi2 = Math.PI*2;
+ 		return function(t) {
+ 			if (t==0 || t==1) return t;
+@@ -407,7 +403,7 @@
+ 	 * @static
+ 	 * @return {Number}
+ 	 **/
+-	Ease.elasticIn = Ease.getElasticIn(1,0.3);
++	createjs.Ease.elasticIn = createjs.Ease.getElasticIn(1,0.3);
+ 
+ 	/**
+ 	 * Configurable elastic ease.
+@@ -417,7 +413,7 @@
+ 	 * @static
+ 	 * @return {Function}
+ 	 **/
+-	Ease.getElasticOut = function(amplitude,period) {
++	createjs.Ease.getElasticOut = function(amplitude,period) {
+ 		var pi2 = Math.PI*2;
+ 		return function(t) {
+ 			if (t==0 || t==1) return t;
+@@ -431,7 +427,7 @@
+ 	 * @static
+ 	 * @return {Number}
+ 	 **/
+-	Ease.elasticOut = Ease.getElasticOut(1,0.3);
++	createjs.Ease.elasticOut = createjs.Ease.getElasticOut(1,0.3);
+ 
+ 	/**
+ 	 * Configurable elastic ease.
+@@ -441,7 +437,7 @@
+ 	 * @static
+ 	 * @return {Function}
+ 	 **/
+-	Ease.getElasticInOut = function(amplitude,period) {
++	createjs.Ease.getElasticInOut = function(amplitude,period) {
+ 		var pi2 = Math.PI*2;
+ 		return function(t) {
+ 			var s = period/pi2 * Math.asin(1/amplitude);
+@@ -455,8 +451,8 @@
+ 	 * @static
+ 	 * @return {Number}
+ 	 **/
+-	Ease.elasticInOut = Ease.getElasticInOut(1,0.3*1.5);
++	createjs.Ease.elasticInOut = createjs.Ease.getElasticInOut(1,0.3*1.5);
++
++	
+ 
+-	createjs.Ease = Ease;
+ 
+-}());
+diff -ur ../target/downloads/TweenJS-0.6.2/src/tweenjs/MotionGuidePlugin.js TweenJS-0.6.2/src/tweenjs/MotionGuidePlugin.js
+--- ../target/downloads/TweenJS-0.6.2/src/tweenjs/MotionGuidePlugin.js	2015-12-04 09:20:42.000000000 +0100
++++ TweenJS-0.6.2/src/tweenjs/MotionGuidePlugin.js	2016-05-31 11:03:08.000000000 +0200
+@@ -31,10 +31,6 @@
+  */
+ 
+ // namespace:
+-this.createjs = this.createjs||{};
+-
+-(function() {
+-	"use strict";
+ 
+ 	/**
+ 	 * A TweenJS plugin for working with motion guides.
+@@ -68,7 +64,7 @@
+ 	 * @class MotionGuidePlugin
+ 	 * @constructor
+ 	 **/
+-	function MotionGuidePlugin() {
++	createjs.MotionGuidePlugin = function() {
+ 		throw("MotionGuidePlugin cannot be instantiated.")
+ 	};
+ 
+@@ -79,32 +75,32 @@
+ 	 * @protected
+ 	 * @static
+ 	 **/
+-	MotionGuidePlugin.priority = 0; // high priority, should run sooner
++	createjs.MotionGuidePlugin.priority = 0; // high priority, should run sooner
+ 
+ 	/**
+ 	 * @property temporary variable storage
+ 	 * @private
+ 	 * @static
+ 	 */
+-	MotionGuidePlugin._rotOffS;
++	createjs.MotionGuidePlugin._rotOffS;
+ 	/**
+ 	 * @property temporary variable storage
+ 	 * @private
+ 	 * @static
+ 	 */
+-	MotionGuidePlugin._rotOffE;
++	createjs.MotionGuidePlugin._rotOffE;
+ 	/**
+ 	 * @property temporary variable storage
+ 	 * @private
+ 	 * @static
+ 	 */
+-	MotionGuidePlugin._rotNormS;
++	createjs.MotionGuidePlugin._rotNormS;
+ 	/**
+ 	 * @property temporary variable storage
+ 	 * @private
+ 	 * @static
+ 	 */
+-	MotionGuidePlugin._rotNormE;
++	createjs.MotionGuidePlugin._rotNormE;
+ 
+ 
+ // static methods
+@@ -113,7 +109,7 @@
+ 	 * @method install
+ 	 * @static
+ 	 **/
+-	MotionGuidePlugin.install = function() {
++	createjs.MotionGuidePlugin.install = function() {
+ 		createjs.Tween.installPlugin(MotionGuidePlugin, ["guide", "x", "y", "rotation"]);
+ 		return createjs.Tween.IGNORE;
+ 	};
+@@ -123,7 +119,7 @@
+ 	 * @protected
+ 	 * @static
+ 	 **/
+-	MotionGuidePlugin.init = function(tween, prop, value) {
++	createjs.MotionGuidePlugin.init = function(tween, prop, value) {
+ 		var target = tween.target;
+ 		if(!target.hasOwnProperty("x")){ target.x = 0; }
+ 		if(!target.hasOwnProperty("y")){ target.y = 0; }
+@@ -138,12 +134,12 @@
+ 	 * @protected
+ 	 * @static
+ 	 **/
+-	MotionGuidePlugin.step = function(tween, prop, startValue, endValue, injectProps) {
++	createjs.MotionGuidePlugin.step = function(tween, prop, startValue, endValue, injectProps) {
+ 		// other props
+ 		if(prop == "rotation"){
+ 			tween.__rotGlobalS = startValue;
+ 			tween.__rotGlobalE = endValue;
+-			MotionGuidePlugin.testRotData(tween, injectProps);
++			createjs.MotionGuidePlugin.testRotData(tween, injectProps);
+ 		}
+ 		if(prop != "guide"){ return endValue; }
+ 
+@@ -191,18 +187,18 @@
+ 		temp = data.orient;
+ 		data.orient = true;
+ 		var o = {};
+-		MotionGuidePlugin.calc(data, data.start, o);
++		createjs.MotionGuidePlugin.calc(data, data.start, o);
+ 		tween.__rotPathS = Number(o.rotation.toFixed(5));
+-		MotionGuidePlugin.calc(data, data.end, o);
++		createjs.MotionGuidePlugin.calc(data, data.end, o);
+ 		tween.__rotPathE = Number(o.rotation.toFixed(5));
+ 		data.orient = false;	//here and now we don't know if we need to
+-		MotionGuidePlugin.calc(data, data.end, injectProps);
++		createjs.MotionGuidePlugin.calc(data, data.end, injectProps);
+ 		data.orient = temp;
+ 
+ 		// Setup rotation properties
+ 		if(!data.orient){ return endValue; }
+ 		tween.__guideData = data;
+-		MotionGuidePlugin.testRotData(tween, injectProps);
++		createjs.MotionGuidePlugin.testRotData(tween, injectProps);
+ 		return endValue;
+ 	};
+ 
+@@ -211,7 +207,7 @@
+ 	 * @protected
+ 	 * @static
+ 	 **/
+-	MotionGuidePlugin.testRotData = function(tween, injectProps){
++	createjs.MotionGuidePlugin.testRotData = function(tween, injectProps){
+ 
+ 		// no rotation informat? if we need it come back, if we don't use 0 & ensure we have guide data
+ 		if(tween.__rotGlobalS === undefined || tween.__rotGlobalE === undefined){
+@@ -256,13 +252,13 @@
+ 	 * @protected
+ 	 * @static
+ 	 **/
+-	MotionGuidePlugin.tween = function(tween, prop, value, startValues, endValues, ratio, wait, end) {
++	createjs.MotionGuidePlugin.tween = function(tween, prop, value, startValues, endValues, ratio, wait, end) {
+ 		var data = endValues.guide;
+ 		if(data == undefined || data === startValues.guide){ return value; }
+ 		if(data.lastRatio != ratio){
+ 			// first time through so calculate what I need to
+ 			var t = ((data.end-data.start)*(wait?data.end:ratio)+data.start);
+-			MotionGuidePlugin.calc(data, t, tween.target);
++			createjs.MotionGuidePlugin.calc(data, t, tween.target);
+ 			switch(data.orient){
+ 				case "cw":		// mix in the original rotation
+ 				case "ccw":
+@@ -279,13 +275,13 @@
+ 	/**
+ 	 * Determine the appropriate x/y/rotation information about a path for a given ratio along the path.
+ 	 * Assumes a path object with all optional parameters specified.
+-	 * @param data Data object you would pass to the "guide:" property in a Tween
+-	 * @param ratio 0-1 Distance along path, values outside 0-1 are "best guess"
+-	 * @param target Object to copy the results onto, will use a new object if not supplied.
++	 * @param {Object} data Data object you would pass to the "guide:" property in a Tween
++	 * @param {Number} ratio 0-1 Distance along path, values outside 0-1 are "best guess"
++	 * @param {Object} target Object to copy the results onto, will use a new object if not supplied.
+ 	 * @return {Object} The target object or a new object w/ the tweened properties
+ 	 * @static
+ 	 */
+-	MotionGuidePlugin.calc = function(data, ratio, target) {
++	createjs.MotionGuidePlugin.calc = function(data, ratio, target) {
+ 		if(data._segments == undefined){ throw("Missing critical pre-calculated information, please file a bug"); }
+ 		if(target == undefined){ target = {x:0, y:0, rotation:0}; }
+ 		var seg = data._segments;
+@@ -326,6 +322,6 @@
+ 		return target;
+ 	};
+ 
+-	createjs.MotionGuidePlugin = MotionGuidePlugin;
++	
++
+ 
+-}());
+diff -ur ../target/downloads/TweenJS-0.6.2/src/tweenjs/SamplePlugin.js TweenJS-0.6.2/src/tweenjs/SamplePlugin.js
+--- ../target/downloads/TweenJS-0.6.2/src/tweenjs/SamplePlugin.js	2015-12-04 09:20:42.000000000 +0100
++++ TweenJS-0.6.2/src/tweenjs/SamplePlugin.js	2016-05-31 11:03:08.000000000 +0200
+@@ -31,10 +31,6 @@
+  */
+ 
+ // namespace:
+-this.createjs = this.createjs||{};
+-
+-(function() {
+-	"use strict";
+ 
+ 	/**
+ 	 * A sample TweenJS plugin. This plugin does not actually affect tweens in any way, it's merely intended to document
+@@ -45,7 +41,7 @@
+ 	 * @class SamplePlugin
+ 	 * @constructor
+ 	 **/
+-	function SamplePlugin() {
++	createjs.SamplePlugin = function() {
+ 		throw("SamplePlugin cannot be instantiated.")
+ 	};
+ 
+@@ -56,7 +52,7 @@
+ 	 * @property priority
+ 	 * @static
+ 	 **/
+-	SamplePlugin.priority = 0;
++	createjs.SamplePlugin.priority = 0;
+ 
+ 	/**
+ 	 * Installs this plugin for use with TweenJS, and registers for a list of properties that this plugin will operate
+@@ -64,7 +60,7 @@
+ 	 * @method install
+ 	 * @static
+ 	 **/
+-	SamplePlugin.install = function() {
++	createjs.SamplePlugin.install = function() {
+ 		// this registers this plugin to work with the "test" property.
+ 		createjs.Tween.installPlugin(SamplePlugin, ["test"]);
+ 	};
+@@ -75,12 +71,12 @@
+ 	 * @method init
+ 	 * @param {Tween} tween The related tween instance.
+ 	 * @param {String} prop The name of the property that is being initialized.
+-	 * @param {any} value The current value of the property on the tween's target.
+-	 * @return {any} The starting tween value for the property. In most cases, you would simply
++	 * @param {Object} value The current value of the property on the tween's target.
++	 * @return {Object} The starting tween value for the property. In most cases, you would simply
+ 	 * return the value parameter, but some plugins may need to modify the starting value.
+ 	 * @static
+ 	 **/
+-	SamplePlugin.init = function(tween, prop, value) {
++	createjs.SamplePlugin.init = function(tween, prop, value) {
+ 		console.log("init", prop, value);
+ 
+ 		// return the unmodified property value:
+@@ -93,14 +89,14 @@
+ 	 * @method init
+ 	 * @param {Tween} tween The related tween instance.
+ 	 * @param {String} prop The name of the property being tweened.
+-	 * @param {any} startValue The value of the property at the beginning of the step. This will
++	 * @param {Object} startValue The value of the property at the beginning of the step. This will
+ 	 * be the same as the init value if this is the first step, or the same as the
+ 	 * endValue of the previous step if not.
+ 	 * @param {Object} injectProps A generic object to which the plugin can append other properties which should be updated on this step.
+-	 * @param {any} endValue The value of the property at the end of the step.
++	 * @param {Object} endValue The value of the property at the end of the step.
+ 	 * @static
+ 	 **/
+-	SamplePlugin.step = function(tween, prop, startValue, endValue, injectProps) {
++	createjs.SamplePlugin.step = function(tween, prop, startValue, endValue, injectProps) {
+ 		console.log("to: ", prop, startValue, endValue);
+ 	};
+ 
+@@ -109,7 +105,7 @@
+ 	 * @method tween
+ 	 * @param {Tween} tween The related tween instance.
+ 	 * @param {String} prop The name of the property being tweened.
+-	 * @param {any} value The current tweened value of the property, as calculated by TweenJS.
++	 * @param {Object} value The current tweened value of the property, as calculated by TweenJS.
+ 	 * @param {Object} startValues A hash of all of the property values at the start of the current
+ 	 * step. You could access the start value of the current property using
+ 	 * startValues[prop].
+@@ -120,13 +116,13 @@
+ 	 * this range.
+ 	 * @param {Boolean} wait Indicates whether the current step is a "wait" step.
+ 	 * @param {Boolean} end Indicates that the tween has reached the end.
+-	 * @return {any} Return the value that should be assigned to the target property. For example
++	 * @return {Object} Return the value that should be assigned to the target property. For example
+ 	 * returning <code>Math.round(value)</code> would assign the default calculated value
+ 	 * as an integer. Returning Tween.IGNORE will prevent Tween from assigning a value to
+ 	 * the target property.
+ 	 * @static
+ 	 **/
+-	SamplePlugin.tween = function(tween, prop, value, startValues, endValues, ratio, wait, end) {
++	createjs.SamplePlugin.tween = function(tween, prop, value, startValues, endValues, ratio, wait, end) {
+ 		// ratio is the eased ratio
+ 		console.log("tween", prop, value, ratio, wait, end);
+ 
+@@ -135,6 +131,6 @@
+ 	};
+ 
+ 
+-	createjs.SamplePlugin = SamplePlugin;
++	
++
+ 
+-}());
+diff -ur ../target/downloads/TweenJS-0.6.2/src/tweenjs/Timeline.js TweenJS-0.6.2/src/tweenjs/Timeline.js
+--- ../target/downloads/TweenJS-0.6.2/src/tweenjs/Timeline.js	2015-12-04 09:20:42.000000000 +0100
++++ TweenJS-0.6.2/src/tweenjs/Timeline.js	2016-05-31 11:03:08.000000000 +0200
+@@ -31,11 +31,6 @@
+  */
+ 
+ // namespace:
+-this.createjs = this.createjs||{};
+-
+-
+-(function() {
+-	"use strict";
+ 	
+ 
+ // constructor	
+@@ -57,10 +52,10 @@
+ 	 *    <LI> position: indicates the initial position for this timeline.</LI>
+ 	 *    <LI> onChange: specifies a listener to add for the {{#crossLink "Timeline/change:event"}}{{/crossLink}} event.</LI>
+ 	 * </UL>
+-	 * @extends EventDispatcher
++	 * @extends createjs.EventDispatcher
+ 	 * @constructor
+ 	 **/
+-	function Timeline(tweens, labels, props) {
++	createjs.Timeline = function(tweens, labels, props) {
+ 		this.EventDispatcher_constructor();
+ 
+ 	// public properties:
+@@ -176,10 +171,10 @@
+ 		
+ 	};
+ 	
+-	var p = createjs.extend(Timeline, createjs.EventDispatcher);
++	
+ 
+ 	// TODO: deprecated
+-	// p.initialize = function() {}; // searchable for devs wondering where it is. REMOVED. See docs for details.
++	// createjs.Timeline.prototype.initialize = function() {}; // searchable for devs wondering where it is. REMOVED. See docs for details.
+ 
+ 	
+ // events:
+@@ -199,7 +194,7 @@
+ 	 * @param {Tween} ...tween The tween(s) to add. Accepts multiple arguments.
+ 	 * @return {Tween} The first tween that was passed in.
+ 	 **/
+-	p.addTween = function(tween) {
++ createjs.Timeline.prototype.addTween = function(tween) {
+ 		var l = arguments.length;
+ 		if (l > 1) {
+ 			for (var i=0; i<l; i++) { this.addTween(arguments[i]); }
+@@ -221,7 +216,7 @@
+ 	 * @param {Tween} ...tween The tween(s) to remove. Accepts multiple arguments.
+ 	 * @return Boolean Returns `true` if all of the tweens were successfully removed.
+ 	 **/
+-	p.removeTween = function(tween) {
++ createjs.Timeline.prototype.removeTween = function(tween) {
+ 		var l = arguments.length;
+ 		if (l > 1) {
+ 			var good = true;
+@@ -247,7 +242,7 @@
+ 	 * @param {String} label The label name.
+ 	 * @param {Number} position The position this label represents.
+ 	 **/
+-	p.addLabel = function(label, position) {
++ createjs.Timeline.prototype.addLabel = function(label, position) {
+ 		this._labels[label] = position;
+ 		var list = this._labelList;
+ 		if (list) {
+@@ -262,7 +257,7 @@
+ 	 * @param {Object} o An object defining labels for using {{#crossLink "Timeline/gotoAndPlay"}}{{/crossLink}}/{{#crossLink "Timeline/gotoAndStop"}}{{/crossLink}}
+ 	 * in the form `{labelName:time}` where time is in milliseconds (or ticks if `useTicks` is `true`).
+ 	 **/
+-	p.setLabels = function(o) {
++ createjs.Timeline.prototype.setLabels = function(o) {
+ 		this._labels = o ?  o : {};
+ 	};
+ 
+@@ -271,7 +266,7 @@
+ 	 * @method getLabels
+ 	 * @return {Array[Object]} A sorted array of objects with label and position properties.
+ 	 **/
+-	p.getLabels = function() {
++ createjs.Timeline.prototype.getLabels = function() {
+ 		var list = this._labelList;
+ 		if (!list) {
+ 			list = this._labelList = [];
+@@ -296,7 +291,7 @@
+ 	 * @method getCurrentLabel
+ 	 * @return {String} The name of the current label or null if there is no label
+ 	 **/
+-	p.getCurrentLabel = function() {
++ createjs.Timeline.prototype.getCurrentLabel = function() {
+ 		var labels = this.getLabels();
+ 		var pos = this.position;
+ 		var l = labels.length;
+@@ -313,7 +308,7 @@
+ 	 * @param {String|Number} positionOrLabel The position in milliseconds (or ticks if `useTicks` is `true`)
+ 	 * or label to jump to.
+ 	 **/
+-	p.gotoAndPlay = function(positionOrLabel) {
++ createjs.Timeline.prototype.gotoAndPlay = function(positionOrLabel) {
+ 		this.setPaused(false);
+ 		this._goto(positionOrLabel);
+ 	};
+@@ -324,7 +319,7 @@
+ 	 * @param {String|Number} positionOrLabel The position in milliseconds (or ticks if `useTicks` is `true`) or label
+ 	 * to jump to.
+ 	 **/
+-	p.gotoAndStop = function(positionOrLabel) {
++ createjs.Timeline.prototype.gotoAndStop = function(positionOrLabel) {
+ 		this.setPaused(true);
+ 		this._goto(positionOrLabel);
+ 	};
+@@ -338,7 +333,7 @@
+ 	 * @return {Boolean} Returns `true` if the timeline is complete (ie. the full timeline has run & {{#crossLink "Timeline/loop:property"}}{{/crossLink}}
+ 	 * is `false`).
+ 	 **/
+-	p.setPosition = function(value, actionsMode) {
++ createjs.Timeline.prototype.setPosition = function(value, actionsMode) {
+ 		var t = this._calcPosition(value);
+ 		var end = !this.loop && value >= this.duration;
+ 		if (t == this._prevPos) { return end; }
+@@ -358,7 +353,7 @@
+ 	 * @method setPaused
+ 	 * @param {Boolean} value Indicates whether the tween should be paused (`true`) or played (`false`).
+ 	 **/
+-	p.setPaused = function(value) {
++ createjs.Timeline.prototype.setPaused = function(value) {
+ 		this._paused = !!value; 
+ 		createjs.Tween._register(this, !value);
+ 	};
+@@ -368,7 +363,7 @@
+ 	 * but this method is useful if you modify a tween after it was added to the timeline.
+ 	 * @method updateDuration
+ 	 **/
+-	p.updateDuration = function() {
++ createjs.Timeline.prototype.updateDuration = function() {
+ 		this.duration = 0;
+ 		for (var i=0,l=this._tweens.length; i<l; i++) {
+ 			var tween = this._tweens[i];
+@@ -383,7 +378,7 @@
+ 	 * @method tick
+ 	 * @param {Number} delta The time to advance in milliseconds (or ticks if useTicks is true).
+ 	 **/
+-	p.tick = function(delta) {
++ createjs.Timeline.prototype.tick = function(delta) {
+ 		this.setPosition(this._prevPosition+delta);
+ 	};
+ 
+@@ -393,7 +388,7 @@
+ 	 * @method resolve
+ 	 * @param {String|Number} positionOrLabel A numeric position value or label string.
+ 	 **/
+-	p.resolve = function(positionOrLabel) {
++ createjs.Timeline.prototype.resolve = function(positionOrLabel) {
+ 		var pos = Number(positionOrLabel);
+ 		if (isNaN(pos)) { pos = this._labels[positionOrLabel]; }
+ 		return pos;
+@@ -404,7 +399,7 @@
+ 	* @method toString
+ 	* @return {String} a string representation of the instance.
+ 	**/
+-	p.toString = function() {
++ createjs.Timeline.prototype.toString = function() {
+ 		return "[Timeline]";
+ 	};
+ 
+@@ -412,7 +407,7 @@
+ 	 * @method clone
+ 	 * @protected
+ 	 **/
+-	p.clone = function() {
++ createjs.Timeline.prototype.clone = function() {
+ 		throw("Timeline can not be cloned.")
+ 	};
+ 
+@@ -422,7 +417,7 @@
+ 	 * @param {String | Number} positionOrLabel
+ 	 * @protected
+ 	 **/
+-	p._goto = function(positionOrLabel) {
++ createjs.Timeline.prototype._goto = function(positionOrLabel) {
+ 		var pos = this.resolve(positionOrLabel);
+ 		if (pos != null) { this.setPosition(pos); }
+ 	};
+@@ -433,12 +428,12 @@
+ 	 * @return {Number}
+ 	 * @protected
+ 	 **/
+-	p._calcPosition = function(value) {
++ createjs.Timeline.prototype._calcPosition = function(value) {
+ 		if (value < 0) { return 0; }
+ 		if (value < this.duration) { return value; }
+ 		return this.loop ? value%this.duration : this.duration;
+ 	};
+ 
+-	createjs.Timeline = createjs.promote(Timeline, "EventDispatcher");
++	
++
+ 
+-}());
+diff -ur ../target/downloads/TweenJS-0.6.2/src/tweenjs/Tween.js TweenJS-0.6.2/src/tweenjs/Tween.js
+--- ../target/downloads/TweenJS-0.6.2/src/tweenjs/Tween.js	2015-12-04 09:20:42.000000000 +0100
++++ TweenJS-0.6.2/src/tweenjs/Tween.js	2016-05-31 11:03:07.000000000 +0200
+@@ -70,10 +70,6 @@
+ // TODO: evaluate a way to decouple paused from tick registration.
+ 
+ // namespace:
+-this.createjs = this.createjs||{};
+-
+-(function() {
+-	"use strict";
+ 
+ 
+ // constructor
+@@ -113,17 +109,17 @@
+ 	 *    <LI> loop: sets the loop property on this tween.</LI>
+ 	 *    <LI> useTicks: uses ticks for all durations instead of milliseconds.</LI>
+ 	 *    <LI> ignoreGlobalPause: sets the {{#crossLink "Tween/ignoreGlobalPause:property"}}{{/crossLink}} property on this tween.</LI>
+-	 *    <LI> override: if true, `Tween.removeTweens(target)` will be called to remove any other tweens with the same target.
++	 *    <LI> override: if true, `createjs.Tween.removeTweens(target)` will be called to remove any other tweens with the same target.
+ 	 *    <LI> paused: indicates whether to start the tween paused.</LI>
+ 	 *    <LI> position: indicates the initial position for this tween.</LI>
+ 	 *    <LI> onChange: specifies a listener for the "change" event.</LI>
+ 	 * </UL>
+ 	 * @param {Object} [pluginData] An object containing data for use by installed plugins. See individual
+ 	 * plugins' documentation for details.
+-	 * @extends EventDispatcher
++	 * @extends createjs.EventDispatcher
+ 	 * @constructor
+ 	 */
+-	function Tween(target, props, pluginData) {
++	createjs.Tween = function(target, props, pluginData) {
+ 
+ 	// public properties:
+ 		/**
+@@ -160,11 +156,11 @@
+ 		 * Allows you to specify data that will be used by installed plugins. Each plugin uses this differently, but in general
+ 		 * you specify data by setting it to a property of pluginData with the same name as the plugin class.
+ 		 * @example
+-		 *	myTween.pluginData.PluginClassName = data;
++		 *	mycreatejs.Tween.pluginData.PluginClassName = data;
+ 		 * <br/>
+ 		 * Also, most plugins support a property to enable or disable them. This is typically the plugin class name followed by "_enabled".<br/>
+ 		 * @example
+-		 *	myTween.pluginData.PluginClassName_enabled = false;<br/>
++		 *	mycreatejs.Tween.pluginData.PluginClassName_enabled = false;<br/>
+ 		 * <br/>
+ 		 * Some plugins also store instance data in this object, usually in a property named _PluginClassName.
+ 		 * See the documentation for individual plugins for more details.
+@@ -288,7 +284,7 @@
+ 		this._inited = false;
+ 		
+ 		/**
+-		 * Indicates whether the tween is currently registered with Tween.
++		 * Indicates whether the tween is currently registered with createjs.Tween.
+ 		 * @property _registered
+ 		 * @type {boolean}
+ 		 * @default false
+@@ -302,18 +298,18 @@
+ 			this.ignoreGlobalPause = props.ignoreGlobalPause;
+ 			this.loop = props.loop;
+ 			props.onChange && this.addEventListener("change", props.onChange);
+-			if (props.override) { Tween.removeTweens(target); }
++			if (props.override) { createjs.Tween.removeTweens(target); }
+ 		}
+ 		if (props&&props.paused) { this._paused=true; }
+ 		else { createjs.Tween._register(this,true); }
+-		if (props&&props.position!=null) { this.setPosition(props.position, Tween.NONE); }
++		if (props&&props.position!=null) { this.setPosition(props.position, createjs.Tween.NONE); }
+ 
+ 	};
+ 
+-	var p = createjs.extend(Tween, createjs.EventDispatcher);
++	
+ 
+ 	// TODO: deprecated
+-	// p.initialize = function() {}; // searchable for devs wondering where it is. REMOVED. See docs for details.
++	// createjs.Tween.prototype.initialize = function() {}; // searchable for devs wondering where it is. REMOVED. See docs for details.
+ 	
+ 
+ // static properties
+@@ -324,7 +320,7 @@
+ 	 * @default 0
+ 	 * @static
+ 	 */
+-	Tween.NONE = 0;
++	createjs.Tween.NONE = 0;
+ 
+ 	/**
+ 	 * Constant defining the loop actionsMode for use with setPosition.
+@@ -333,7 +329,7 @@
+ 	 * @default 1
+ 	 * @static
+ 	 */
+-	Tween.LOOP = 1;
++	createjs.Tween.LOOP = 1;
+ 
+ 	/**
+ 	 * Constant defining the reverse actionsMode for use with setPosition.
+@@ -342,7 +338,7 @@
+ 	 * @default 2
+ 	 * @static
+ 	 */
+-	Tween.REVERSE = 2;
++	createjs.Tween.REVERSE = 2;
+ 
+ 	/**
+ 	 * Constant returned by plugins to tell the tween not to use default assignment.
+@@ -350,7 +346,7 @@
+ 	 * @type Object
+ 	 * @static
+ 	 */
+-	Tween.IGNORE = {};
++	createjs.Tween.IGNORE = {};
+ 
+ 	/**
+ 	 * @property _listeners
+@@ -358,7 +354,7 @@
+ 	 * @static
+ 	 * @protected
+ 	 */
+-	Tween._tweens = [];
++	createjs.Tween._tweens = [];
+ 
+ 	/**
+ 	 * @property _plugins
+@@ -366,7 +362,7 @@
+ 	 * @static
+ 	 * @protected
+ 	 */
+-	Tween._plugins = {};
++	createjs.Tween._plugins = {};
+ 
+ 
+ // static methods	
+@@ -395,13 +391,13 @@
+ 	 * @param {Object} [pluginData] An object containing data for use by installed plugins. See individual plugins'
+ 	 * documentation for details.
+ 	 * @param {Boolean} [override=false] If true, any previous tweens on the same target will be removed. This is the
+-	 * same as calling `Tween.removeTweens(target)`.
++	 * same as calling `createjs.Tween.removeTweens(target)`.
+ 	 * @return {Tween} A reference to the created tween. Additional chained tweens, method calls, or callbacks can be
+ 	 * applied to the returned tween instance.
+ 	 * @static
+ 	 */
+-	Tween.get = function(target, props, pluginData, override) {
+-		if (override) { Tween.removeTweens(target); }
++	createjs.Tween.get = function(target, props, pluginData, override) {
++		if (override) { createjs.Tween.removeTweens(target); }
+ 		return new Tween(target, props, pluginData);
+ 	};
+ 
+@@ -415,8 +411,8 @@
+ 	 * will ignore this, but all others will pause if this is `true`.
+ 	 * @static
+ 	 */
+-	Tween.tick = function(delta, paused) {
+-		var tweens = Tween._tweens.slice(); // to avoid race conditions.
++	createjs.Tween.tick = function(delta, paused) {
++		var tweens = createjs.Tween._tweens.slice(); // to avoid race conditions.
+ 		for (var i=tweens.length-1; i>=0; i--) {
+ 			var tween = tweens[i];
+ 			if ((paused && !tween.ignoreGlobalPause) || tween._paused) { continue; }
+@@ -427,7 +423,7 @@
+ 	/**
+ 	 * Handle events that result from Tween being used as an event handler. This is included to allow Tween to handle
+ 	 * {{#crossLink "Ticker/tick:event"}}{{/crossLink}} events from the createjs {{#crossLink "Ticker"}}{{/crossLink}}.
+-	 * No other events are handled in Tween.
++	 * No other events are handled in createjs.Tween.
+ 	 * @method handleEvent
+ 	 * @param {Object} event An event object passed in by the {{#crossLink "EventDispatcher"}}{{/crossLink}}. Will
+ 	 * usually be of type "tick".
+@@ -435,7 +431,7 @@
+ 	 * @static
+ 	 * @since 0.4.2
+ 	 */
+-	Tween.handleEvent = function(event) {
++	createjs.Tween.handleEvent = function(event) {
+ 		if (event.type == "tick") {
+ 			this.tick(event.delta, event.paused);
+ 		}
+@@ -448,9 +444,9 @@
+ 	 * @param {Object} target The target object to remove existing tweens from.
+ 	 * @static
+ 	 */
+-	Tween.removeTweens = function(target) {
++	createjs.Tween.removeTweens = function(target) {
+ 		if (!target.tweenjs_count) { return; }
+-		var tweens = Tween._tweens;
++		var tweens = createjs.Tween._tweens;
+ 		for (var i=tweens.length-1; i>=0; i--) {
+ 			var tween = tweens[i];
+ 			if (tween._target == target) {
+@@ -467,8 +463,8 @@
+ 	 * @static
+ 	 * @since 0.4.1
+ 	 */
+-	Tween.removeAllTweens = function() {
+-		var tweens = Tween._tweens;
++	createjs.Tween.removeAllTweens = function() {
++		var tweens = createjs.Tween._tweens;
+ 		for (var i= 0, l=tweens.length; i<l; i++) {
+ 			var tween = tweens[i];
+ 			tween._paused = true;
+@@ -485,9 +481,9 @@
+ 	 * @return {Boolean} If there are active tweens.
+ 	 * @static
+ 	 */
+-	Tween.hasActiveTweens = function(target) {
++	createjs.Tween.hasActiveTweens = function(target) {
+ 		if (target) { return target.tweenjs_count != null && !!target.tweenjs_count; }
+-		return Tween._tweens && !!Tween._tweens.length;
++		return createjs.Tween._tweens && !!createjs.Tween._tweens.length;
+ 	};
+ 
+ 	/**
+@@ -498,10 +494,10 @@
+ 	 * @param {Object} plugin The plugin class to install
+ 	 * @param {Array} properties An array of properties that the plugin will handle.
+ 	 */
+-	Tween.installPlugin = function(plugin, properties) {
++	createjs.Tween.installPlugin = function(plugin, properties) {
+ 		var priority = plugin.priority;
+ 		if (priority == null) { plugin.priority = priority = 0; }
+-		for (var i=0,l=properties.length,p=Tween._plugins;i<l;i++) {
++		for (var i=0,l=properties.length,p=createjs.Tween._plugins;i<l;i++) {
+ 			var n = properties[i];
+ 			if (!p[n]) { p[n] = [plugin]; }
+ 			else {
+@@ -522,14 +518,14 @@
+ 	 * @static
+ 	 * @protected
+ 	 */
+-	Tween._register = function(tween, value) {
++	createjs.Tween._register = function(tween, value) {
+ 		var target = tween._target;
+-		var tweens = Tween._tweens;
++		var tweens = createjs.Tween._tweens;
+ 		if (value && !tween._registered) {
+ 			// TODO: this approach might fail if a dev is using sealed objects in ES5
+ 			if (target) { target.tweenjs_count = target.tweenjs_count ? target.tweenjs_count+1 : 1; }
+ 			tweens.push(tween);
+-			if (!Tween._inited && createjs.Ticker) { createjs.Ticker.addEventListener("tick", Tween); Tween._inited = true; }
++			if (!createjs.Tween._inited && createjs.Ticker) { createjs.Ticker.addEventListener("tick", Tween); createjs.Tween._inited = true; }
+ 		} else if (!value && tween._registered) {
+ 			if (target) { target.tweenjs_count--; }
+ 			var i = tweens.length;
+@@ -567,7 +563,7 @@
+ 	 * affecting the same target at different times.
+ 	 * @return {Tween} This tween instance (for chaining calls).
+ 	 **/
+-	p.wait = function(duration, passive) {
++ createjs.Tween.prototype.wait = function(duration, passive) {
+ 		if (duration == null || duration <= 0) { return this; }
+ 		var o = this._cloneProps(this._curQueueProps);
+ 		return this._addStep({d:duration, p0:o, e:this._linearEase, p1:o, v:passive});
+@@ -589,7 +585,7 @@
+ 	 * class for a list of built-in ease functions.
+ 	 * @return {Tween} This tween instance (for chaining calls).
+ 	 */
+-	p.to = function(props, duration, ease) {
++ createjs.Tween.prototype.to = function(props, duration, ease) {
+ 		if (isNaN(duration) || duration < 0) { duration = 0; }
+ 		return this._addStep({d:duration||0, p0:this._cloneProps(this._curQueueProps), e:ease, p1:this._cloneProps(this._appendQueueProps(props))});
+ 	};
+@@ -599,7 +595,7 @@
+ 	 * <h4>Example</h4>
+ 	 *
+ 	 *   	//would call myFunction() after 1 second.
+-	 *   	myTween.wait(1000).call(myFunction);
++	 *   	mycreatejs.Tween.wait(1000).call(myFunction);
+ 	 *
+ 	 * @method call
+ 	 * @param {Function} callback The function to call.
+@@ -609,7 +605,7 @@
+ 	 *      scope.
+ 	 * @return {Tween} This tween instance (for chaining calls).
+ 	 */
+-	p.call = function(callback, params, scope) {
++ createjs.Tween.prototype.call = function(callback, params, scope) {
+ 		return this._addAction({f:callback, p:params ? params : [this], o:scope ? scope : this._target});
+ 	};
+ 
+@@ -619,14 +615,14 @@
+ 	 * target.
+ 	 * <h4>Example</h4>
+ 	 *
+-	 *		myTween.wait(1000).set({visible:false},foo);
++	 *		mycreatejs.Tween.wait(1000).set({visible:false},foo);
+ 	 *
+ 	 * @method set
+ 	 * @param {Object} props The properties to set (ex. `{visible:false}`).
+ 	 * @param {Object} [target] The target to set the properties on. If omitted, they will be set on the tween's target.
+ 	 * @return {Tween} This tween instance (for chaining calls).
+ 	 */
+-	p.set = function(props, target) {
++ createjs.Tween.prototype.set = function(props, target) {
+ 		return this._addAction({f:this._set, o:this, p:[props, target ? target : this._target]});
+ 	};
+ 
+@@ -634,13 +630,13 @@
+ 	 * Queues an action to play (unpause) the specified tween. This enables you to sequence multiple tweens.
+ 	 * <h4>Example</h4>
+ 	 *
+-	 *		myTween.to({x:100},500).play(otherTween);
++	 *		mycreatejs.Tween.to({x:100},500).play(otherTween);
+ 	 *
+ 	 * @method play
+ 	 * @param {Tween} tween The tween to play.
+ 	 * @return {Tween} This tween instance (for chaining calls).
+ 	 */
+-	p.play = function(tween) {
++ createjs.Tween.prototype.play = function(tween) {
+ 		if (!tween) { tween = this; }
+ 		return this.call(tween.setPaused, [false], tween);
+ 	};
+@@ -651,7 +647,7 @@
+ 	 * @param {Tween} tween The tween to pause. If null, it pauses this tween.
+ 	 * @return {Tween} This tween instance (for chaining calls)
+ 	 */
+-	p.pause = function(tween) {
++ createjs.Tween.prototype.pause = function(tween) {
+ 		if (!tween) { tween = this; }
+ 		return this.call(tween.setPaused, [true], tween);
+ 	};
+@@ -671,7 +667,7 @@
+ 	 * @return {Boolean} Returns `true` if the tween is complete (ie. the full tween has run & {{#crossLink "Tween/loop:property"}}{{/crossLink}}
+ 	 * is `false`).
+ 	 */
+-	p.setPosition = function(value, actionsMode) {
++ createjs.Tween.prototype.setPosition = function(value, actionsMode) {
+ 		if (value < 0) { value = 0; }
+ 		if (actionsMode == null) { actionsMode = 1; }
+ 
+@@ -733,7 +729,7 @@
+ 	 * @method tick
+ 	 * @param {Number} delta The time to advance in milliseconds (or ticks if `useTicks` is `true`).
+ 	 */
+-	p.tick = function(delta) {
++ createjs.Tween.prototype.tick = function(delta) {
+ 		if (this._paused) { return; }
+ 		this.setPosition(this._prevPosition+delta);
+ 	};
+@@ -744,25 +740,25 @@
+ 	 * @param {Boolean} [value=true] Indicates whether the tween should be paused (`true`) or played (`false`).
+ 	 * @return {Tween} This tween instance (for chaining calls)
+ 	 */
+-	p.setPaused = function(value) {
++ createjs.Tween.prototype.setPaused = function(value) {
+ 		if (this._paused === !!value) { return this; }
+ 		this._paused = !!value;
+-		Tween._register(this, !value);
++		createjs.Tween._register(this, !value);
+ 		return this;
+ 	};
+ 
+ 	// tiny api (primarily for tool output):
+-	p.w = p.wait;
+-	p.t = p.to;
+-	p.c = p.call;
+-	p.s = p.set;
++ createjs.Tween.prototype.w = createjs.Tween.prototype.wait;
++ createjs.Tween.prototype.t = createjs.Tween.prototype.to;
++ createjs.Tween.prototype.c = createjs.Tween.prototype.call;
++ createjs.Tween.prototype.s = createjs.Tween.prototype.set;
+ 
+ 	/**
+ 	 * Returns a string representation of this object.
+ 	 * @method toString
+ 	 * @return {String} a string representation of the instance.
+ 	 */
+-	p.toString = function() {
++ createjs.Tween.prototype.toString = function() {
+ 		return "[Tween]";
+ 	};
+ 
+@@ -770,7 +766,7 @@
+ 	 * @method clone
+ 	 * @protected
+ 	 */
+-	p.clone = function() {
++ createjs.Tween.prototype.clone = function() {
+ 		throw("Tween can not be cloned.")
+ 	};
+ 
+@@ -781,7 +777,7 @@
+ 	 * @param {Number} ratio
+ 	 * @protected
+ 	 */
+-	p._updateTargetProps = function(step, ratio) {
++ createjs.Tween.prototype._updateTargetProps = function(step, ratio) {
+ 		var p0,p1,v,v0,v1,arr;
+ 		if (!step && ratio == 1) {
+ 			// GDS: when does this run? Just at the very end? Shouldn't.
+@@ -807,10 +803,10 @@
+ 			}
+ 
+ 			var ignore = false;
+-			if (arr = Tween._plugins[n]) {
++			if (arr = createjs.Tween._plugins[n]) {
+ 				for (var i=0,l=arr.length;i<l;i++) {
+ 					var v2 = arr[i].tween(this, n, v, p0, p1, ratio, !!step&&p0==p1, !step);
+-					if (v2 == Tween.IGNORE) { ignore = true; }
++					if (v2 == createjs.Tween.IGNORE) { ignore = true; }
+ 					else { v = v2; }
+ 				}
+ 			}
+@@ -826,7 +822,7 @@
+ 	 * @param {Boolean} includeStart
+ 	 * @protected
+ 	 */
+-	p._runActions = function(startPos, endPos, includeStart) {
++ createjs.Tween.prototype._runActions = function(startPos, endPos, includeStart) {
+ 		var sPos = startPos;
+ 		var ePos = endPos;
+ 		var i = -1;
+@@ -853,14 +849,14 @@
+ 	 * @param {Object} o
+ 	 * @protected
+ 	 */
+-	p._appendQueueProps = function(o) {
++ createjs.Tween.prototype._appendQueueProps = function(o) {
+ 		var arr,oldValue,i, l, injectProps;
+ 		for (var n in o) {
+ 			if (this._initQueueProps[n] === undefined) {
+ 				oldValue = this._target[n];
+ 
+ 				// init plugins:
+-				if (arr = Tween._plugins[n]) {
++				if (arr = createjs.Tween._plugins[n]) {
+ 					for (i=0,l=arr.length;i<l;i++) {
+ 						oldValue = arr[i].init(this, n, oldValue);
+ 					}
+@@ -873,7 +869,7 @@
+ 
+ 		for (var n in o) {
+ 			oldValue = this._curQueueProps[n];
+-			if (arr = Tween._plugins[n]) {
++			if (arr = createjs.Tween._plugins[n]) {
+ 				injectProps = injectProps||{};
+ 				for (i=0, l=arr.length;i<l;i++) {
+ 					// TODO: remove the check for .step in the next version. It's here for backwards compatibility.
+@@ -891,7 +887,7 @@
+ 	 * @param {Object} props
+ 	 * @protected
+ 	 */
+-	p._cloneProps = function(props) {
++ createjs.Tween.prototype._cloneProps = function(props) {
+ 		var o = {};
+ 		for (var n in props) {
+ 			o[n] = props[n];
+@@ -904,7 +900,7 @@
+ 	 * @param {Object} o
+ 	 * @protected
+ 	 */
+-	p._addStep = function(o) {
++ createjs.Tween.prototype._addStep = function(o) {
+ 		if (o.d > 0) {
+ 			this._steps.push(o);
+ 			o.t = this.duration;
+@@ -918,7 +914,7 @@
+ 	 * @param {Object} o
+ 	 * @protected
+ 	 */
+-	p._addAction = function(o) {
++ createjs.Tween.prototype._addAction = function(o) {
+ 		o.t = this.duration;
+ 		this._actions.push(o);
+ 		return this;
+@@ -930,12 +926,12 @@
+ 	 * @param {Object} o
+ 	 * @protected
+ 	 */
+-	p._set = function(props, o) {
++ createjs.Tween.prototype._set = function(props, o) {
+ 		for (var n in props) {
+ 			o[n] = props[n];
+ 		}
+ 	};
+ 
+-	createjs.Tween = createjs.promote(Tween, "EventDispatcher");
++	
++
+ 
+-}());
+diff -ur ../target/downloads/TweenJS-0.6.2/src/tweenjs/version.js TweenJS-0.6.2/src/tweenjs/version.js
+--- ../target/downloads/TweenJS-0.6.2/src/tweenjs/version.js	2015-12-04 09:20:42.000000000 +0100
++++ TweenJS-0.6.2/src/tweenjs/version.js	2016-05-31 11:03:07.000000000 +0200
+@@ -1,10 +1,6 @@
+ /**
+  * @module TweenJS
+  */
+-this.createjs = this.createjs || {};
+-
+-(function() {
+-	"use strict";
+ 
+ 	/**
+ 	 * Static class holding library specific information such as the version and buildDate of
+@@ -29,4 +25,4 @@
+ 	 **/
+ 	s.buildDate = /*=date*/""; // injected by build process
+ 
+-})();
++


[3/3] git commit: [flex-falcon] [refs/heads/develop] - - Update the maven build to use the maven-patch-plugin for the patching - Added new versions of the patch files(Created with: diff -ur ../target/downloads/TweenJS-0.6.2/src/ TweenJS-0.6.2/src/ > twee

Posted by cd...@apache.org.
- Update the maven build to use the maven-patch-plugin for the patching
- Added new versions of the patch files(Created with: diff -ur ../target/downloads/TweenJS-0.6.2/src/ TweenJS-0.6.2/src/ > tweenjs2.patch
)


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

Branch: refs/heads/develop
Commit: 434e05866f37bc475a186073f857bfc0963f3e8f
Parents: fc4e3af
Author: Christofer Dutz <ch...@codecentric.de>
Authored: Tue May 31 11:39:58 2016 +0200
Committer: Christofer Dutz <ch...@codecentric.de>
Committed: Tue May 31 11:39:58 2016 +0200

----------------------------------------------------------------------
 externs/createjs/pom.xml                       |  102 +-
 externs/createjs/src/main/patch/easeljs2.patch | 8636 +++++++++++++++++++
 externs/createjs/src/main/patch/tweenjs2.patch | 1462 ++++
 3 files changed, 10120 insertions(+), 80 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/434e0586/externs/createjs/pom.xml
----------------------------------------------------------------------
diff --git a/externs/createjs/pom.xml b/externs/createjs/pom.xml
index 84a7442..d2f5dd0 100644
--- a/externs/createjs/pom.xml
+++ b/externs/createjs/pom.xml
@@ -77,103 +77,45 @@
             </plugin>
 
             <plugin>
-                <groupId>org.apache.flex.flexjs.compiler</groupId>
-                <artifactId>compiler-build-tools</artifactId>
-                <version>0.7.0-SNAPSHOT</version>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-patch-plugin</artifactId>
+                <version>1.2</version>
+                <configuration>
+                    <patchDirectory>src/main/patch</patchDirectory>
+                    <strip>2</strip>
+                    <binary>true</binary>
+                </configuration>
                 <executions>
                     <execution>
-                        <id>pre-process-sources</id>
-                        <phase>validate</phase>
-                        <goals>
-                            <goal>pre-process-sources</goal>
-                        </goals>
-                        <configuration>
-                            <operations>
-                                <replace-regexp-operation><match>this\.createjs = this\.createjs(\s)*\|\|(\s)*\{\};</match><replace/></replace-regexp-operation>
-                                <!-- Remove the opening brackets at the beginning -->
-                                <replace-regexp-operation><match>(\n|\r){1,2}\(function(\s)*\(\)(\s)*\{(\s)*(\n|\r)*</match><replace/></replace-regexp-operation>
-                                <!-- Remove the "use strict" output -->
-                                <replace-regexp-operation><match>\s*"use strict";(\n\r)*</match><replace/></replace-regexp-operation>
-                                <!-- Rewrite the way the functions are declared -->
-                                <replace-regexp-operation><match>function �{file.base}\(</match><replace>createjs.�{file.base} = function(</replace></replace-regexp-operation>
-                                <!-- Replace the way the type is referenced -->
-                                <replace-regexp-operation><match>var p = �{file.base}\.prototype;</match><replace/></replace-regexp-operation>
-                                <replace-regexp-operation><match>\sp\.</match><replace>_createjs.�{file.base}.prototype.</replace></replace-regexp-operation>
-                                <replace-regexp-operation><match>(?&lt;!createjs\.)�{file.base}\.</match><replace>createjs.�{file.base}.</replace></replace-regexp-operation>
-                                <replace-regexp-operation><match>var p = createjs\.extend\(�{file.base}, createjs\..*\);</match><replace/></replace-regexp-operation>
-                                <replace-regexp-operation><match>createjs\.�{file.base} = createjs\.promote\(�{file.base}, ".*"\);</match><replace/></replace-regexp-operation>
-                                <replace-regexp-operation><match>createjs\.�{file.base} = �{file.base};</match><replace/></replace-regexp-operation>
-                                <replace-regexp-operation><match>\s@extends\s(.*)</match><replace>_@extends createjs.$1</replace></replace-regexp-operation>
-                                <!-- Add the package to the JavaScript Doc types that are not naive JavaScript -->
-                                <replace-regexp-operation><match>\s@(param|type|return)\s\{(Sprite|SpriteSheet|DisplayObject|Container|Shadow|Rectangle|Matrix2D|Stage|Point|DisplayProps|Graphics|MovieClip|ColorMatrix|Filter)(\}|\s)</match><replace>_@$1 {createjs.$2$3</replace></replace-regexp-operation>
-                                <!-- Remove the "[time]" that sometimes accompanies Number parameters and place it after the type -->
-                                <replace-regexp-operation><match>@param \[time\] \{Number\}</match><replace>@param {Number} time</replace></replace-regexp-operation>
-                                <!--
-                                    Replace the try-catch
-                                    (Had to limit the number of chars as other wise I get Stack Overflows)
-                                -->
-                                <replace-regexp-operation><match>\stry \{\s*Object\.defineProperties\(p, \{\s*(.*): \{\s(.|\n|\r){0,200} *\} catch \(e\) \{\}</match><replace>createjs.�{file.base}.prototype.$1;</replace></replace-regexp-operation>
-                                <!-- In MouseEvent and MovieClip the try-cach was completely removed -->
-                                <replace-regexp-operation><match>createjs.MouseEvent.prototype.localX; // TODO: use Log</match><replace/></replace-regexp-operation>
-                                <replace-regexp-operation><match>createjs.MovieClip.prototype.labels;</match><replace/></replace-regexp-operation>
-                                <!-- Remove the closing brackets at the end -->
-                                <replace-regexp-operation><match>\}(\)\(|\(\))\);</match><replace/></replace-regexp-operation>
-                                <!-- Fixes needed by tweenjs -->
-                                <replace-regexp-operation><match>@param data</match><replace>@param \{Object\} data</replace></replace-regexp-operation>
-                                <replace-regexp-operation><match>@param ratio</match><replace>@param \{Number\} ratio</replace></replace-regexp-operation>
-                                <replace-regexp-operation><match>@param target</match><replace>@param \{Object\} target</replace></replace-regexp-operation>
-                                <replace-regexp-operation><match>\{any\}</match><replace>\{Object\}</replace></replace-regexp-operation>
-                            </operations>
-                        </configuration>
-                    </execution>
-                    <execution>
-                        <id>pre-process-sources-ticker</id>
+                        <id>patch-easeljs</id>
                         <phase>validate</phase>
                         <goals>
-                            <goal>pre-process-sources</goal>
+                            <goal>apply</goal>
                         </goals>
                         <configuration>
-                            <includes>
-                                <include>EaselJS-${createjs.version}/src/createjs/utils/Ticker.js</include>
-                            </includes>
-                            <operations>
-                                <cut-operation>
-                                    <start-cutting-line>355</start-cutting-line>
-                                    <stop-cutting-line>378</stop-cutting-line>
-                                </cut-operation>
-                            </operations>
+                            <patches>
+                                <patch>easeljs2.patch</patch>
+                            </patches>
+                            <ignoreWhitespace>true</ignoreWhitespace>
+                            <targetDirectory>${project.build.directory}/downloads/EaselJS-${createjs.version}/src</targetDirectory>
                         </configuration>
                     </execution>
-                    <!-- Cut off the end of Graphics.js -->
                     <execution>
-                        <id>pre-process-sources-graphics</id>
+                        <id>patch-tweenjs</id>
                         <phase>validate</phase>
                         <goals>
-                            <goal>pre-process-sources</goal>
+                            <goal>apply</goal>
                         </goals>
                         <configuration>
-                            <includes>
-                                <include>EaselJS-${createjs.version}/src/easeljs/display/Graphics.js</include>
-                            </includes>
-                            <operations>
-                                <cut-operation>
-                                    <start-cutting-line>1560</start-cutting-line>
-                                    <stop-cutting-line>2163</stop-cutting-line>
-                                </cut-operation>
-                            </operations>
+                            <patches>
+                                <patch>tweenjs2.patch</patch>
+                            </patches>
+                            <targetDirectory>${project.build.directory}/downloads/TweenJS-${tweenjs.version}/src</targetDirectory>
                         </configuration>
                     </execution>
                 </executions>
-                <configuration>
-                    <!-- Take the JavaScript from the previously downloaded and unpacked distribution -->
-                    <downloadesSourceDirectory>${project.build.directory}/downloads</downloadesSourceDirectory>
-                    <includes>
-                        <include>EaselJS-${createjs.version}/src/createjs/**/*.js</include>
-                        <include>EaselJS-${createjs.version}/src/easeljs/**/*.js</include>
-                        <include>TweenJS-${tweenjs.version}/src/tweenjs/**/*.js</include>
-                    </includes>
-                </configuration>
             </plugin>
+
             <plugin>
                 <groupId>org.apache.flex.flexjs.compiler</groupId>
                 <artifactId>flexjs-maven-plugin</artifactId>


[2/3] git commit: [flex-falcon] [refs/heads/develop] - - Update the maven build to use the maven-patch-plugin for the patching - Added new versions of the patch files(Created with: diff -ur ../target/downloads/TweenJS-0.6.2/src/ TweenJS-0.6.2/src/ > twee

Posted by cd...@apache.org.
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/434e0586/externs/createjs/src/main/patch/easeljs2.patch
----------------------------------------------------------------------
diff --git a/externs/createjs/src/main/patch/easeljs2.patch b/externs/createjs/src/main/patch/easeljs2.patch
new file mode 100644
index 0000000..fc7d380
--- /dev/null
+++ b/externs/createjs/src/main/patch/easeljs2.patch
@@ -0,0 +1,8636 @@
+diff -ur ../target/downloads/EaselJS-0.8.0/src/createjs/events/Event.js EaselJS-0.8.0/src/createjs/events/Event.js
+--- ../target/downloads/EaselJS-0.8.0/src/createjs/events/Event.js	2014-12-19 11:08:04.000000000 +0100
++++ EaselJS-0.8.0/src/createjs/events/Event.js	2016-05-31 11:03:07.000000000 +0200
+@@ -39,10 +39,6 @@
+  */
+ 
+ // namespace:
+-this.createjs = this.createjs||{};
+-
+-(function() {
+-	"use strict";
+ 
+ // constructor:
+ 	/**
+@@ -57,7 +53,7 @@
+ 	 * @param {Boolean} cancelable Indicates whether the default behaviour of this event can be cancelled.
+ 	 * @constructor
+ 	 **/
+-	function Event(type, bubbles, cancelable) {
++	createjs.Event = function(type, bubbles, cancelable) {
+ 		
+ 	
+ 	// public properties:
+@@ -169,7 +165,7 @@
+ 		*/
+ 		this.removed = false;
+ 	}
+-	var p = Event.prototype;
++	
+ 
+ 	/**
+ 	 * <strong>REMOVED</strong>. Removed in favor of using `MySuperClass_constructor`.
+@@ -182,7 +178,7 @@
+ 	 * @protected
+ 	 * @deprecated
+ 	 */
+-	// p.initialize = function() {}; // searchable for devs wondering where it is.
++	// createjs.Event.prototype.initialize = function() {}; // searchable for devs wondering where it is.
+ 
+ // public methods:
+ 	/**
+@@ -190,7 +186,7 @@
+ 	 * Mirrors the DOM event standard.
+ 	 * @method preventDefault
+ 	 **/
+-	p.preventDefault = function() {
++ createjs.Event.prototype.preventDefault = function() {
+ 		this.defaultPrevented = this.cancelable&&true;
+ 	};
+ 
+@@ -199,7 +195,7 @@
+ 	 * Mirrors the DOM event standard.
+ 	 * @method stopPropagation
+ 	 **/
+-	p.stopPropagation = function() {
++ createjs.Event.prototype.stopPropagation = function() {
+ 		this.propagationStopped = true;
+ 	};
+ 
+@@ -209,7 +205,7 @@
+ 	 * Mirrors the DOM event standard.
+ 	 * @method stopImmediatePropagation
+ 	 **/
+-	p.stopImmediatePropagation = function() {
++ createjs.Event.prototype.stopImmediatePropagation = function() {
+ 		this.immediatePropagationStopped = this.propagationStopped = true;
+ 	};
+ 	
+@@ -223,7 +219,7 @@
+ 	 * 
+ 	 * @method remove
+ 	 **/
+-	p.remove = function() {
++ createjs.Event.prototype.remove = function() {
+ 		this.removed = true;
+ 	};
+ 	
+@@ -232,7 +228,7 @@
+ 	 * @method clone
+ 	 * @return {Event} a clone of the Event instance.
+ 	 **/
+-	p.clone = function() {
++ createjs.Event.prototype.clone = function() {
+ 		return new Event(this.type, this.bubbles, this.cancelable);
+ 	};
+ 	
+@@ -244,7 +240,7 @@
+ 	 * @return {Event} Returns the instance the method is called on (useful for chaining calls.)
+ 	 * @chainable
+ 	*/
+-	p.set = function(props) {
++ createjs.Event.prototype.set = function(props) {
+ 		for (var n in props) { this[n] = props[n]; }
+ 		return this;
+ 	};
+@@ -254,9 +250,9 @@
+ 	 * @method toString
+ 	 * @return {String} a string representation of the instance.
+ 	 **/
+-	p.toString = function() {
++ createjs.Event.prototype.toString = function() {
+ 		return "[Event (type="+this.type+")]";
+ 	};
+ 
+-	createjs.Event = Event;
+-}());
++	
++
+diff -ur ../target/downloads/EaselJS-0.8.0/src/createjs/events/EventDispatcher.js EaselJS-0.8.0/src/createjs/events/EventDispatcher.js
+--- ../target/downloads/EaselJS-0.8.0/src/createjs/events/EventDispatcher.js	2014-12-19 11:08:04.000000000 +0100
++++ EaselJS-0.8.0/src/createjs/events/EventDispatcher.js	2016-05-31 11:03:07.000000000 +0200
+@@ -31,10 +31,6 @@
+  */
+ 
+ // namespace:
+-this.createjs = this.createjs||{};
+-
+-(function() {
+-	"use strict";
+ 
+ 
+ // constructor:
+@@ -60,7 +56,7 @@
+ 	 * <h4>Example</h4>
+ 	 * Add EventDispatcher capabilities to the "MyClass" class.
+ 	 *
+-	 *      EventDispatcher.initialize(MyClass.prototype);
++	 *      createjs.EventDispatcher.initialize(MyClass.prototype);
+ 	 *
+ 	 * Add an event (see {{#crossLink "EventDispatcher/addEventListener"}}{{/crossLink}}).
+ 	 *
+@@ -87,7 +83,7 @@
+ 	 * @class EventDispatcher
+ 	 * @constructor
+ 	 **/
+-	function EventDispatcher() {
++	createjs.EventDispatcher = function() {
+ 	
+ 	
+ 	// private properties:
+@@ -105,7 +101,7 @@
+ 		 **/
+ 		this._captureListeners = null;
+ 	}
+-	var p = EventDispatcher.prototype;
++	
+ 
+ 	/**
+ 	 * <strong>REMOVED</strong>. Removed in favor of using `MySuperClass_constructor`.
+@@ -118,30 +114,30 @@
+ 	 * @protected
+ 	 * @deprecated
+ 	 */
+-	// p.initialize = function() {}; // searchable for devs wondering where it is.
++	// createjs.EventDispatcher.prototype.initialize = function() {}; // searchable for devs wondering where it is.
+ 
+ 
+ // static public methods:
+ 	/**
+ 	 * Static initializer to mix EventDispatcher methods into a target object or prototype.
+ 	 * 
+-	 * 		EventDispatcher.initialize(MyClass.prototype); // add to the prototype of the class
+-	 * 		EventDispatcher.initialize(myObject); // add to a specific instance
++	 * 		createjs.EventDispatcher.initialize(MyClass.prototype); // add to the prototype of the class
++	 * 		createjs.EventDispatcher.initialize(myObject); // add to a specific instance
+ 	 * 
+ 	 * @method initialize
+ 	 * @static
+ 	 * @param {Object} target The target object to inject EventDispatcher methods into. This can be an instance or a
+ 	 * prototype.
+ 	 **/
+-	EventDispatcher.initialize = function(target) {
+-		target.addEventListener = p.addEventListener;
+-		target.on = p.on;
+-		target.removeEventListener = target.off =  p.removeEventListener;
+-		target.removeAllEventListeners = p.removeAllEventListeners;
+-		target.hasEventListener = p.hasEventListener;
+-		target.dispatchEvent = p.dispatchEvent;
+-		target._dispatchEvent = p._dispatchEvent;
+-		target.willTrigger = p.willTrigger;
++	createjs.EventDispatcher.initialize = function(target) {
++		target.addEventListener = createjs.EventDispatcher.prototype.addEventListener;
++		target.on = createjs.EventDispatcher.prototype.on;
++		target.removeEventListener = target.off =  createjs.EventDispatcher.prototype.removeEventListener;
++		target.removeAllEventListeners = createjs.EventDispatcher.prototype.removeAllEventListeners;
++		target.hasEventListener = createjs.EventDispatcher.prototype.hasEventListener;
++		target.dispatchEvent = createjs.EventDispatcher.prototype.dispatchEvent;
++		target._dispatchEvent = createjs.EventDispatcher.prototype._dispatchEvent;
++		target.willTrigger = createjs.EventDispatcher.prototype.willTrigger;
+ 	};
+ 	
+ 
+@@ -164,7 +160,7 @@
+ 	 * @param {Boolean} [useCapture] For events that bubble, indicates whether to listen for the event in the capture or bubbling/target phase.
+ 	 * @return {Function | Object} Returns the listener for chaining or assignment.
+ 	 **/
+-	p.addEventListener = function(type, listener, useCapture) {
++ createjs.EventDispatcher.prototype.addEventListener = function(type, listener, useCapture) {
+ 		var listeners;
+ 		if (useCapture) {
+ 			listeners = this._captureListeners = this._captureListeners||{};
+@@ -209,7 +205,7 @@
+ 	 * @param {Boolean} [useCapture=false] For events that bubble, indicates whether to listen for the event in the capture or bubbling/target phase.
+ 	 * @return {Function} Returns the anonymous function that was created and assigned as the listener. This is needed to remove the listener later using .removeEventListener.
+ 	 **/
+-	p.on = function(type, listener, scope, once, data, useCapture) {
++ createjs.EventDispatcher.prototype.on = function(type, listener, scope, once, data, useCapture) {
+ 		if (listener.handleEvent) {
+ 			scope = scope||listener;
+ 			listener = listener.handleEvent;
+@@ -237,7 +233,7 @@
+ 	 * @param {Function | Object} listener The listener function or object.
+ 	 * @param {Boolean} [useCapture] For events that bubble, indicates whether to listen for the event in the capture or bubbling/target phase.
+ 	 **/
+-	p.removeEventListener = function(type, listener, useCapture) {
++ createjs.EventDispatcher.prototype.removeEventListener = function(type, listener, useCapture) {
+ 		var listeners = useCapture ? this._captureListeners : this._listeners;
+ 		if (!listeners) { return; }
+ 		var arr = listeners[type];
+@@ -260,7 +256,7 @@
+ 	 * @param {Function | Object} listener The listener function or object.
+ 	 * @param {Boolean} [useCapture] For events that bubble, indicates whether to listen for the event in the capture or bubbling/target phase.
+ 	 **/
+-	p.off = p.removeEventListener;
++ createjs.EventDispatcher.prototype.off = createjs.EventDispatcher.prototype.removeEventListener;
+ 
+ 	/**
+ 	 * Removes all listeners for the specified type, or all listeners of all types.
+@@ -276,7 +272,7 @@
+ 	 * @method removeAllEventListeners
+ 	 * @param {String} [type] The string type of the event. If omitted, all listeners for all types will be removed.
+ 	 **/
+-	p.removeAllEventListeners = function(type) {
++ createjs.EventDispatcher.prototype.removeAllEventListeners = function(type) {
+ 		if (!type) { this._listeners = this._captureListeners = null; }
+ 		else {
+ 			if (this._listeners) { delete(this._listeners[type]); }
+@@ -302,7 +298,7 @@
+ 	 * dispatchEvent will construct an Event instance with the specified type.
+ 	 * @return {Boolean} Returns the value of eventObj.defaultPrevented.
+ 	 **/
+-	p.dispatchEvent = function(eventObj) {
++ createjs.EventDispatcher.prototype.dispatchEvent = function(eventObj) {
+ 		if (typeof eventObj == "string") {
+ 			// won't bubble, so skip everything if there's no listeners:
+ 			var listeners = this._listeners;
+@@ -339,7 +335,7 @@
+ 	 * @param {String} type The string type of the event.
+ 	 * @return {Boolean} Returns true if there is at least one listener for the specified event.
+ 	 **/
+-	p.hasEventListener = function(type) {
++ createjs.EventDispatcher.prototype.hasEventListener = function(type) {
+ 		var listeners = this._listeners, captureListeners = this._captureListeners;
+ 		return !!((listeners && listeners[type]) || (captureListeners && captureListeners[type]));
+ 	};
+@@ -355,7 +351,7 @@
+ 	 * @param {String} type The string type of the event.
+ 	 * @return {Boolean} Returns `true` if there is at least one listener for the specified event.
+ 	 **/
+-	p.willTrigger = function(type) {
++ createjs.EventDispatcher.prototype.willTrigger = function(type) {
+ 		var o = this;
+ 		while (o) {
+ 			if (o.hasEventListener(type)) { return true; }
+@@ -368,7 +364,7 @@
+ 	 * @method toString
+ 	 * @return {String} a string representation of the instance.
+ 	 **/
+-	p.toString = function() {
++ createjs.EventDispatcher.prototype.toString = function() {
+ 		return "[EventDispatcher]";
+ 	};
+ 
+@@ -380,7 +376,7 @@
+ 	 * @param {Object} eventPhase
+ 	 * @protected
+ 	 **/
+-	p._dispatchEvent = function(eventObj, eventPhase) {
++ createjs.EventDispatcher.prototype._dispatchEvent = function(eventObj, eventPhase) {
+ 		var l, listeners = (eventPhase==1) ? this._captureListeners : this._listeners;
+ 		if (eventObj && listeners) {
+ 			var arr = listeners[eventObj.type];
+@@ -403,5 +399,5 @@
+ 	};
+ 
+ 
+-	createjs.EventDispatcher = EventDispatcher;
+-}());
++	
++
+diff -ur ../target/downloads/EaselJS-0.8.0/src/createjs/utils/Ticker.js EaselJS-0.8.0/src/createjs/utils/Ticker.js
+--- ../target/downloads/EaselJS-0.8.0/src/createjs/utils/Ticker.js	2014-12-19 11:08:04.000000000 +0100
++++ EaselJS-0.8.0/src/createjs/utils/Ticker.js	2016-05-31 11:03:08.000000000 +0200
+@@ -31,10 +31,6 @@
+  */
+ 
+ // namespace:
+-this.createjs = this.createjs||{};
+-
+-(function() {
+-	"use strict";
+ 
+ 
+ // constructor:
+@@ -43,7 +39,7 @@
+ 	 * event to be notified when a set time interval has elapsed.
+ 	 *
+ 	 * Note that the interval that the tick event is called is a target interval, and may be broadcast at a slower interval
+-	 * when under high CPU load. The Ticker class uses a static interface (ex. `Ticker.framerate = 30;`) and
++	 * when under high CPU load. The Ticker class uses a static interface (ex. `createjs.Ticker.framerate = 30;`) and
+ 	 * can not be instantiated.
+ 	 *
+ 	 * <h4>Example</h4>
+@@ -60,7 +56,7 @@
+ 	 * @uses EventDispatcher
+ 	 * @static
+ 	 **/
+-	function Ticker() {
++	createjs.Ticker = function() {
+ 		throw "Ticker cannot be instantiated.";
+ 	}
+ 
+@@ -84,7 +80,7 @@
+ 	 * @default "synched"
+ 	 * @readonly
+ 	 **/
+-	Ticker.RAF_SYNCHED = "synched";
++	createjs.Ticker.RAF_SYNCHED = "synched";
+ 
+ 	/**
+ 	 * In this mode, Ticker passes through the requestAnimationFrame heartbeat, ignoring the target framerate completely.
+@@ -99,7 +95,7 @@
+ 	 * @default "raf"
+ 	 * @readonly
+ 	 **/
+-	Ticker.RAF = "raf";
++	createjs.Ticker.RAF = "raf";
+ 
+ 	/**
+ 	 * In this mode, Ticker uses the setTimeout API. This provides predictable, adaptive frame timing, but does not
+@@ -110,7 +106,7 @@
+ 	 * @default "timer"
+ 	 * @readonly
+ 	 **/
+-	Ticker.TIMEOUT = "timeout";
++	createjs.Ticker.TIMEOUT = "timeout";
+ 
+ 
+ // static events:
+@@ -147,7 +143,7 @@
+ 	 * @type {Boolean}
+ 	 * @default false
+ 	 **/
+-	Ticker.useRAF = false;
++	createjs.Ticker.useRAF = false;
+ 
+ 	/**
+ 	 * Specifies the timing api (setTimeout or requestAnimationFrame) and mode to use. See
+@@ -156,9 +152,9 @@
+ 	 * @property timingMode
+ 	 * @static
+ 	 * @type {String}
+-	 * @default Ticker.TIMEOUT
++	 * @default createjs.Ticker.TIMEOUT
+ 	 **/
+-	Ticker.timingMode = null;
++	createjs.Ticker.timingMode = null;
+ 
+ 	/**
+ 	 * Specifies a maximum value for the delta property in the tick event object. This is useful when building time
+@@ -175,7 +171,7 @@
+ 	 * @type {number}
+ 	 * @default 0
+ 	 */
+-	Ticker.maxDelta = 0;
++	createjs.Ticker.maxDelta = 0;
+ 	
+ 	/**
+ 	 * When the ticker is paused, all listeners will still receive a tick event, but the <code>paused</code> property of the event will be false.
+@@ -197,21 +193,21 @@
+ 	 * @type {Boolean}
+ 	 * @default false
+ 	 **/
+-	Ticker.paused = false;
++	createjs.Ticker.paused = false;
+ 
+ 
+ // mix-ins:
+ 	// EventDispatcher methods:
+-	Ticker.removeEventListener = null;
+-	Ticker.removeAllEventListeners = null;
+-	Ticker.dispatchEvent = null;
+-	Ticker.hasEventListener = null;
+-	Ticker._listeners = null;
++	createjs.Ticker.removeEventListener = null;
++	createjs.Ticker.removeAllEventListeners = null;
++	createjs.Ticker.dispatchEvent = null;
++	createjs.Ticker.hasEventListener = null;
++	createjs.Ticker._listeners = null;
+ 	createjs.EventDispatcher.initialize(Ticker); // inject EventDispatcher methods.
+-	Ticker._addEventListener = Ticker.addEventListener;
+-	Ticker.addEventListener = function() {
+-		!Ticker._inited&&Ticker.init();
+-		return Ticker._addEventListener.apply(Ticker, arguments);
++	createjs.Ticker._addEventListener = createjs.Ticker.addEventListener;
++	createjs.Ticker.addEventListener = function() {
++		!createjs.Ticker._inited&&createjs.Ticker.init();
++		return createjs.Ticker._addEventListener.apply(Ticker, arguments);
+ 	};
+ 
+ 
+@@ -222,7 +218,7 @@
+ 	 * @type {Boolean}
+ 	 * @protected
+ 	 **/
+-	Ticker._inited = false;
++	createjs.Ticker._inited = false;
+ 
+ 	/**
+ 	 * @property _startTime
+@@ -230,7 +226,7 @@
+ 	 * @type {Number}
+ 	 * @protected
+ 	 **/
+-	Ticker._startTime = 0;
++	createjs.Ticker._startTime = 0;
+ 
+ 	/**
+ 	 * @property _pausedTime
+@@ -238,7 +234,7 @@
+ 	 * @type {Number}
+ 	 * @protected
+ 	 **/
+-	Ticker._pausedTime=0;
++	createjs.Ticker._pausedTime=0;
+ 
+ 	/**
+ 	 * The number of ticks that have passed
+@@ -247,7 +243,7 @@
+ 	 * @type {Number}
+ 	 * @protected
+ 	 **/
+-	Ticker._ticks = 0;
++	createjs.Ticker._ticks = 0;
+ 
+ 	/**
+ 	 * The number of ticks that have passed while Ticker has been paused
+@@ -256,7 +252,7 @@
+ 	 * @type {Number}
+ 	 * @protected
+ 	 **/
+-	Ticker._pausedTicks = 0;
++	createjs.Ticker._pausedTicks = 0;
+ 
+ 	/**
+ 	 * @property _interval
+@@ -264,7 +260,7 @@
+ 	 * @type {Number}
+ 	 * @protected
+ 	 **/
+-	Ticker._interval = 50;
++	createjs.Ticker._interval = 50;
+ 
+ 	/**
+ 	 * @property _lastTime
+@@ -272,7 +268,7 @@
+ 	 * @type {Number}
+ 	 * @protected
+ 	 **/
+-	Ticker._lastTime = 0;
++	createjs.Ticker._lastTime = 0;
+ 
+ 	/**
+ 	 * @property _times
+@@ -280,7 +276,7 @@
+ 	 * @type {Array}
+ 	 * @protected
+ 	 **/
+-	Ticker._times = null;
++	createjs.Ticker._times = null;
+ 
+ 	/**
+ 	 * @property _tickTimes
+@@ -288,7 +284,7 @@
+ 	 * @type {Array}
+ 	 * @protected
+ 	 **/
+-	Ticker._tickTimes = null;
++	createjs.Ticker._tickTimes = null;
+ 
+ 	/**
+ 	 * Stores the timeout or requestAnimationFrame id.
+@@ -297,7 +293,7 @@
+ 	 * @type {Number}
+ 	 * @protected
+ 	 **/
+-	Ticker._timerId = null;
++	createjs.Ticker._timerId = null;
+ 	
+ 	/**
+ 	 * True if currently using requestAnimationFrame, false if using setTimeout. This may be different than timingMode
+@@ -307,7 +303,7 @@
+ 	 * @type {Boolean}
+ 	 * @protected
+ 	 **/
+-	Ticker._raf = true;
++	createjs.Ticker._raf = true;
+ 	
+ 
+ // static getter / setters:
+@@ -318,10 +314,10 @@
+ 	 * @param {Number} interval
+ 	 * @deprecated
+ 	 **/
+-	Ticker.setInterval = function(interval) {
+-		Ticker._interval = interval;
+-		if (!Ticker._inited) { return; }
+-		Ticker._setupTick();
++	createjs.Ticker.setInterval = function(interval) {
++		createjs.Ticker._interval = interval;
++		if (!createjs.Ticker._inited) { return; }
++		createjs.Ticker._setupTick();
+ 	};
+ 
+ 	/**
+@@ -331,8 +327,8 @@
+ 	 * @return {Number}
+ 	 * @deprecated
+ 	 **/
+-	Ticker.getInterval = function() {
+-		return Ticker._interval;
++	createjs.Ticker.getInterval = function() {
++		return createjs.Ticker._interval;
+ 	};
+ 
+ 	/**
+@@ -342,8 +338,8 @@
+ 	 * @param {Number} value
+ 	 * @deprecated
+ 	 **/
+-	Ticker.setFPS = function(value) {
+-		Ticker.setInterval(1000/value);
++	createjs.Ticker.setFPS = function(value) {
++		createjs.Ticker.setInterval(1000/value);
+ 	};
+ 
+ 	/**
+@@ -353,66 +349,42 @@
+ 	 * @return {Number}
+ 	 * @deprecated
+ 	 **/
+-	Ticker.getFPS = function() {
+-		return 1000/Ticker._interval;
++	createjs.Ticker.getFPS = function() {
++		return 1000/createjs.Ticker._interval;
+ 	};
+ 
+-	/**
+-	 * Indicates the target time (in milliseconds) between ticks. Default is 50 (20 FPS).
+-	 * Note that actual time between ticks may be more than specified depending on CPU load.
+-	 * This property is ignored if the ticker is using the `RAF` timing mode.
+-	 * @property interval
+-	 * @static
+-	 * @type {Number}
+-	 **/
+-	 
+-	/**
+-	 * Indicates the target frame rate in frames per second (FPS). Effectively just a shortcut to `interval`, where
+-	 * `framerate == 1000/interval`.
+-	 * @property framerate
+-	 * @static
+-	 * @type {Number}
+-	 **/
+-	try {
+-		Object.defineProperties(Ticker, {
+-			interval: { get: Ticker.getInterval, set: Ticker.setInterval },
+-			framerate: { get: Ticker.getFPS, set: Ticker.setFPS }
+-		});
+-	} catch (e) { console.log(e); }
+-
+-
+ // public static methods:
+ 	/**
+ 	 * Starts the tick. This is called automatically when the first listener is added.
+ 	 * @method init
+ 	 * @static
+ 	 **/
+-	Ticker.init = function() {
+-		if (Ticker._inited) { return; }
+-		Ticker._inited = true;
+-		Ticker._times = [];
+-		Ticker._tickTimes = [];
+-		Ticker._startTime = Ticker._getTime();
+-		Ticker._times.push(Ticker._lastTime = 0);
+-		Ticker.interval = Ticker._interval;
++	createjs.Ticker.init = function() {
++		if (createjs.Ticker._inited) { return; }
++		createjs.Ticker._inited = true;
++		createjs.Ticker._times = [];
++		createjs.Ticker._tickTimes = [];
++		createjs.Ticker._startTime = createjs.Ticker._getTime();
++		createjs.Ticker._times.push(createjs.Ticker._lastTime = 0);
++		createjs.Ticker.interval = createjs.Ticker._interval;
+ 	};
+ 	
+ 	/**
+-	 * Stops the Ticker and removes all listeners. Use init() to restart the Ticker.
++	 * Stops the Ticker and removes all listeners. Use init() to restart the createjs.Ticker.
+ 	 * @method reset
+ 	 * @static
+ 	 **/
+-	Ticker.reset = function() {
+-		if (Ticker._raf) {
++	createjs.Ticker.reset = function() {
++		if (createjs.Ticker._raf) {
+ 			var f = window.cancelAnimationFrame || window.webkitCancelAnimationFrame || window.mozCancelAnimationFrame || window.oCancelAnimationFrame || window.msCancelAnimationFrame;
+-			f&&f(Ticker._timerId);
++			f&&f(createjs.Ticker._timerId);
+ 		} else {
+-			clearTimeout(Ticker._timerId);
++			clearTimeout(createjs.Ticker._timerId);
+ 		}
+-		Ticker.removeAllEventListeners("tick");
+-		Ticker._timerId = Ticker._times = Ticker._tickTimes = null;
+-		Ticker._startTime = Ticker._lastTime = Ticker._ticks = 0;
+-		Ticker._inited = false;
++		createjs.Ticker.removeAllEventListeners("tick");
++		createjs.Ticker._timerId = createjs.Ticker._times = createjs.Ticker._tickTimes = null;
++		createjs.Ticker._startTime = createjs.Ticker._lastTime = createjs.Ticker._ticks = 0;
++		createjs.Ticker._inited = false;
+ 	};
+ 
+ 	/**
+@@ -432,12 +404,12 @@
+ 	 * Defaults to the number of ticks per second. To get only the last tick's time, pass in 1.
+ 	 * @return {Number} The average time spent in a tick in milliseconds.
+ 	 **/
+-	Ticker.getMeasuredTickTime = function(ticks) {
+-		var ttl=0, times=Ticker._tickTimes;
++	createjs.Ticker.getMeasuredTickTime = function(ticks) {
++		var ttl=0, times=createjs.Ticker._tickTimes;
+ 		if (!times || times.length < 1) { return -1; }
+ 
+ 		// by default, calculate average for the past ~1 second:
+-		ticks = Math.min(times.length, ticks||(Ticker.getFPS()|0));
++		ticks = Math.min(times.length, ticks||(createjs.Ticker.getFPS()|0));
+ 		for (var i=0; i<ticks; i++) { ttl += times[i]; }
+ 		return ttl/ticks;
+ 	};
+@@ -451,12 +423,12 @@
+ 	 * @return {Number} The actual frames / ticks per second. Depending on performance, this may differ
+ 	 * from the target frames per second.
+ 	 **/
+-	Ticker.getMeasuredFPS = function(ticks) {
+-		var times = Ticker._times;
++	createjs.Ticker.getMeasuredFPS = function(ticks) {
++		var times = createjs.Ticker._times;
+ 		if (!times || times.length < 2) { return -1; }
+ 
+ 		// by default, calculate fps for the past ~1 second:
+-		ticks = Math.min(times.length-1, ticks||(Ticker.getFPS()|0));
++		ticks = Math.min(times.length-1, ticks||(createjs.Ticker.getFPS()|0));
+ 		return 1000/((times[0]-times[ticks])/ticks);
+ 	};
+ 
+@@ -467,9 +439,9 @@
+ 	 * @param {Boolean} value
+ 	 * @deprecated
+ 	 **/
+-	Ticker.setPaused = function(value) {
++	createjs.Ticker.setPaused = function(value) {
+ 		// TODO: deprecated.
+-		Ticker.paused = value;
++		createjs.Ticker.paused = value;
+ 	};
+ 
+ 	/**
+@@ -479,9 +451,9 @@
+ 	 * @return {Boolean}
+ 	 * @deprecated
+ 	 **/
+-	Ticker.getPaused = function() {
++	createjs.Ticker.getPaused = function() {
+ 		// TODO: deprecated.
+-		return Ticker.paused;
++		return createjs.Ticker.paused;
+ 	};
+ 
+ 	/**
+@@ -494,8 +466,8 @@
+ 	 * If false, the value returned will be total time elapsed since the first tick event listener was added.
+ 	 * @return {Number} Number of milliseconds that have elapsed since Ticker was initialized or -1.
+ 	 **/
+-	Ticker.getTime = function(runTime) {
+-		return Ticker._startTime ? Ticker._getTime() - (runTime ? Ticker._pausedTime : 0) : -1;
++	createjs.Ticker.getTime = function(runTime) {
++		return createjs.Ticker._startTime ? createjs.Ticker._getTime() - (runTime ? createjs.Ticker._pausedTime : 0) : -1;
+ 	};
+ 
+ 	/**
+@@ -505,12 +477,12 @@
+ 	 * @param runTime {Boolean} [runTime=false] If true, the runTime property will be returned instead of time.
+ 	 * @returns {number} The time or runTime property from the most recent tick event or -1.
+ 	 */
+-	Ticker.getEventTime = function(runTime) {
+-		return Ticker._startTime ? (Ticker._lastTime || Ticker._startTime) - (runTime ? Ticker._pausedTime : 0) : -1;
++	createjs.Ticker.getEventTime = function(runTime) {
++		return createjs.Ticker._startTime ? (createjs.Ticker._lastTime || createjs.Ticker._startTime) - (runTime ? createjs.Ticker._pausedTime : 0) : -1;
+ 	};
+ 	
+ 	/**
+-	 * Returns the number of ticks that have been broadcast by Ticker.
++	 * Returns the number of ticks that have been broadcast by createjs.Ticker.
+ 	 * @method getTicks
+ 	 * @static
+ 	 * @param {Boolean} pauseable Indicates whether to include ticks that would have been broadcast
+@@ -519,8 +491,8 @@
+ 	 * value. The default value is false.
+ 	 * @return {Number} of ticks that have been broadcast.
+ 	 **/
+-	Ticker.getTicks = function(pauseable) {
+-		return  Ticker._ticks - (pauseable ? Ticker._pausedTicks : 0);
++	createjs.Ticker.getTicks = function(pauseable) {
++		return  createjs.Ticker._ticks - (pauseable ? createjs.Ticker._pausedTicks : 0);
+ 	};
+ 
+ 
+@@ -530,13 +502,13 @@
+ 	 * @static
+ 	 * @protected
+ 	 **/
+-	Ticker._handleSynch = function() {
+-		Ticker._timerId = null;
+-		Ticker._setupTick();
++	createjs.Ticker._handleSynch = function() {
++		createjs.Ticker._timerId = null;
++		createjs.Ticker._setupTick();
+ 
+ 		// run if enough time has elapsed, with a little bit of flexibility to be early:
+-		if (Ticker._getTime() - Ticker._lastTime >= (Ticker._interval-1)*0.97) {
+-			Ticker._tick();
++		if (createjs.Ticker._getTime() - createjs.Ticker._lastTime >= (createjs.Ticker._interval-1)*0.97) {
++			createjs.Ticker._tick();
+ 		}
+ 	};
+ 
+@@ -545,10 +517,10 @@
+ 	 * @static
+ 	 * @protected
+ 	 **/
+-	Ticker._handleRAF = function() {
+-		Ticker._timerId = null;
+-		Ticker._setupTick();
+-		Ticker._tick();
++	createjs.Ticker._handleRAF = function() {
++		createjs.Ticker._timerId = null;
++		createjs.Ticker._setupTick();
++		createjs.Ticker._tick();
+ 	};
+ 
+ 	/**
+@@ -556,10 +528,10 @@
+ 	 * @static
+ 	 * @protected
+ 	 **/
+-	Ticker._handleTimeout = function() {
+-		Ticker._timerId = null;
+-		Ticker._setupTick();
+-		Ticker._tick();
++	createjs.Ticker._handleTimeout = function() {
++		createjs.Ticker._timerId = null;
++		createjs.Ticker._setupTick();
++		createjs.Ticker._tick();
+ 	};
+ 
+ 	/**
+@@ -567,20 +539,20 @@
+ 	 * @static
+ 	 * @protected
+ 	 **/
+-	Ticker._setupTick = function() {
+-		if (Ticker._timerId != null) { return; } // avoid duplicates
++	createjs.Ticker._setupTick = function() {
++		if (createjs.Ticker._timerId != null) { return; } // avoid duplicates
+ 
+-		var mode = Ticker.timingMode||(Ticker.useRAF&&Ticker.RAF_SYNCHED);
+-		if (mode == Ticker.RAF_SYNCHED || mode == Ticker.RAF) {
++		var mode = createjs.Ticker.timingMode||(createjs.Ticker.useRAF&&createjs.Ticker.RAF_SYNCHED);
++		if (mode == createjs.Ticker.RAF_SYNCHED || mode == createjs.Ticker.RAF) {
+ 			var f = window.requestAnimationFrame || window.webkitRequestAnimationFrame || window.mozRequestAnimationFrame || window.oRequestAnimationFrame || window.msRequestAnimationFrame;
+ 			if (f) {
+-				Ticker._timerId = f(mode == Ticker.RAF ? Ticker._handleRAF : Ticker._handleSynch);
+-				Ticker._raf = true;
++				createjs.Ticker._timerId = f(mode == createjs.Ticker.RAF ? createjs.Ticker._handleRAF : createjs.Ticker._handleSynch);
++				createjs.Ticker._raf = true;
+ 				return;
+ 			}
+ 		}
+-		Ticker._raf = false;
+-		Ticker._timerId = setTimeout(Ticker._handleTimeout, Ticker._interval);
++		createjs.Ticker._raf = false;
++		createjs.Ticker._timerId = setTimeout(createjs.Ticker._handleTimeout, createjs.Ticker._interval);
+ 	};
+ 
+ 	/**
+@@ -588,33 +560,33 @@
+ 	 * @static
+ 	 * @protected
+ 	 **/
+-	Ticker._tick = function() {
+-		var paused = Ticker.paused;
+-		var time = Ticker._getTime();
+-		var elapsedTime = time-Ticker._lastTime;
+-		Ticker._lastTime = time;
+-		Ticker._ticks++;
++	createjs.Ticker._tick = function() {
++		var paused = createjs.Ticker.paused;
++		var time = createjs.Ticker._getTime();
++		var elapsedTime = time-createjs.Ticker._lastTime;
++		createjs.Ticker._lastTime = time;
++		createjs.Ticker._ticks++;
+ 		
+ 		if (paused) {
+-			Ticker._pausedTicks++;
+-			Ticker._pausedTime += elapsedTime;
++			createjs.Ticker._pausedTicks++;
++			createjs.Ticker._pausedTime += elapsedTime;
+ 		}
+ 		
+-		if (Ticker.hasEventListener("tick")) {
++		if (createjs.Ticker.hasEventListener("tick")) {
+ 			var event = new createjs.Event("tick");
+-			var maxDelta = Ticker.maxDelta;
++			var maxDelta = createjs.Ticker.maxDelta;
+ 			event.delta = (maxDelta && elapsedTime > maxDelta) ? maxDelta : elapsedTime;
+ 			event.paused = paused;
+ 			event.time = time;
+-			event.runTime = time-Ticker._pausedTime;
+-			Ticker.dispatchEvent(event);
++			event.runTime = time-createjs.Ticker._pausedTime;
++			createjs.Ticker.dispatchEvent(event);
+ 		}
+ 		
+-		Ticker._tickTimes.unshift(Ticker._getTime()-time);
+-		while (Ticker._tickTimes.length > 100) { Ticker._tickTimes.pop(); }
++		createjs.Ticker._tickTimes.unshift(createjs.Ticker._getTime()-time);
++		while (createjs.Ticker._tickTimes.length > 100) { createjs.Ticker._tickTimes.pop(); }
+ 
+-		Ticker._times.unshift(time);
+-		while (Ticker._times.length > 100) { Ticker._times.pop(); }
++		createjs.Ticker._times.unshift(time);
++		while (createjs.Ticker._times.length > 100) { createjs.Ticker._times.pop(); }
+ 	};
+ 
+ 	/**
+@@ -623,10 +595,10 @@
+ 	 * @protected
+ 	 **/
+ 	var now = window.performance && (performance.now || performance.mozNow || performance.msNow || performance.oNow || performance.webkitNow);
+-	Ticker._getTime = function() {
+-		return ((now&&now.call(performance))||(new Date().getTime())) - Ticker._startTime;
++	createjs.Ticker._getTime = function() {
++		return ((now&&now.call(performance))||(new Date().getTime())) - createjs.Ticker._startTime;
+ 	};
+ 
+ 
+-	createjs.Ticker = Ticker;
+-}());
++	
++
+diff -ur ../target/downloads/EaselJS-0.8.0/src/createjs/utils/extend.js EaselJS-0.8.0/src/createjs/utils/extend.js
+--- ../target/downloads/EaselJS-0.8.0/src/createjs/utils/extend.js	2014-12-19 11:08:04.000000000 +0100
++++ EaselJS-0.8.0/src/createjs/utils/extend.js	2016-05-31 11:03:07.000000000 +0200
+@@ -31,7 +31,7 @@
+  */
+ 
+ // namespace:
+-this.createjs = this.createjs||{};
++
+ 
+ /**
+  * @class Utility Methods
+@@ -52,11 +52,10 @@
+  *
+  * @method extend
+  * @param {Function} subclass The subclass.
+- * @param {Function} superclass The superclass to extend.
++ * @param {Function} superclass The superclass to createjs.extend.
+  * @return {Function} Returns the subclass's new prototype.
+  */
+ createjs.extend = function(subclass, superclass) {
+-	"use strict";
+ 
+ 	function o() { this.constructor = subclass; }
+ 	o.prototype = superclass.prototype;
+diff -ur ../target/downloads/EaselJS-0.8.0/src/createjs/utils/indexOf.js EaselJS-0.8.0/src/createjs/utils/indexOf.js
+--- ../target/downloads/EaselJS-0.8.0/src/createjs/utils/indexOf.js	2014-12-19 11:08:04.000000000 +0100
++++ EaselJS-0.8.0/src/createjs/utils/indexOf.js	2016-05-31 11:03:07.000000000 +0200
+@@ -31,7 +31,7 @@
+  */
+ 
+ // namespace:
+-this.createjs = this.createjs||{};
++
+ 
+ /**
+  * @class Utility Methods
+@@ -49,7 +49,6 @@
+  * @return {Number} The first index of searchElement in array.
+  */
+ createjs.indexOf = function (array, searchElement){
+-	"use strict";
+ 
+ 	for (var i = 0,l=array.length; i < l; i++) {
+ 		if (searchElement === array[i]) {
+diff -ur ../target/downloads/EaselJS-0.8.0/src/createjs/utils/promote.js EaselJS-0.8.0/src/createjs/utils/promote.js
+--- ../target/downloads/EaselJS-0.8.0/src/createjs/utils/promote.js	2014-12-19 11:08:04.000000000 +0100
++++ EaselJS-0.8.0/src/createjs/utils/promote.js	2016-05-31 11:03:08.000000000 +0200
+@@ -31,7 +31,7 @@
+  */
+ 
+ // namespace:
+-this.createjs = this.createjs||{};
++
+ 
+ /**
+  * @class Utility Methods
+@@ -75,7 +75,6 @@
+  * @return {Function} Returns the subclass.
+  */
+ createjs.promote = function(subclass, prefix) {
+-	"use strict";
+ 
+ 	var subP = subclass.prototype, supP = (Object.getPrototypeOf&&Object.getPrototypeOf(subP))||subP.__proto__;
+ 	if (supP) {
+diff -ur ../target/downloads/EaselJS-0.8.0/src/easeljs/display/Bitmap.js EaselJS-0.8.0/src/easeljs/display/Bitmap.js
+--- ../target/downloads/EaselJS-0.8.0/src/easeljs/display/Bitmap.js	2014-12-19 11:08:04.000000000 +0100
++++ EaselJS-0.8.0/src/easeljs/display/Bitmap.js	2016-05-31 11:03:08.000000000 +0200
+@@ -31,11 +31,7 @@
+ */
+ 
+ // namespace:
+-this.createjs = this.createjs||{};
+-
+-(function() {
+-	
+-	/**
++/**
+ 	 * A Bitmap represents an Image, Canvas, or Video in the display list. A Bitmap can be instantiated using an existing
+ 	 * HTML element, or a string.
+ 	 *
+@@ -57,13 +53,13 @@
+ 	 * </ol>
+ 	 *
+ 	 * @class Bitmap
+-	 * @extends DisplayObject
++	 * @extends createjs.DisplayObject
+ 	 * @constructor
+ 	 * @param {Image | HTMLCanvasElement | HTMLVideoElement | String} imageOrUri The source object or URI to an image to
+ 	 * display. This can be either an Image, Canvas, or Video object, or a string URI to an image file to load and use.
+ 	 * If it is a URI, a new Image object will be constructed and assigned to the .image property.
+ 	 **/
+-	function Bitmap(imageOrUri) {
++	createjs.Bitmap = function(imageOrUri) {
+ 		this.DisplayObject_constructor();
+ 		
+ 		
+@@ -90,7 +86,7 @@
+ 		 */
+ 		this.sourceRect = null;
+ 	}
+-	var p = createjs.extend(Bitmap, createjs.DisplayObject);
++	
+ 	
+ 	
+ // public methods:
+@@ -100,7 +96,7 @@
+ 	 * @method initialize
+ 	 * @deprecated in favour of `createjs.promote()`
+ 	 **/
+-	p.initialize = Bitmap; // TODO: deprecated.
++ createjs.Bitmap.prototype.initialize = Bitmap; // TODO: deprecated.
+ 
+ 	/**
+ 	 * Returns true or false indicating whether the display object would be visible if drawn to a canvas.
+@@ -110,7 +106,7 @@
+ 	 * @method isVisible
+ 	 * @return {Boolean} Boolean indicating whether the display object would be visible if drawn to a canvas
+ 	 **/
+-	p.isVisible = function() {
++ createjs.Bitmap.prototype.isVisible = function() {
+ 		var hasContent = this.cacheCanvas || (this.image && (this.image.complete || this.image.getContext || this.image.readyState >= 2));
+ 		return !!(this.visible && this.alpha > 0 && this.scaleX != 0 && this.scaleY != 0 && hasContent);
+ 	};
+@@ -127,7 +123,7 @@
+ 	 * into itself).
+ 	 * @return {Boolean}
+ 	 **/
+-	p.draw = function(ctx, ignoreCache) {
++ createjs.Bitmap.prototype.draw = function(ctx, ignoreCache) {
+ 		if (this.DisplayObject_draw(ctx, ignoreCache) || !this.image) { return true; }
+ 		var img = this.image, rect = this.sourceRect;
+ 		if (rect) {
+@@ -145,7 +141,7 @@
+ 	};
+ 	
+ 	//Note, the doc sections below document using the specified APIs (from DisplayObject)  from
+-	//Bitmap. This is why they have no method implementations.
++	//createjs.Bitmap. This is why they have no method implementations.
+ 	
+ 	/**
+ 	 * Because the content of a Bitmap is already in a simple format, cache is unnecessary for Bitmap instances.
+@@ -180,7 +176,7 @@
+ 	/**
+ 	 * Docced in superclass.
+ 	 */
+-	p.getBounds = function() {
++ createjs.Bitmap.prototype.getBounds = function() {
+ 		var rect = this.DisplayObject_getBounds();
+ 		if (rect) { return rect; }
+ 		var o = this.sourceRect || this.image;
+@@ -193,7 +189,7 @@
+ 	 * @method clone
+ 	 * @return {Bitmap} a clone of the Bitmap instance.
+ 	 **/
+-	p.clone = function() {
++ createjs.Bitmap.prototype.clone = function() {
+ 		var o = new Bitmap(this.image);
+ 		if (this.sourceRect) { o.sourceRect = this.sourceRect.clone(); }
+ 		this._cloneProps(o);
+@@ -205,10 +201,10 @@
+ 	 * @method toString
+ 	 * @return {String} a string representation of the instance.
+ 	 **/
+-	p.toString = function() {
++ createjs.Bitmap.prototype.toString = function() {
+ 		return "[Bitmap (name="+  this.name +")]";
+ 	};
+ 
+ 	
+-	createjs.Bitmap = createjs.promote(Bitmap, "DisplayObject");
+-}());
++	
++
+diff -ur ../target/downloads/EaselJS-0.8.0/src/easeljs/display/BitmapText.js EaselJS-0.8.0/src/easeljs/display/BitmapText.js
+--- ../target/downloads/EaselJS-0.8.0/src/easeljs/display/BitmapText.js	2014-12-19 11:08:04.000000000 +0100
++++ EaselJS-0.8.0/src/easeljs/display/BitmapText.js	2016-05-31 11:03:07.000000000 +0200
+@@ -26,11 +26,6 @@
+ * OTHER DEALINGS IN THE SOFTWARE.
+ */
+ 
+-this.createjs = this.createjs || {};
+-
+-(function () {
+-	"use strict";
+-
+ 
+ // constructor:
+ 	/**
+@@ -42,12 +37,12 @@
+ 	 * <strong>Important:</strong> BitmapText extends Container, but is not designed to be used as one.
+ 	 * As such, methods like addChild and removeChild are disabled.
+ 	 * @class BitmapText
+-	 * @extends DisplayObject
++	 * @extends createjs.DisplayObject
+ 	 * @param {String} [text=""] The text to display.
+-	 * @param {SpriteSheet} [spriteSheet=null] The spritesheet that defines the character glyphs.
++	 * @param {createjs.SpriteSheet} [spriteSheet=null] The spritesheet that defines the character glyphs.
+ 	 * @constructor
+ 	 **/
+-	function BitmapText(text, spriteSheet) {
++	createjs.BitmapText = function(text, spriteSheet) {
+ 		this.Container_constructor();
+ 		
+ 		
+@@ -122,7 +117,7 @@
+ 		 **/
+ 		this._oldProps = {text:0,spriteSheet:0,lineHeight:0,letterSpacing:0,spaceWidth:0};
+ 	}
+-	var p = createjs.extend(BitmapText, createjs.Container);
++	
+ 
+ 	/**
+ 	 * <strong>REMOVED</strong>. Removed in favor of using `MySuperClass_constructor`.
+@@ -135,7 +130,7 @@
+ 	 * @protected
+ 	 * @deprecated
+ 	 */
+-	// p.initialize = function() {}; // searchable for devs wondering where it is.
++	// createjs.BitmapText.prototype.initialize = function() {}; // searchable for devs wondering where it is.
+ 
+ // static properties:
+ 	/**
+@@ -147,7 +142,7 @@
+ 	 * @static
+ 	 * @default 100
+ 	 **/
+-	BitmapText.maxPoolSize = 100;
++	createjs.BitmapText.maxPoolSize = 100;
+ 	
+ 	/**
+ 	 * Sprite object pool.
+@@ -155,14 +150,14 @@
+ 	 * @static
+ 	 * @private
+ 	 */
+-	BitmapText._spritePool = [];
++	createjs.BitmapText._spritePool = [];
+ 
+ 	
+ // public methods:
+ 	/**
+ 	 * Docced in superclass.
+ 	 **/
+-	p.draw = function(ctx, ignoreCache) {
++ createjs.BitmapText.prototype.draw = function(ctx, ignoreCache) {
+ 		if (this.DisplayObject_draw(ctx, ignoreCache)) { return; }
+ 		this._updateText();
+ 		this.Container_draw(ctx, ignoreCache);
+@@ -171,7 +166,7 @@
+ 	/**
+ 	 * Docced in superclass.
+ 	 **/
+-	p.getBounds = function() {
++ createjs.BitmapText.prototype.getBounds = function() {
+ 		this._updateText();
+ 		return this.Container_getBounds();
+ 	};
+@@ -183,36 +178,36 @@
+ 	 * @method isVisible
+ 	 * @return {Boolean} Boolean indicating whether the display object would be visible if drawn to a canvas
+ 	 **/
+-	p.isVisible = function() {
++ createjs.BitmapText.prototype.isVisible = function() {
+ 		var hasContent = this.cacheCanvas || (this.spriteSheet && this.spriteSheet.complete && this.text);
+ 		return !!(this.visible && this.alpha > 0 && this.scaleX !== 0 && this.scaleY !== 0 && hasContent);
+ 	};
+ 	
+-	p.clone = function() {
++ createjs.BitmapText.prototype.clone = function() {
+ 		return this._cloneProps(new BitmapText(this.text, this.spriteSheet));
+ 	};
+ 	
+ 	/**
+-	 * <strong>Disabled in BitmapText.</strong>
++	 * <strong>Disabled in createjs.BitmapText.</strong>
+ 	 * @method addChild
+ 	 **/
+ 	/**
+-	 * <strong>Disabled in BitmapText.</strong>
++	 * <strong>Disabled in createjs.BitmapText.</strong>
+ 	 * @method addChildAt
+ 	 **/
+ 	/**
+-	 * <strong>Disabled in BitmapText.</strong>
++	 * <strong>Disabled in createjs.BitmapText.</strong>
+ 	 * @method removeChild
+ 	 **/
+ 	/**
+-	 * <strong>Disabled in BitmapText.</strong>
++	 * <strong>Disabled in createjs.BitmapText.</strong>
+ 	 * @method removeChildAt
+ 	 **/
+ 	/**
+-	 * <strong>Disabled in BitmapText.</strong>
++	 * <strong>Disabled in createjs.BitmapText.</strong>
+ 	 * @method removeAllChildren
+ 	 **/
+-	p.addChild = p.addChildAt = p.removeChild = p.removeChildAt = p.removeAllChildren = function() {};
++ createjs.BitmapText.prototype.addChild = createjs.BitmapText.prototype.addChildAt = createjs.BitmapText.prototype.removeChild = createjs.BitmapText.prototype.removeChildAt = createjs.BitmapText.prototype.removeAllChildren = function() {};
+ 
+ 
+ // private methods:
+@@ -222,7 +217,7 @@
+ 	 * @return {BitmapText} o
+ 	 * @protected
+ 	 **/
+-	p._cloneProps = function(o) {
++ createjs.BitmapText.prototype._cloneProps = function(o) {
+ 		this.DisplayObject__cloneProps(o);
+ 		o.lineHeight = this.lineHeight;
+ 		o.letterSpacing = this.letterSpacing;
+@@ -233,11 +228,11 @@
+ 	/**
+ 	 * @method _getFrameIndex
+ 	 * @param {String} character
+-	 * @param {SpriteSheet} spriteSheet
++	 * @param {createjs.SpriteSheet} spriteSheet
+ 	 * @return {Number}
+ 	 * @protected
+ 	 **/
+-	p._getFrameIndex = function(character, spriteSheet) {
++ createjs.BitmapText.prototype._getFrameIndex = function(character, spriteSheet) {
+ 		var c, o = spriteSheet.getAnimation(character);
+ 		if (!o) {
+ 			(character != (c = character.toUpperCase())) || (character != (c = character.toLowerCase())) || (c=null);
+@@ -249,32 +244,32 @@
+ 	/**
+ 	 * @method _getFrame
+ 	 * @param {String} character
+-	 * @param {SpriteSheet} spriteSheet
++	 * @param {createjs.SpriteSheet} spriteSheet
+ 	 * @return {Object}
+ 	 * @protected
+ 	 **/
+-	p._getFrame = function(character, spriteSheet) {
++ createjs.BitmapText.prototype._getFrame = function(character, spriteSheet) {
+ 		var index = this._getFrameIndex(character, spriteSheet);
+ 		return index == null ? index : spriteSheet.getFrame(index);
+ 	};
+ 	
+ 	/**
+ 	 * @method _getLineHeight
+-	 * @param {SpriteSheet} ss
++	 * @param {createjs.SpriteSheet} ss
+ 	 * @return {Number}
+ 	 * @protected
+ 	 **/
+-	p._getLineHeight = function(ss) {
++ createjs.BitmapText.prototype._getLineHeight = function(ss) {
+ 		var frame = this._getFrame("1",ss) || this._getFrame("T",ss) || this._getFrame("L",ss) || ss.getFrame(0);
+ 		return frame ? frame.rect.height : 1;
+ 	};
+ 	/**
+ 	 * @method _getSpaceWidth
+-	 * @param {SpriteSheet} ss
++	 * @param {createjs.SpriteSheet} ss
+ 	 * @return {Number}
+ 	 * @protected
+ 	 **/
+-	p._getSpaceWidth = function(ss) {
++ createjs.BitmapText.prototype._getSpaceWidth = function(ss) {
+ 		var frame = this._getFrame("1",ss) || this._getFrame("l",ss) || this._getFrame("e",ss) || this._getFrame("a",ss) || ss.getFrame(0);
+ 		return frame ? frame.rect.width : 1;
+ 	};
+@@ -283,9 +278,9 @@
+ 	 * @method _drawText
+ 	 * @protected
+ 	 **/
+-	p._updateText = function() {
++ createjs.BitmapText.prototype._updateText = function() {
+ 		var x=0, y=0, o=this._oldProps, change=false, spaceW=this.spaceWidth, lineH=this.lineHeight, ss=this.spriteSheet;
+-		var pool=BitmapText._spritePool, kids=this.children, childIndex=0, numKids=kids.length, sprite;
++		var pool=createjs.BitmapText._spritePool, kids=this.children, childIndex=0, numKids=kids.length, sprite;
+ 		
+ 		for (var n in o) {
+ 			if (o[n] != this[n]) {
+@@ -335,9 +330,8 @@
+ 			sprite.parent = null;
+ 			numKids--;
+ 		}
+-		if (pool.length > BitmapText.maxPoolSize) { pool.length = BitmapText.maxPoolSize; }
++		if (pool.length > createjs.BitmapText.maxPoolSize) { pool.length = createjs.BitmapText.maxPoolSize; }
+ 	};
+ 
+ 
+-	createjs.BitmapText = createjs.promote(BitmapText, "Container");
+-}());
+\ No newline at end of file
++	
+diff -ur ../target/downloads/EaselJS-0.8.0/src/easeljs/display/Container.js EaselJS-0.8.0/src/easeljs/display/Container.js
+--- ../target/downloads/EaselJS-0.8.0/src/easeljs/display/Container.js	2014-12-19 11:08:04.000000000 +0100
++++ EaselJS-0.8.0/src/easeljs/display/Container.js	2016-05-31 11:03:08.000000000 +0200
+@@ -27,10 +27,6 @@
+ */
+ 
+ // namespace:
+-this.createjs = this.createjs||{};
+-
+-(function() {
+-	"use strict";
+ 	
+ 
+ // constructor:
+@@ -39,7 +35,7 @@
+  * group arm, leg, torso and head {{#crossLink "Bitmap"}}{{/crossLink}} instances together into a Person Container, and
+  * transform them as a group, while still being able to move the individual parts relative to each other. Children of
+  * containers have their <code>transform</code> and <code>alpha</code> properties concatenated with their parent
+- * Container.
++ * createjs.Container.
+  *
+  * For example, a {{#crossLink "Shape"}}{{/crossLink}} with x=100 and alpha=0.5, placed in a Container with <code>x=50</code>
+  * and <code>alpha=0.7</code> will be rendered to the canvas at <code>x=150</code> and <code>alpha=0.35</code>.
+@@ -52,10 +48,10 @@
+  *      container.x = 100;
+  *
+  * @class Container
+- * @extends DisplayObject
++ * @extends createjs.DisplayObject
+  * @constructor
+  **/
+-	function Container() {
++	createjs.Container = function() {
+ 		this.DisplayObject_constructor();
+ 		
+ 	// public properties:
+@@ -81,7 +77,7 @@
+ 		this.mouseChildren = true;
+ 		
+ 		/**
+-		 * If false, the tick will not be propagated to children of this Container. This can provide some performance benefits.
++		 * If false, the tick will not be propagated to children of this createjs.Container. This can provide some performance benefits.
+ 		 * In addition to preventing the "tick" event from being dispatched, it will also prevent tick related updates
+ 		 * on some display objects (ex. Sprite & MovieClip frame advancing, DOMElement visibility handling).
+ 		 * @property tickChildren
+@@ -90,7 +86,7 @@
+ 		 **/
+ 		this.tickChildren = true;
+ 	}
+-	var p = createjs.extend(Container, createjs.DisplayObject);
++	
+ 	
+ 	
+ // getter / setters:
+@@ -100,7 +96,7 @@
+ 	 * @return {Number}
+ 	 * @deprecated
+ 	 **/
+-	p.getNumChildren = function() {
++ createjs.Container.prototype.getNumChildren = function() {
+ 		return this.children.length;
+ 	};
+ 
+@@ -110,11 +106,7 @@
+ 	 * @type {Number}
+ 	 * @readonly
+ 	 **/
+-	try {
+-		Object.defineProperties(p, {
+-			numChildren: { get: p.getNumChildren }
+-		});
+-	} catch (e) {}
++createjs.Container.prototype.numChildren;
+ 	
+ 
+ // public methods:
+@@ -124,7 +116,7 @@
+ 	 * @method initialize
+ 	 * @deprecated in favour of `createjs.promote()`
+ 	 **/
+-	p.initialize = Container; // TODO: deprecated.
++ createjs.Container.prototype.initialize = Container; // TODO: deprecated.
+ 	
+ 	/**
+ 	 * Returns true or false indicating whether the display object would be visible if drawn to a canvas.
+@@ -134,7 +126,7 @@
+ 	 * @method isVisible
+ 	 * @return {Boolean} Boolean indicating whether the display object would be visible if drawn to a canvas
+ 	 **/
+-	p.isVisible = function() {
++ createjs.Container.prototype.isVisible = function() {
+ 		var hasContent = this.cacheCanvas || this.children.length;
+ 		return !!(this.visible && this.alpha > 0 && this.scaleX != 0 && this.scaleY != 0 && hasContent);
+ 	};
+@@ -150,7 +142,7 @@
+ 	 * For example, used for drawing the cache (to prevent it from simply drawing an existing cache back
+ 	 * into itself).
+ 	 **/
+-	p.draw = function(ctx, ignoreCache) {
++ createjs.Container.prototype.draw = function(ctx, ignoreCache) {
+ 		if (this.DisplayObject_draw(ctx, ignoreCache)) { return true; }
+ 		
+ 		// this ensures we don't have issues with display list changes that occur during a draw:
+@@ -180,10 +172,10 @@
+ 	 * 		container.addChild(bitmapInstance, shapeInstance, textInstance);
+ 	 *
+ 	 * @method addChild
+-	 * @param {DisplayObject} child The display object to add.
+-	 * @return {DisplayObject} The child that was added, or the last child if multiple children were added.
++	 * @param {createjs.DisplayObject} child The display object to add.
++	 * @return {createjs.DisplayObject} The child that was added, or the last child if multiple children were added.
+ 	 **/
+-	p.addChild = function(child) {
++ createjs.Container.prototype.addChild = function(child) {
+ 		if (child == null) { return child; }
+ 		var l = arguments.length;
+ 		if (l > 1) {
+@@ -199,7 +191,7 @@
+ 
+ 	/**
+ 	 * Adds a child to the display list at the specified index, bumping children at equal or greater indexes up one, and
+-	 * setting its parent to this Container.
++	 * setting its parent to this createjs.Container.
+ 	 *
+ 	 * <h4>Example</h4>
+ 	 *
+@@ -217,11 +209,11 @@
+ 	 * This would also bump otherShape's index up by one. Fails silently if the index is out of range.
+ 	 *
+ 	 * @method addChildAt
+-	 * @param {DisplayObject} child The display object to add.
++	 * @param {createjs.DisplayObject} child The display object to add.
+ 	 * @param {Number} index The index to add the child at.
+-	 * @return {DisplayObject} Returns the last child that was added, or the last child if multiple children were added.
++	 * @return {createjs.DisplayObject} Returns the last child that was added, or the last child if multiple children were added.
+ 	 **/
+-	p.addChildAt = function(child, index) {
++ createjs.Container.prototype.addChildAt = function(child, index) {
+ 		var l = arguments.length;
+ 		var indx = arguments[l-1]; // can't use the same name as the index param or it replaces arguments[1]
+ 		if (indx < 0 || indx > this.children.length) { return arguments[l-2]; }
+@@ -250,10 +242,10 @@
+ 	 *
+ 	 * Returns true if the child (or children) was removed, or false if it was not in the display list.
+ 	 * @method removeChild
+-	 * @param {DisplayObject} child The child to remove.
++	 * @param {createjs.DisplayObject} child The child to remove.
+ 	 * @return {Boolean} true if the child (or children) was removed, or false if it was not in the display list.
+ 	 **/
+-	p.removeChild = function(child) {
++ createjs.Container.prototype.removeChild = function(child) {
+ 		var l = arguments.length;
+ 		if (l > 1) {
+ 			var good = true;
+@@ -279,7 +271,7 @@
+ 	 * @param {Number} index The index of the child to remove.
+ 	 * @return {Boolean} true if the child (or children) was removed, or false if any index was out of range.
+ 	 **/
+-	p.removeChildAt = function(index) {
++ createjs.Container.prototype.removeChildAt = function(index) {
+ 		var l = arguments.length;
+ 		if (l > 1) {
+ 			var a = [];
+@@ -306,7 +298,7 @@
+ 	 *
+ 	 * @method removeAllChildren
+ 	 **/
+-	p.removeAllChildren = function() {
++ createjs.Container.prototype.removeAllChildren = function() {
+ 		var kids = this.children;
+ 		while (kids.length) { this.removeChildAt(0); }
+ 	};
+@@ -320,9 +312,9 @@
+ 	 *
+ 	 * @method getChildAt
+ 	 * @param {Number} index The index of the child to return.
+-	 * @return {DisplayObject} The child at the specified index. Returns null if there is no child at the index.
++	 * @return {createjs.DisplayObject} The child at the specified index. Returns null if there is no child at the index.
+ 	 **/
+-	p.getChildAt = function(index) {
++ createjs.Container.prototype.getChildAt = function(index) {
+ 		return this.children[index];
+ 	};
+ 	
+@@ -330,9 +322,9 @@
+ 	 * Returns the child with the specified name.
+ 	 * @method getChildByName
+ 	 * @param {String} name The name of the child to return.
+-	 * @return {DisplayObject} The child with the specified name.
++	 * @return {createjs.DisplayObject} The child with the specified name.
+ 	 **/
+-	p.getChildByName = function(name) {
++ createjs.Container.prototype.getChildByName = function(name) {
+ 		var kids = this.children;
+ 		for (var i=0,l=kids.length;i<l;i++) {
+ 			if(kids[i].name == name) { return kids[i]; }
+@@ -356,7 +348,7 @@
+ 	 * @param {Function} sortFunction the function to use to sort the child list. See JavaScript's <code>Array.sort</code>
+ 	 * documentation for details.
+ 	 **/
+-	p.sortChildren = function(sortFunction) {
++ createjs.Container.prototype.sortChildren = function(sortFunction) {
+ 		this.children.sort(sortFunction);
+ 	};
+ 
+@@ -368,10 +360,10 @@
+ 	 *      var index = container.getChildIndex(child);
+ 	 *
+ 	 * @method getChildIndex
+-	 * @param {DisplayObject} child The child to return the index of.
++	 * @param {createjs.DisplayObject} child The child to return the index of.
+ 	 * @return {Number} The index of the specified child. -1 if the child is not found.
+ 	 **/
+-	p.getChildIndex = function(child) {
++ createjs.Container.prototype.getChildIndex = function(child) {
+ 		return createjs.indexOf(this.children, child);
+ 	};
+ 	
+@@ -381,7 +373,7 @@
+ 	 * @param {Number} index1
+ 	 * @param {Number} index2
+ 	 **/
+-	p.swapChildrenAt = function(index1, index2) {
++ createjs.Container.prototype.swapChildrenAt = function(index1, index2) {
+ 		var kids = this.children;
+ 		var o1 = kids[index1];
+ 		var o2 = kids[index2];
+@@ -392,12 +384,12 @@
+ 	
+ 	/**
+ 	 * Swaps the specified children's depth in the display list. Fails silently if either child is not a child of this
+-	 * Container.
++	 * createjs.Container.
+ 	 * @method swapChildren
+-	 * @param {DisplayObject} child1
+-	 * @param {DisplayObject} child2
++	 * @param {createjs.DisplayObject} child1
++	 * @param {createjs.DisplayObject} child2
+ 	 **/
+-	p.swapChildren = function(child1, child2) {
++ createjs.Container.prototype.swapChildren = function(child1, child2) {
+ 		var kids = this.children;
+ 		var index1,index2;
+ 		for (var i=0,l=kids.length;i<l;i++) {
+@@ -412,11 +404,11 @@
+ 	
+ 	/**
+ 	 * Changes the depth of the specified child. Fails silently if the child is not a child of this container, or the index is out of range.
+-	 * @param {DisplayObject} child
++	 * @param {createjs.DisplayObject} child
+ 	 * @param {Number} index  
+ 	 * @method setChildIndex
+ 	 **/
+-	p.setChildIndex = function(child, index) {
++ createjs.Container.prototype.setChildIndex = function(child, index) {
+ 		var kids = this.children, l=kids.length;
+ 		if (child.parent != this || index < 0 || index >= l) { return; }
+ 		for (var i=0;i<l;i++) {
+@@ -431,10 +423,10 @@
+ 	 * Returns true if the specified display object either is this container or is a descendent (child, grandchild, etc)
+ 	 * of this container.
+ 	 * @method contains
+-	 * @param {DisplayObject} child The DisplayObject to be checked.
++	 * @param {createjs.DisplayObject} child The DisplayObject to be checked.
+ 	 * @return {Boolean} true if the specified display object either is this container or is a descendent.
+ 	 **/
+-	p.contains = function(child) {
++ createjs.Container.prototype.contains = function(child) {
+ 		while (child) {
+ 			if (child == this) { return true; }
+ 			child = child.parent;
+@@ -452,7 +444,7 @@
+ 	 * @return {Boolean} A Boolean indicating whether there is a visible section of a DisplayObject that overlaps the specified
+ 	 * coordinates.
+ 	 **/
+-	p.hitTest = function(x, y) {
++ createjs.Container.prototype.hitTest = function(x, y) {
+ 		// TODO: optimize to use the fast cache check where possible.
+ 		return (this.getObjectUnderPoint(x, y) != null);
+ 	};
+@@ -482,7 +474,7 @@
+ 	 * @param {Number} [mode=0] The mode to use to determine which display objects to include. 0-all, 1-respect mouseEnabled/mouseChildren, 2-only mouse opaque objects.
+ 	 * @return {Array} An Array of DisplayObjects under the specified coordinates.
+ 	 **/
+-	p.getObjectsUnderPoint = function(x, y, mode) {
++ createjs.Container.prototype.getObjectsUnderPoint = function(x, y, mode) {
+ 		var arr = [];
+ 		var pt = this.localToGlobal(x, y);
+ 		this._getObjectsUnderPoint(pt.x, pt.y, arr, mode>0, mode==1);
+@@ -497,9 +489,9 @@
+ 	 * @param {Number} x The x position in the container to test.
+ 	 * @param {Number} y The y position in the container to test.
+ 	 * @param {Number} mode The mode to use to determine which display objects to include.  0-all, 1-respect mouseEnabled/mouseChildren, 2-only mouse opaque objects.
+-	 * @return {DisplayObject} The top-most display object under the specified coordinates.
++	 * @return {createjs.DisplayObject} The top-most display object under the specified coordinates.
+ 	 **/
+-	p.getObjectUnderPoint = function(x, y, mode) {
++ createjs.Container.prototype.getObjectUnderPoint = function(x, y, mode) {
+ 		var pt = this.localToGlobal(x, y);
+ 		return this._getObjectsUnderPoint(pt.x, pt.y, null, mode>0, mode==1);
+ 	};
+@@ -507,7 +499,7 @@
+ 	/**
+ 	 * Docced in superclass.
+ 	 */
+-	p.getBounds = function() {
++ createjs.Container.prototype.getBounds = function() {
+ 		return this._getBounds(null, true);
+ 	};
+ 	
+@@ -515,19 +507,19 @@
+ 	/**
+ 	 * Docced in superclass.
+ 	 */
+-	p.getTransformedBounds = function() {
++ createjs.Container.prototype.getTransformedBounds = function() {
+ 		return this._getBounds();
+ 	};
+ 
+ 	/**
+-	 * Returns a clone of this Container. Some properties that are specific to this instance's current context are
++	 * Returns a clone of this createjs.Container. Some properties that are specific to this instance's current context are
+ 	 * reverted to their defaults (for example .parent).
+ 	 * @method clone
+ 	 * @param {Boolean} recursive If true, all of the descendants of this container will be cloned recursively. If false, the
+ 	 * properties of the container will be cloned, but the new instance will not have any children.
+-	 * @return {Container} A clone of the current Container instance.
++	 * @return {createjs.Container} A clone of the current Container instance.
+ 	 **/
+-	p.clone = function(recursive) {
++ createjs.Container.prototype.clone = function(recursive) {
+ 		var o = this._cloneProps(new Container());
+ 		if (recursive) { this._cloneChildren(o); }
+ 		return o;
+@@ -538,7 +530,7 @@
+ 	 * @method toString
+ 	 * @return {String} a string representation of the instance.
+ 	 **/
+-	p.toString = function() {
++ createjs.Container.prototype.toString = function() {
+ 		return "[Container (name="+  this.name +")]";
+ 	};
+ 
+@@ -549,7 +541,7 @@
+ 	 * @param {Object} evtObj An event object that will be dispatched to all tick listeners. This object is reused between dispatchers to reduce construction & GC costs.
+ 	 * @protected
+ 	 **/
+-	p._tick = function(evtObj) {
++ createjs.Container.prototype._tick = function(evtObj) {
+ 		if (this.tickChildren) {
+ 			for (var i=this.children.length-1; i>=0; i--) {
+ 				var child = this.children[i];
+@@ -563,9 +555,9 @@
+ 	 * Recursively clones all children of this container, and adds them to the target container.
+ 	 * @method cloneChildren
+ 	 * @protected
+-	 * @param {Container} o The target container.
++	 * @param {createjs.Container} o The target container.
+ 	 **/
+-	p._cloneChildren = function(o) {
++ createjs.Container.prototype._cloneChildren = function(o) {
+ 		if (o.children.length) { o.removeAllChildren(); }
+ 		var arr = o.children;
+ 		for (var i=0, l=this.children.length; i<l; i++) {
+@@ -583,10 +575,10 @@
+ 	 * @param {Boolean} mouse If true, it will respect mouse interaction properties like mouseEnabled, mouseChildren, and active listeners.
+ 	 * @param {Boolean} activeListener If true, there is an active mouse event listener on a parent object.
+ 	 * @param {Number} currentDepth Indicates the current depth of the search.
+-	 * @return {DisplayObject}
++	 * @return {createjs.DisplayObject}
+ 	 * @protected
+ 	 **/
+-	p._getObjectsUnderPoint = function(x, y, arr, mouse, activeListener, currentDepth) {
++ createjs.Container.prototype._getObjectsUnderPoint = function(x, y, arr, mouse, activeListener, currentDepth) {
+ 		currentDepth = currentDepth || 0;
+ 		if (!currentDepth && !this._testMask(this, x, y)) { return null; }
+ 		var mtx, ctx = createjs.DisplayObject._hitTestContext;
+@@ -631,13 +623,13 @@
+ 	
+ 	/**
+ 	 * @method _testMask
+-	 * @param {DisplayObject} target
++	 * @param {createjs.DisplayObject} target
+ 	 * @param {Number} x
+ 	 * @param {Number} y
+ 	 * @return {Boolean} Indicates whether the x/y is within the masked region.
+ 	 * @protected
+ 	 **/
+-	p._testMask = function(target, x, y) {
++ createjs.Container.prototype._testMask = function(target, x, y) {
+ 		var mask = target.mask;
+ 		if (!mask || !mask.graphics || mask.graphics.isEmpty()) { return true; }
+ 		
+@@ -662,12 +654,12 @@
+ 	
+ 	/**
+ 	 * @method _getBounds
+-	 * @param {Matrix2D} matrix
++	 * @param {createjs.Matrix2D} matrix
+ 	 * @param {Boolean} ignoreTransform If true, does not apply this object's transform.
+-	 * @return {Rectangle}
++	 * @return {createjs.Rectangle}
+ 	 * @protected
+ 	 **/
+-	p._getBounds = function(matrix, ignoreTransform) {
++ createjs.Container.prototype._getBounds = function(matrix, ignoreTransform) {
+ 		var bounds = this.DisplayObject_getBounds();
+ 		if (bounds) { return this._transformBounds(bounds, matrix, ignoreTransform); }
+ 		
+@@ -686,5 +678,4 @@
+ 	};
+ 
+ 
+-	createjs.Container = createjs.promote(Container, "DisplayObject");
+-}());
+\ No newline at end of file
++	
+diff -ur ../target/downloads/EaselJS-0.8.0/src/easeljs/display/DOMElement.js EaselJS-0.8.0/src/easeljs/display/DOMElement.js
+--- ../target/downloads/EaselJS-0.8.0/src/easeljs/display/DOMElement.js	2014-12-19 11:08:04.000000000 +0100
++++ EaselJS-0.8.0/src/easeljs/display/DOMElement.js	2016-05-31 11:03:08.000000000 +0200
+@@ -31,10 +31,6 @@
+  */
+ 
+ // namespace:
+-this.createjs = this.createjs||{};
+-
+-(function() {
+-	"use strict";
+ 
+ 
+ // constructor:
+@@ -66,11 +62,11 @@
+ 	 *      }
+ 	 *
+ 	 * @class DOMElement
+-	 * @extends DisplayObject
++	 * @extends createjs.DisplayObject
+ 	 * @constructor
+ 	 * @param {HTMLElement} htmlElement A reference or id for the DOM element to manage.
+ 	 */
+-	function DOMElement(htmlElement) {
++	createjs.DOMElement = function(htmlElement) {
+ 		this.DisplayObject_constructor();
+ 		
+ 		if (typeof(htmlElement)=="string") { htmlElement = document.getElementById(htmlElement); }
+@@ -98,10 +94,10 @@
+ 		 */
+ 		this._oldProps = null;
+ 	}
+-	var p = createjs.extend(DOMElement, createjs.DisplayObject);
++	
+ 
+ 	// TODO: deprecated
+-	// p.initialize = function() {}; // searchable for devs wondering where it is. REMOVED. See docs for details.
++	// createjs.DOMElement.prototype.initialize = function() {}; // searchable for devs wondering where it is. REMOVED. See docs for details.
+ 
+ 
+ // public methods:
+@@ -112,7 +108,7 @@
+ 	 * @method isVisible
+ 	 * @return {Boolean} Boolean indicating whether the display object would be visible if drawn to a canvas
+ 	 */
+-	p.isVisible = function() {
++ createjs.DOMElement.prototype.isVisible = function() {
+ 		return this.htmlElement != null;
+ 	};
+ 
+@@ -127,59 +123,59 @@
+ 	 * into itself).
+ 	 * @return {Boolean}
+ 	 */
+-	p.draw = function(ctx, ignoreCache) {
++ createjs.DOMElement.prototype.draw = function(ctx, ignoreCache) {
+ 		// this relies on the _tick method because draw isn't called if the parent is not visible.
+ 		// the actual update happens in _handleDrawEnd
+ 		return true;
+ 	};
+ 
+ 	/**
+-	 * Not applicable to DOMElement.
++	 * Not applicable to createjs.DOMElement.
+ 	 * @method cache
+ 	 */
+-	p.cache = function() {};
++ createjs.DOMElement.prototype.cache = function() {};
+ 
+ 	/**
+-	 * Not applicable to DOMElement.
++	 * Not applicable to createjs.DOMElement.
+ 	 * @method uncache
+ 	 */
+-	p.uncache = function() {};
++ createjs.DOMElement.prototype.uncache = function() {};
+ 
+ 	/**
+-	 * Not applicable to DOMElement.
++	 * Not applicable to createjs.DOMElement.
+ 	 * @method updateCache
+ 	 */
+-	p.updateCache = function() {};
++ createjs.DOMElement.prototype.updateCache = function() {};
+ 
+ 	/**
+-	 * Not applicable to DOMElement.
++	 * Not applicable to createjs.DOMElement.
+ 	 * @method hitTest
+ 	 */
+-	p.hitTest = function() {};
++ createjs.DOMElement.prototype.hitTest = function() {};
+ 
+ 	/**
+-	 * Not applicable to DOMElement.
++	 * Not applicable to createjs.DOMElement.
+ 	 * @method localToGlobal
+ 	 */
+-	p.localToGlobal = function() {};
++ createjs.DOMElement.prototype.localToGlobal = function() {};
+ 
+ 	/**
+-	 * Not applicable to DOMElement.
++	 * Not applicable to createjs.DOMElement.
+ 	 * @method globalToLocal
+ 	 */
+-	p.globalToLocal = function() {};
++ createjs.DOMElement.prototype.globalToLocal = function() {};
+ 
+ 	/**
+-	 * Not applicable to DOMElement.
++	 * Not applicable to createjs.DOMElement.
+ 	 * @method localToLocal
+ 	 */
+-	p.localToLocal = function() {};
++ createjs.DOMElement.prototype.localToLocal = function() {};
+ 
+ 	/**
+ 	 * DOMElement cannot be cloned. Throws an error.
+ 	 * @method clone
+ 	 */
+-	p.clone = function() {
++ createjs.DOMElement.prototype.clone = function() {
+ 		throw("DOMElement cannot be cloned.")
+ 	};
+ 
+@@ -188,7 +184,7 @@
+ 	 * @method toString
+ 	 * @return {String} a string representation of the instance.
+ 	 */
+-	p.toString = function() {
++ createjs.DOMElement.prototype.toString = function() {
+ 		return "[DOMElement (name="+  this.name +")]";
+ 	};
+ 
+@@ -217,7 +213,7 @@
+ 	  */
+ 
+      /**
+-      * Not applicable to DOMElement.
++      * Not applicable to createjs.DOMElement.
+ 	  * @event tick
+ 	  */
+ 
+@@ -229,7 +225,7 @@
+ 	 * function.
+ 	 * @protected
+ 	 */
+-	p._tick = function(evtObj) {
++ createjs.DOMElement.prototype._tick = function(evtObj) {
+ 		var stage = this.getStage();
+ 		stage&&stage.on("drawend", this._handleDrawEnd, this, true);
+ 		this.DisplayObject__tick(evtObj);
+@@ -240,7 +236,7 @@
+ 	 * @param {Event} evt
+ 	 * @protected
+ 	 */
+-	p._handleDrawEnd = function(evt) {
++ createjs.DOMElement.prototype._handleDrawEnd = function(evt) {
+ 		var o = this.htmlElement;
+ 		if (!o) { return; }
+ 		var style = o.style;
+@@ -269,5 +265,5 @@
+ 	};
+ 
+ 
+-	createjs.DOMElement = createjs.promote(DOMElement, "DisplayObject");
+-}());
++	
++
+diff -ur ../target/downloads/EaselJS-0.8.0/src/easeljs/display/DisplayObject.js EaselJS-0.8.0/src/easeljs/display/DisplayObject.js
+--- ../target/downloads/EaselJS-0.8.0/src/easeljs/display/DisplayObject.js	2014-12-19 11:08:04.000000000 +0100
++++ EaselJS-0.8.0/src/easeljs/display/DisplayObject.js	2016-05-31 11:03:08.000000000 +0200
+@@ -56,7 +56,7 @@
+  *
+  *	    //Create a stage by getting a reference to the canvas
+  *	    stage = new createjs.Stage("demoCanvas");
+- *	    //Create a Shape DisplayObject.
++ *	    //Create a Shape createjs.DisplayObject.
+  *	    circle = new createjs.Shape();
+  *	    circle.graphics.beginFill("red").drawCircle(0, 0, 40);
+  *	    //Set position of Shape instance.
+@@ -119,10 +119,6 @@
+  */
+ 
+ // namespace:
+-this.createjs = this.createjs||{};
+-
+-(function() {
+-	"use strict";
+ 
+ 
+ // constructor:
+@@ -133,10 +129,10 @@
+ 	 * methods that are shared between all display objects, such as transformation properties (x, y, scaleX, scaleY, etc),
+ 	 * caching, and mouse handlers.
+ 	 * @class DisplayObject
+-	 * @extends EventDispatcher
++	 * @extends createjs.EventDispatcher
+ 	 * @constructor
+ 	 **/
+-	function DisplayObject() {
++	createjs.DisplayObject = function() {
+ 		this.EventDispatcher_constructor();
+ 		
+ 		
+@@ -216,7 +212,7 @@
+ 		 * to one.
+ 		 * @property parent
+ 		 * @final
+-		 * @type {Container}
++		 * @type {createjs.Container}
+ 		 * @default null
+ 		 * @readonly
+ 		 **/
+@@ -286,7 +282,7 @@
+ 		 * A shadow object that defines the shadow to render on this display object. Set to `null` to remove a shadow. If
+ 		 * null, this property is inherited from the parent container.
+ 		 * @property shadow
+-		 * @type {Shadow}
++		 * @type {createjs.Shadow}
+ 		 * @default null
+ 		 **/
+ 		this.shadow = null;
+@@ -319,7 +315,7 @@
+ 		 * If set, defines the transformation for this display object, overriding all other transformation properties
+ 		 * (x, y, rotation, scale, skew).
+ 		 * @property transformMatrix
+-		 * @type {Matrix2D}
++		 * @type {createjs.Matrix2D}
+ 		 * @default null
+ 		 **/
+ 		this.transformMatrix = null;
+@@ -376,7 +372,7 @@
+ 		 *
+ 		 * Note that hitArea is NOT currently used by the `hitTest()` method, nor is it supported for {{#crossLink "Stage"}}{{/crossLink}}.
+ 		 * @property hitArea
+-		 * @type {DisplayObject}
++		 * @type {createjs.DisplayObject}
+ 		 * @default null
+ 		 */
+ 		this.hitArea = null;
+@@ -452,7 +448,7 @@
+ 		/**
+ 		 * @property _props
+ 		 * @protected
+-		 * @type {DisplayObject}
++		 * @type {createjs.DisplayObject}
+ 		 * @default null
+ 		 **/
+ 		this._props = new createjs.DisplayProps();
+@@ -460,7 +456,7 @@
+ 		/**
+ 		 * @property _rectangle
+ 		 * @protected
+-		 * @type {Rectangle}
++		 * @type {createjs.Rectangle}
+ 		 * @default null
+ 		 **/
+ 		this._rectangle = new createjs.Rectangle();
+@@ -468,15 +464,15 @@
+ 		/**
+ 		 * @property _bounds
+ 		 * @protected
+-		 * @type {Rectangle}
++		 * @type {createjs.Rectangle}
+ 		 * @default null
+ 		 **/
+ 		this._bounds = null;
+ 	}
+-	var p = createjs.extend(DisplayObject, createjs.EventDispatcher);
++	
+ 
+ 	// TODO: deprecated
+-	// p.initialize = function() {}; // searchable for devs wondering where it is. REMOVED. See docs for details.
++	// createjs.DisplayObject.prototype.initialize = function() {}; // searchable for devs wondering where it is. REMOVED. See docs for details.
+ 	
+ // static properties:
+ 	/**
+@@ -486,7 +482,7 @@
+ 	 * @static
+ 	 * @type {Array}
+ 	 **/
+-	DisplayObject._MOUSE_EVENTS = ["click","dblclick","mousedown","mouseout","mouseover","pressmove","pressup","rollout","rollover"];
++	createjs.DisplayObject._MOUSE_EVENTS = ["click","dblclick","mousedown","mouseout","mouseover","pressmove","pressup","rollout","rollover"];
+ 
+ 	/**
+ 	 * Suppresses errors generated when using features like hitTest, mouse events, and {{#crossLink "getObjectsUnderPoint"}}{{/crossLink}}
+@@ -496,7 +492,7 @@
+ 	 * @type {Boolean}
+ 	 * @default false
+ 	 **/
+-	DisplayObject.suppressCrossDomainErrors = false;
++	createjs.DisplayObject.suppressCrossDomainErrors = false;
+ 	
+ 	/**
+ 	 * @property _snapToPixelEnabled
+@@ -505,7 +501,7 @@
+ 	 * @type {Boolean}
+ 	 * @default false
+ 	 **/
+-	DisplayObject._snapToPixelEnabled = false; // stage.snapToPixelEnabled is temporarily copied here during a draw to provide global access.
++	createjs.DisplayObject._snapToPixelEnabled = false; // stage.snapToPixelEnabled is temporarily copied here during a draw to provide global access.
+ 
+ 	/**
+ 	 * @property _hitTestCanvas
+@@ -521,8 +517,8 @@
+ 	 **/
+ 	var canvas = createjs.createCanvas?createjs.createCanvas():document.createElement("canvas"); // prevent errors on load in browsers without canvas.
+ 	if (canvas.getContext) {
+-		DisplayObject._hitTestCanvas = canvas;
+-		DisplayObject._hitTestContext = canvas.getContext("2d");
++		createjs.DisplayObject._hitTestCanvas = canvas;
++		createjs.DisplayObject._hitTestContext = canvas.getContext("2d");
+ 		canvas.width = canvas.height = 1;
+ 	}
+ 
+@@ -532,7 +528,7 @@
+ 	 * @static
+ 	 * @protected
+ 	 **/
+-	DisplayObject._nextCacheID = 1;
++	createjs.DisplayObject._nextCacheID = 1;
+ 
+ 
+ // events:
+@@ -658,10 +654,10 @@
+ 	/**
+ 	 * Use the {{#crossLink "DisplayObject/stage:property"}}{{/crossLink}} property instead.
+ 	 * @method getStage
+-	 * @return {Stage}
++	 * @return {createjs.Stage}
+ 	 * @deprecated
+ 	 **/
+-	p.getStage = function() {
++ createjs.DisplayObject.prototype.getStage = function() {
+ 		// uses dynamic access to avoid circular dependencies;
+ 		var o = this, _Stage = createjs["Stage"];
+ 		while (o.parent) { o = o.parent; }
+@@ -672,14 +668,10 @@
+ 	/**
+ 	 * Returns the Stage instance that this display object will be rendered on, or null if it has not been added to one.
+ 	 * @property stage
+-	 * @type {Stage}
++	 * @type {createjs.Stage}
+ 	 * @readonly
+ 	 **/
+-	try {
+-		Object.defineProperties(p, {
+-			stage: { get: p.getStage }
+-		});
+-	} catch (e) {}
++createjs.DisplayObject.prototype.stage;
+ 
+ 
+ // public methods:
+@@ -691,7 +683,7 @@
+ 	 * @method isVisible
+ 	 * @return {Boolean} Boolean indicating whether the display object would be visible if drawn to a canvas
+ 	 **/
+-	p.isVisible = function() {
++ createjs.DisplayObject.prototype.isVisible = function() {
+ 		return !!(this.visible && this.alpha > 0 && this.scaleX != 0 && this.scaleY != 0);
+ 	};
+ 
+@@ -706,7 +698,7 @@
+ 	 * used for drawing the cache (to prevent it from simply drawing an existing cache back into itself).
+ 	 * @return {Boolean}
+ 	 **/
+-	p.draw = function(ctx, ignoreCache) {
++ createjs.DisplayObject.prototype.draw = function(ctx, ignoreCache) {
+ 		var cacheCanvas = this.cacheCanvas;
+ 		if (ignoreCache || !cacheCanvas) { return false; }
+ 		var scale = this._cacheScale;
+@@ -720,7 +712,7 @@
+ 	 * @method updateContext
+ 	 * @param {CanvasRenderingContext2D} ctx The canvas 2D to update.
+ 	 **/
+-	p.updateContext = function(ctx) {
++ createjs.DisplayObject.prototype.updateContext = function(ctx) {
+ 		var o=this, mask=o.mask, mtx= o._props.matrix;
+ 		
+ 		if (mask && mask.graphics && !mask.graphics.isEmpty()) {
+@@ -736,7 +728,7 @@
+ 		
+ 		this.getMatrix(mtx);
+ 		var tx = mtx.tx, ty = mtx.ty;
+-		if (DisplayObject._snapToPixelEnabled && o.snapToPixel) {
++		if (createjs.DisplayObject._snapToPixelEnabled && o.snapToPixel) {
+ 			tx = tx + (tx < 0 ? -0.5 : 0.5) | 0;
+ 			ty = ty + (ty < 0 ? -0.5 : 0.5) | 0;
+ 		}
+@@ -777,7 +769,7 @@
+ 	 * 	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.
+ 	 **/
+-	p.cache = function(x, y, width, height, scale) {
++ createjs.DisplayObject.prototype.cache = function(x, y, width, height, scale) {
+ 		// draw to canvas.
+ 		scale = scale||1;
+ 		if (!this.cacheCanvas) { this.cacheCanvas = createjs.createCanvas?createjs.createCanvas():document.createElement("canvas"); }
+@@ -808,7 +800,7 @@
+ 	 * <a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/the-canvas-element.html#compositing">
+ 	 * whatwg spec on compositing</a>.
+ 	 **/
+-	p.updateCache = function(compositeOperation) {
++ createjs.DisplayObject.prototype.updateCache = function(compositeOperation) {
+ 		var cacheCanvas = this.cacheCanvas;
+ 		if (!cacheCanvas) { throw "cache() must be called before updateCache()"; }
+ 		var scale = this._cacheScale, offX = this._cacheOffsetX*scale, offY = this._cacheOffsetY*scale;
+@@ -835,14 +827,14 @@
+ 		// TODO: filters and cache scale don't play well together at present.
+ 		this._applyFilters();
+ 		ctx.restore();
+-		this.cacheID = DisplayObject._nextCacheID++;
++		this.cacheID = createjs.DisplayObject._nextCacheID++;
+ 	};
+ 
+ 	/**
+ 	 * Clears the current cache. See {{#crossLink "DisplayObject/cache"}}{{/crossLink}} for more information.
+ 	 * @method uncache
+ 	 **/
+-	p.uncache = function() {
++ createjs.DisplayObject.prototype.uncache = function() {
+ 		this._cacheDataURL = this.cacheCanvas = null;
+ 		this.cacheID = this._cacheOffsetX = this._cacheOffsetY = this._filterOffsetX = this._filterOffsetY = 0;
+ 		this._cacheScale = 1;
+@@ -854,7 +846,7 @@
+ 	 * @method getCacheDataURL
+ 	 * @return {String} The image data url for the cache.
+ 	 **/
+-	p.getCacheDataURL = function() {
++ createjs.DisplayObject.prototype.getCacheDataURL = function() {
+ 		if (!this.cacheCanvas) { return null; }
+ 		if (this.cacheID != this._cacheDataURLID) { this._cacheDataURL = this.cacheCanvas.toDataURL(); }
+ 		return this._cacheDataURL;
+@@ -871,17 +863,17 @@
+ 	 *      displayObject.x = 300;
+ 	 *      displayObject.y = 200;
+ 	 *      stage.addChild(displayObject);
+-	 *      var point = myDisplayObject.localToGlobal(100, 100);
++	 *      var point = mycreatejs.DisplayObject.localToGlobal(100, 100);
+ 	 *      // Results in x=400, y=300
+ 	 *
+ 	 * @method localToGlobal
+ 	 * @param {Number} x The x position in the source display object to transform.
+ 	 * @param {Number} y The y position in the source display object to transform.
+-	 * @param {Point | Object} [pt] An object to copy the result into. If omitted a new Point object with x/y properties will be returned. 
+-	 * @return {Point} A Point instance with x and y properties correlating to the transformed coordinates
++	 * @param {createjs.Point | Object} [pt] An object to copy the result into. If omitted a new Point object with x/y properties will be returned. 
++	 * @return {createjs.Point} A Point instance with x and y properties correlating to the transformed coordinates
+ 	 * on the stage.
+ 	 **/
+-	p.localToGlobal = function(x, y, pt) {
++ createjs.DisplayObject.prototype.localToGlobal = function(x, y, pt) {
+ 		return this.getConcatenatedMatrix(this._props.matrix).transformPoint(x,y, pt||new createjs.Point());
+ 	};
+ 
+@@ -896,17 +888,17 @@
+ 	 *      displayObject.x = 300;
+ 	 *      displayObject.y = 200;
+ 	 *      stage.addChild(displayObject);
+-	 *      var point = myDisplayObject.globalToLocal(100, 100);
++	 *      var point = mycreatejs.DisplayObject.globalToLocal(100, 100);
+ 	 *      // Results in x=-200, y=-100
+ 	 *
+ 	 * @method globalToLocal
+ 	 * @param {Number} x The x position on the stage to transform.
+ 	 * @param {Number} y The y position on the stage to transform.
+-	 * @param {Point | Object} [pt] An object to copy the result into. If omitted a new Point object with x/y properties will be returned. 
+-	 * @return {Point} A Point instance with x and y properties correlating to the transformed position in the
++	 * @param {createjs.Point | Object} [pt] An object to copy the result into. If omitted a new Point object with x/y properties will be returned. 
++	 * @return {createjs.Point} A Point instance with x and y properties correlating to the transformed position in the
+ 	 * display object's coordinate space.
+ 	 **/
+-	p.globalToLocal = function(x, y, pt) {
++ createjs.DisplayObject.prototype.globalToLocal = function(x, y, pt) {
+ 		return this.getConcatenatedMatrix(this._props.matrix).invert().transformPoint(x,y, pt||new createjs.Point());
+ 	};
+ 
+@@ -922,12 +914,12 @@
+ 	 * @method localToLocal
+ 	 * @param {Number} x The x position in the source display object to transform.
+ 	 * @param {Number} y The y position on the source display object to transform.
+-	 * @param {DisplayObject} target The target display object to which the coordinates will be transformed.
+-	 * @param {Point | Object} [pt] An object to copy the result into. If omitted a new Point object with x/y properties will be returned. 
+-	 * @return {Point} Returns a Point instance with x and y properties correlating to the transformed position
++	 * @param {createjs.DisplayObject} target The target display object to which the coordinates will be transformed.
++	 * @param {createjs.Point | Object} [pt] An object to copy the result into. If omitted a new Point object with x/y properties will be returned. 
++	 * @return {createjs.Point} Returns a Point instance with x and y properties correlating to the transformed position
+ 	 * in the target's coordinate space.
+ 	 **/
+-	p.localToLocal = function(x, y, target, pt) {
++ createjs.DisplayObject.prototype.localToLocal = function(x, y, target, pt) {
+ 		pt = this.localToGlobal(x, y, pt);
+ 		return target.globalToLocal(pt.x, pt.y, pt);
+ 	};
+@@ -950,10 +942,10 @@
+ 	 * @param {Number} [skewY=0] The vertical skew factor
+ 	 * @param {Number} [regX=0] The horizontal registration point in pixels
+ 	 * @param {Number} [regY=0] The vertical registration point in pixels
+-	 * @return {DisplayObject} Returns this instance. Useful for chaining commands.
++	 * @return {createjs.DisplayObject} Returns this instance. Useful for chaining commands.
+ 	 * @chainable
+ 	*/
+-	p.setTransform = function(x, y, scaleX, scaleY, rotation, skewX, skewY, regX, regY) {
++ createjs.DisplayObject.prototype.setTransform = function(x, y, scaleX, scaleY, rotation, skewX, skewY, regX, regY) {
+ 		this.x = x || 0;
+ 		this.y = y || 0;
+ 		this.scaleX = scaleX == null ? 1 : scaleX;
+@@ -969,11 +961,11 @@
+ 	/**
+ 	 * Returns a matrix based on this object's current transform.
+ 	 * @method getMatrix
+-	 * @param {Matrix2D} matrix Optional. A Matrix2D object to populate with the calculated values. If null, a new
++	 * @param {createjs.Matrix2D} matrix Optional. A Matrix2D object to populate with the calculated values. If null, a new
+ 	 * Matrix object is returned.
+-	 * @return {Matrix2D} A matrix representing this display object's transform.
++	 * @return {createjs.Matrix2D} A matrix representing this display object's transform.
+ 	 **/
+-	p.getMatrix = function(matrix) {
++ createjs.DisplayObject.prototype.getMatrix = function(matrix) {
+ 		var o = this, mtx = matrix&&matrix.identity() || new createjs.Matrix2D();
+ 		return o.transformMatrix ?  mtx.copy(o.transformMatrix) : mtx.appendTransform(o.x, o.y, o.scaleX, o.scaleY, o.rotation, o.skewX, o.skewY, o.regX, o.regY);
+ 	};
+@@ -984,11 +976,11 @@
+ 	 * be used to transform positions between coordinate spaces, such as with {{#crossLink "DisplayObject/localToGlobal"}}{{/crossLink}}
+ 	 * and {{#crossLink "DisplayObject/globalToLocal"}}{{/crossLink}}.
+ 	 * @method getConcatenatedMatrix
+-	 * @param {Matrix2D} [matrix] A {{#crossLink "Matrix2D"}}{{/crossLink}} object to populate with the calculated values.
++	 * @param {createjs.Matrix2D} [matrix] A {{#crossLink "Matrix2D"}}{{/crossLink}} object to populate with the calculated values.
+ 	 * If null, a new Matrix2D object is returned.
+-	 * @return {Matrix2D} The combined matrix.
++	 * @return {createjs.Matrix2D} The combined matrix.
+ 	 **/
+-	p.getConcatenatedMatrix = function(matrix) {
++ createjs.DisplayObject.prototype.getConcatenatedMatrix = function(matrix) {
+ 		var o = this, mtx = this.getMatrix(matrix);
+ 		while (o = o.parent) {
+ 			mtx.prependMatrix(o.getMatrix(o._props.matrix));
+@@ -1000,11 +992,11 @@
+ 	 * Generates a DisplayProps object representing the combined display properties of the  object and all of its
+ 	 * parent Containers up to the highest level ancestor (usually the {{#crossLink "Stage"}}{{/crossLink}}).
+ 	 * @method getConcatenatedDisplayProps
+-	 * @param {DisplayProps} [props] A {{#crossLink "DisplayProps"}}{{/crossLink}} object to populate with the calculated values.
++	 * @param {createjs.DisplayProps} [props] A {{#crossLink "DisplayProps"}}{{/crossLink}} object to populate with the calculated values.
+ 	 * If null, a new DisplayProps object is returned.
+-	 * @return {DisplayProps} The combined display properties.
++	 * @return {createjs.DisplayProps} The combined display properties.
+ 	 **/
+-	p.getConcatenatedDisplayProps = function(props) {
++ createjs.DisplayObject.prototype.getConcatenatedDisplayProps = function(props) {
+ 		props = props ? props.identity() : new createjs.DisplayProps();
+ 		var o = this, mtx = o.getMatrix(props.matrix); 
+ 		do {
+@@ -1035,8 +1027,8 @@
+ 	 * @return {Boolean} A Boolean indicating whether a visible portion of the DisplayObject intersect the specified
+ 	 * local Point.
+ 	*/
+-	p.hitTest = function(x, y) {
+-		var ctx = DisplayObject._hitTestContext;
++ createjs.DisplayObject.prototype.hitTest = function(x, y) {
++		var ctx = createjs.DisplayObject._hitTestContext;
+ 		ctx.setTransform(1, 0, 0, 1, -x, -y);
+ 		this.draw(ctx);
+ 
+@@ -1056,10 +1048,10 @@
+ 	 *
+ 	 * @method set
+ 	 * @param {Object} props A generic object containing properties to copy to the DisplayObject instance.
+-	 * @return {DisplayObject} Returns the instance the method is called on (useful for chaining calls.)
++	 * @return {createjs.DisplayObject} Returns the instance the method is called on (useful for chaining calls.)
+ 	 * @chainable
+ 	*/
+-	p.set = function(props) {
++ createjs.DisplayObject.prototype.set = function(props) {
+ 		for (var n in props) { this[n] = props[n]; }
+ 		return this;
+ 	};
+@@ -1117,10 +1109,10 @@
+ 	 * 	myRect.copy(obj.getBounds());
+ 	 * 
+ 	 * @method getBounds
+-	 * @return {Rectangle} A Rectangle instance representing the bounds, or null if bounds are not available for this
++	 * @return {createjs.Rectangle} A Rectangle instance representing the bounds, or null if bounds are not available for this
+ 	 * object.
+ 	 **/
+-	p.getBounds = function() {
++ createjs.DisplayObject.prototype.getBounds = function() {
+ 		if (this._bounds) { return this._rectangle.copy(this._bounds); }
+ 		var cacheCanvas = this.cacheCanvas;
+ 		if (cacheCanvas) {
+@@ -1143,9 +1135,9 @@
+ 	 * 
+ 	 * Container instances calculate aggregate bounds for all children that return bounds via getBounds.
+ 	 * @method getTransformedBounds
+-	 * @return {Rectangle} A Rectangle instance representing the bounds, or null if bounds are not available for this object.
++	 * @return {createjs.Rectangle} A Rectangle instance representing the bounds, or null if bounds are not available for this object.
+ 	 **/
+-	p.getTransformedBounds = function() {
++ createjs.DisplayObject.prototype.getTransformedBounds = function() {
+ 		return this._getBounds();
+ 	};
+ 	
+@@ -1162,19 +1154,19 @@
+ 	 * @param {Number} width The width of the bounds.
+ 	 * @param {Number} height The height of the bounds.
+ 	 **/
+-	p.setBounds = function(x, y, width, height) {
++ createjs.DisplayObject.prototype.setBounds = function(x, y, width, height) {
+ 		if (x == null) { this._bounds = x; }
+ 		this._bounds = (this._bounds || new createjs.Rectangle()).setValues(x, y, width, height);
+ 	};
+ 
+ 	/**
+-	 * Returns a clone of this DisplayObject. Some properties that are specific to this instance's current context are
++	 * Returns a clone of this createjs.DisplayObject. Some properties that are specific to this instance's current context are
+ 	 * reverted to their defaults (for example .parent). Caches are not maintained across clones, and some elements
+ 	 * are copied by reference (masks, individual filter instances, hit area)
+ 	 * @method clone
+-	 * @return {DisplayObject} A clone of the current DisplayObject instance.
++	 * @return {createjs.DisplayObject} A clone of the current DisplayObject instance.
+ 	 **/
+-	p.clone = function() {
++ createjs.DisplayObject.prototype.clone = function() {
+ 		return this._cloneProps(new DisplayObject());
+ 	};
+ 
+@@ -1183,7 +1175,7 @@
+ 	 * @method toString
+ 	 * @return {String} a string representation of the instance.
+ 	 **/
+-	p.toString = function() {
++ createjs.DisplayObject.prototype.toString = function() {
+ 		return "[DisplayObject (name="+  this.name +")]";
+ 	};
+ 
+@@ -1192,12 +1184,12 @@
+ 	// separated so it can be used more easily in subclasses:
+ 	/**
+ 	 * @method _cloneProps
+-	 * @param {DisplayObject} o The DisplayObject instance which will have properties from the current DisplayObject
++	 * @param {createjs.DisplayObject} o The DisplayObject instance which will have properties from the current DisplayObject
+ 	 * instance copied into.
+-	 * @return {DisplayObject} o
++	 * @return {createjs.DisplayObject} o
+ 	 * @protected
+ 	 **/
+-	p._cloneProps = function(o) {
++ createjs.DisplayObject.prototype._cloneProps = function(o) {
+ 		o.alpha = this.alpha;
+ 		o.mouseEnabled = this.mouseEnabled;
+ 		o.tickEnabled = this.tickEnabled;
+@@ -1227,9 +1219,9 @@
+ 	 * @method _applyShadow
+ 	 * @protected
+ 	 * @param {CanvasRenderingContext2D} ctx
+-	 * @param {Shadow} shadow
++	 * @param {createjs.Shadow} shadow
+ 	 **/
+-	p._applyShadow = function(ctx, shadow) {
++ createjs.DisplayObject.prototype._applyShadow = function(ctx, shadow) {
+ 		shadow = shadow || Shadow.identity;
+ 		ctx.shadowColor = shadow.color;
+ 		ctx.shadowOffsetX = shadow.offsetX;
+@@ -1243,7 +1235,7 @@
+ 	 * @param {Object} evtObj An event object that will be dispatched to all tick listeners. This object is reused between dispatchers to reduce construction & GC costs.
+ 	 * @protected
+ 	 **/
+-	p._tick = function(evtObj) {
++ createjs.DisplayObject.prototype._tick = function(evtObj) {
+ 		// because tick can be really performance sensitive, check for listeners before calling dispatchEvent.
+ 		var ls = this._listeners;
+ 		if (ls && ls["tick"]) {
+@@ -1260,11 +1252,11 @@
+ 	 * @param {CanvasRenderingContext2D} ctx
+ 	 * @return {Boolean}
+ 	 **/
+-	p._testHit = function(ctx) {
++ createjs.DisplayObject.prototype._testHit = function(ctx) {
+ 		try {
+ 			var hit = ctx.getImageData(0, 0, 1, 1).data[3] > 1;
+ 		} catch (e) {
+-			if (!DisplayObject.suppressCrossDomainErrors) {
++			if (!createjs.DisplayObject.suppressCrossDomainErrors) {
+ 				throw "An error has occurred. This is most likely due to security restrictions on reading canvas pixel data with local or cross-domain images.";
+ 			}
+ 		}
+@@ -1275,7 +1267,7 @@
+ 	 * @method _applyFilters
+ 	 * @protected
+ 	 **/
+-	p._applyFilters = function() {
++ createjs.DisplayObject.prototype._applyFilters = function() {
+ 		if (!this.filters || this.filters.length == 0 || !this.cacheCanvas) { return; }
+ 		var l = this.filters.length;
+ 		var ctx = this.cacheCanvas.getContext("2d");
+@@ -1288,10 +1280,10 @@
+ 	
+ 	/**
+ 	 * @method _getFilterBounds
+-	 * @return {Rectangle}
++	 * @return {createjs.Rectangle}
+ 	 * @protected
+ 	 **/
+-	p._getFilterBounds = function(rect) {
++ createjs.DisplayObject.prototype._getFilterBounds = function(rect) {
+ 		var l, filters = this.filters, bounds = this._rectangle.setValues(0,0,0,0);
+ 		if (!filters || !(l=filters.length)) { return bounds; }
+ 		
+@@ -1304,24 +1296,24 @@
+ 	
+ 	/**
+ 	 * @method _getBounds
+-	 * @param {Matrix2D} matrix
++	 * @param {createjs.Matrix2D} matrix
+ 	 * @param {Boolean} ignoreTransform If true, does not apply this object's transform.
+-	 * @return {Rectangle}
++	 * @return {createjs.Rectangle}
+ 	 * @protected
+ 	 **/
+-	p._getBounds = function(matrix, ignoreTransform){
++ createjs.DisplayObject.prototype._getBounds = function(matrix, ignoreTransform){
+ 		return this._transformBounds(this.getBounds(), matrix, ignoreTransform);
+ 	};
+ 	
+ 	/**
+ 	 * @method _transformBounds
+-	 * @param {Rectangle} bounds
+-	 * @param {Matrix2D} matrix
++	 * @param {createjs.Rectangle} bounds
++	 * @param {createjs.Matrix2D} matrix
+ 	 * @param {Boolean} ignoreTransform
+-	 * @return {Rectangle}
++	 * @return {createjs.Rectangle}
+ 	 * @protected
+ 	 **/

<TRUNCATED>