diff --git a/bin/pixi.dev.js b/bin/pixi.dev.js index 7ead350..c1cf45b 100644 --- a/bin/pixi.dev.js +++ b/bin/pixi.dev.js @@ -1,22 +1,22 @@ -/** - * @license - * pixi.js - v2.2.7 - * Copyright (c) 2012-2014, Mat Groves - * http://goodboydigital.com/ - * - * Compiled: 2015-02-25 - * - * pixi.js is licensed under the MIT License. - * http://www.opensource.org/licenses/mit-license.php - */ -/** - * @author Mat Groves http://matgroves.com/ @Doormat23 - */ - -(function(){ - - var root = this; - +/** + * @license + * pixi.js - v2.2.7 + * Copyright (c) 2012-2014, Mat Groves + * http://goodboydigital.com/ + * + * Compiled: 2015-02-25 + * + * pixi.js is licensed under the MIT License. + * http://www.opensource.org/licenses/mit-license.php + */ +/** + * @author Mat Groves http://matgroves.com/ @Doormat23 + */ + +(function(){ + + var root = this; + /** * @author Mat Groves http://matgroves.com/ @Doormat23 */ @@ -230,7 +230,7 @@ PIXI.dontSayHello = true; }; - + /** * @author Mat Groves http://matgroves.com/ @Doormat23 */ @@ -286,7 +286,7 @@ }; // constructor -PIXI.Point.prototype.constructor = PIXI.Point; +PIXI.Point.prototype.constructor = PIXI.Point; /** * @author Mat Groves http://matgroves.com/ */ @@ -380,7 +380,7 @@ // constructor PIXI.Rectangle.prototype.constructor = PIXI.Rectangle; -PIXI.EmptyRectangle = new PIXI.Rectangle(0,0,0,0); +PIXI.EmptyRectangle = new PIXI.Rectangle(0,0,0,0); /** * @author Adrien Brault */ @@ -471,7 +471,7 @@ // constructor PIXI.Polygon.prototype.constructor = PIXI.Polygon; - + /** * @author Chad Engler */ @@ -563,7 +563,7 @@ // constructor PIXI.Circle.prototype.constructor = PIXI.Circle; - + /** * @author Chad Engler */ @@ -664,7 +664,7 @@ // constructor PIXI.Ellipse.prototype.constructor = PIXI.Ellipse; - + /** * @author Mat Groves http://matgroves.com/ */ @@ -766,7 +766,7 @@ // constructor PIXI.RoundedRectangle.prototype.constructor = PIXI.RoundedRectangle; - + /** * @author Mat Groves http://matgroves.com/ @Doormat23 */ @@ -1035,7 +1035,7 @@ }; PIXI.identityMatrix = new PIXI.Matrix(); - + /** * @author Mat Groves http://matgroves.com/ @Doormat23 */ @@ -1801,7 +1801,7 @@ this.position.y = value; } }); - + /** * @author Mat Groves http://matgroves.com/ @Doormat23 */ @@ -2317,7 +2317,7 @@ renderSession.maskManager.popMask(renderSession); } }; - + /** * @author Mat Groves http://matgroves.com/ @Doormat23 */ @@ -2789,7 +2789,7 @@ var texture = PIXI.Texture.fromImage(imageId, crossorigin, scaleMode); return new PIXI.Sprite(texture); }; - + /** * @author Mat Groves http://matgroves.com/ */ @@ -2969,7 +2969,7 @@ // context.restore(); }; - + /** * @author Mat Groves http://matgroves.com/ @Doormat23 */ @@ -3177,7 +3177,7 @@ return new PIXI.MovieClip(textures); }; - + /** * @author Mat Groves http://matgroves.com/ @Doormat23 */ @@ -3208,7 +3208,7 @@ }; PIXI.FilterBlock.prototype.constructor = PIXI.FilterBlock; - + /** * @author Mat Groves http://matgroves.com/ @Doormat23 * Modified by Tom Slezakowski http://www.tomslezakowski.com @TomSlezakowski (24/03/2014) - Added dropShadowColor. @@ -3742,7 +3742,7 @@ PIXI.Text.fontPropertiesCache = {}; PIXI.Text.fontPropertiesCanvas = document.createElement('canvas'); PIXI.Text.fontPropertiesContext = PIXI.Text.fontPropertiesCanvas.getContext('2d'); - + /** * @author Mat Groves http://matgroves.com/ @Doormat23 */ @@ -3958,7 +3958,7 @@ }; PIXI.BitmapText.fonts = {}; - + /** * @author Mat Groves http://matgroves.com/ @Doormat23 */ @@ -4025,7 +4025,7 @@ // constructor PIXI.InteractionData.prototype.constructor = PIXI.InteractionData; - + /** * @author Mat Groves http://matgroves.com/ @Doormat23 */ @@ -4970,7 +4970,7 @@ this.touches[touchEvent.identifier] = null; } }; - + /** * @author Mat Groves http://matgroves.com/ @Doormat23 */ @@ -5106,7 +5106,7 @@ { return this.interactionManager.mouse.global; }; - + /** * @author Mat Groves http://matgroves.com/ @Doormat23 */ @@ -5327,7 +5327,7 @@ return (width > 0 && (width & (width - 1)) === 0 && height > 0 && (height & (height - 1)) === 0); }; - + /** * @author Mat Groves http://matgroves.com/ @Doormat23 * @author Chad Engler https://github.com/englercj @Rolnaaba @@ -5612,7 +5612,7 @@ PIXI.Event.prototype.stopImmediatePropagation = function stopImmediatePropagation() { this.stoppedImmediate = true; }; - + /** * @author Mat Groves http://matgroves.com/ @Doormat23 */ @@ -5701,7 +5701,7 @@ return new PIXI.CanvasRenderer(width, height, options); }; - + /* PolyK library url: http://polyk.ivank.net @@ -5870,7 +5870,7 @@ { return ((ay-by)*(cx-bx) + (bx-ax)*(cy-by) >= 0) === sign; }; - + /** * @author Mat Groves http://matgroves.com/ @Doormat23 */ @@ -5959,7 +5959,7 @@ return shaderProgram; }; - + /** * @author Mat Groves http://matgroves.com/ @Doormat23 * @author Richard Davey http://www.photonstorm.com @photonstorm @@ -6348,7 +6348,7 @@ ' vTextureCoord = aTextureCoord;', ' vColor = vec4(aColor.rgb * aColor.a, aColor.a);', '}' -]; +]; /** * @author Mat Groves http://matgroves.com/ @Doormat23 */ @@ -6504,7 +6504,7 @@ this.attributes = null; }; - + /** * @author Mat Groves http://matgroves.com/ @Doormat23 */ @@ -6628,7 +6628,7 @@ this.attribute = null; }; - + /** * @author Mat Groves http://matgroves.com/ @Doormat23 */ @@ -6746,7 +6746,7 @@ this.attributes = null; }; - + /** * @author Mat Groves http://matgroves.com/ @Doormat23 */ @@ -6869,7 +6869,7 @@ this.attribute = null; }; - + /** * @author Mat Groves http://matgroves.com/ @Doormat23 */ @@ -7766,7 +7766,7 @@ this.dirty = false; }; - + /** * @author Mat Groves http://matgroves.com/ @Doormat23 */ @@ -8321,7 +8321,7 @@ }; PIXI.WebGLRenderer.glContextId = 0; - + /** * @author Mat Groves http://matgroves.com/ @Doormat23 */ @@ -8380,7 +8380,7 @@ { this.gl = null; }; - + /** * @author Mat Groves http://matgroves.com/ @Doormat23 */ @@ -8450,7 +8450,7 @@ { this.gl = null; }; - + /** * @author Mat Groves http://matgroves.com/ @Doormat23 */ @@ -8748,7 +8748,7 @@ this.stencilStack = null; this.gl = null; }; - + /** * @author Mat Groves http://matgroves.com/ @Doormat23 */ @@ -8906,7 +8906,7 @@ this.gl = null; }; - + /** * @author Mat Groves * @@ -9541,7 +9541,7 @@ this.currentBaseTexture = null; this.gl = null; -}; +}; /** * @author Mat Groves * @@ -9970,7 +9970,7 @@ gl.vertexAttribPointer(this.shader.colorAttribute, 1, gl.FLOAT, false, stride, 9 * 4); }; - + /** * @author Mat Groves http://matgroves.com/ @Doormat23 */ @@ -10421,7 +10421,7 @@ gl.deleteBuffer(this.colorBuffer); gl.deleteBuffer(this.indexBuffer); }; - + /** * @author Mat Groves http://matgroves.com/ @Doormat23 */ @@ -10532,7 +10532,7 @@ this.frameBuffer = null; this.texture = null; }; - + /** * @author Mat Groves http://matgroves.com/ @Doormat23 */ @@ -10609,7 +10609,7 @@ this.width = this.canvas.width = width; this.height = this.canvas.height = height; }; - + /** * @author Mat Groves http://matgroves.com/ @Doormat23 */ @@ -10668,7 +10668,7 @@ { renderSession.context.restore(); }; - + /** * @author Mat Groves http://matgroves.com/ @Doormat23 */ @@ -10911,7 +10911,7 @@ * @static */ PIXI.CanvasTinter.tintMethod = PIXI.CanvasTinter.canUseMultiply ? PIXI.CanvasTinter.tintWithMultiply : PIXI.CanvasTinter.tintWithPerPixel; - + /** * @author Mat Groves http://matgroves.com/ @Doormat23 */ @@ -11257,7 +11257,7 @@ } } }; - + /** * @author Mat Groves http://matgroves.com/ @Doormat23 */ @@ -11616,7 +11616,7 @@ } }; - + /** * @author Mat Groves http://matgroves.com/ @Doormat23 */ @@ -12757,7 +12757,7 @@ PIXI.Ellipse.prototype.type = PIXI.Graphics.ELIP; PIXI.RoundedRectangle.prototype.type = PIXI.Graphics.RREC; - + /** * @author Mat Groves http://matgroves.com/ */ @@ -13227,7 +13227,7 @@ TRIANGLE_STRIP: 0, TRIANGLES: 1 }; - + /** * @author Mat Groves http://matgroves.com/ @Doormat23 * @copyright Mat Groves, Rovanion Luckey @@ -13402,7 +13402,7 @@ this.texture = texture; //this.updateFrame = true; }; - + /** * @author Mat Groves http://matgroves.com/ */ @@ -13888,7 +13888,7 @@ this.tilingTexture.destroy(true); this.tilingTexture = null; }; - + /****************************************************************************** * Spine Runtimes Software License * Version 2.1 @@ -16515,7 +16515,7 @@ return this.maxY - this.minY; } }; - + /* Esoteric Software SPINE wrapper for pixi.js */ spine.Bone.yDown = true; @@ -16826,7 +16826,7 @@ return strip; }; - + /** * @author Mat Groves http://matgroves.com/ @Doormat23 */ @@ -17132,7 +17132,7 @@ return baseTexture; }; - + /** * @author Mat Groves http://matgroves.com/ @Doormat23 */ @@ -17462,7 +17462,7 @@ PIXI.Texture.emptyTexture = new PIXI.Texture(new PIXI.BaseTexture()); - + /** * @author Mat Groves http://matgroves.com/ @Doormat23 */ @@ -17802,7 +17802,7 @@ }; PIXI.RenderTexture.tempMatrix = new PIXI.Matrix(); - + /** * A texture of a [playing] Video. * @@ -17971,7 +17971,7 @@ video.play(); return PIXI.VideoTexture.textureFromVideo( video, scaleMode); }; - + /** * @author Mat Groves http://matgroves.com/ @Doormat23 */ @@ -18139,7 +18139,7 @@ if(this.onComplete) this.onComplete(); } }; - + /** * @author Mat Groves http://matgroves.com/ @Doormat23 */ @@ -18392,7 +18392,7 @@ content: this }); }; - + /** * @author Martin Kelm http://mkelm.github.com */ @@ -18583,7 +18583,7 @@ PIXI.AtlasLoader.prototype.onError = function () { this.emit('error', { content: this }); }; - + /** * @author Mat Groves http://matgroves.com/ @Doormat23 */ @@ -18678,7 +18678,7 @@ content: this }); }; - + /** * @author Mat Groves http://matgroves.com/ @Doormat23 */ @@ -18781,7 +18781,7 @@ this.load(); }; - + /** * @author Mat Groves http://matgroves.com/ @Doormat23 */ @@ -18943,7 +18943,7 @@ { this.emit('loaded', { content: this }); }; - + /** * @author Mat Groves http://matgroves.com/ @Doormat23 * based on pixi impact spine implementation made by Eemeli Kelokorpi (@ekelokorpi) https://github.com/ekelokorpi @@ -19025,7 +19025,7 @@ this.loaded = true; this.emit('loaded', { content: this }); }; - + /** * @author Mat Groves http://matgroves.com/ @Doormat23 */ @@ -19103,7 +19103,7 @@ { // TODO :) }; -*/ +*/ /** * @author Mat Groves http://matgroves.com/ @Doormat23 */ @@ -19201,7 +19201,7 @@ this.uniforms.mask.value = value; } }); - + /** * @author Mat Groves http://matgroves.com/ @Doormat23 */ @@ -19261,7 +19261,7 @@ set: function(value) { this.uniforms.matrix.value = value; } -}); +}); /** * @author Mat Groves http://matgroves.com/ @Doormat23 */ @@ -19315,7 +19315,7 @@ this.uniforms.gray.value = value; } }); - + /** * @author Mat Groves http://matgroves.com/ @Doormat23 */ @@ -19450,7 +19450,7 @@ this.uniforms.offset.value = value; } }); - + /** * @author Mat Groves http://matgroves.com/ @Doormat23 */ @@ -19513,7 +19513,7 @@ this.uniforms.pixelSize.value = value; } }); - + /** * @author Mat Groves http://matgroves.com/ @Doormat23 */ @@ -19581,7 +19581,7 @@ this.uniforms.blur.value = (1/7000) * value; } }); - + /** * @author Mat Groves http://matgroves.com/ @Doormat23 */ @@ -19648,7 +19648,7 @@ this.uniforms.blur.value = (1/7000) * value; } }); - + /** * @author Mat Groves http://matgroves.com/ @Doormat23 */ @@ -19719,7 +19719,7 @@ this.blurYFilter.blur = value; } }); - + /** * @author Mat Groves http://matgroves.com/ @Doormat23 */ @@ -19774,7 +19774,7 @@ this.uniforms.invert.value = value; } }); - + /** * @author Mat Groves http://matgroves.com/ @Doormat23 */ @@ -19830,7 +19830,7 @@ this.uniforms.sepia.value = value; } }); - + /** * @author Mat Groves http://matgroves.com/ @Doormat23 */ @@ -19933,7 +19933,7 @@ this.uniforms.angle.value = value; } }); - + /** * @author Mat Groves http://matgroves.com/ @Doormat23 */ @@ -19988,7 +19988,7 @@ this.uniforms.step.value = value; } }); - + /** * @author Mat Groves http://matgroves.com/ @Doormat23 * original filter: https://github.com/evanw/glfx.js/blob/master/src/filters/fun/dotscreen.js @@ -20074,7 +20074,7 @@ this.uniforms.angle.value = value; } }); - + /** * @author Mat Groves http://matgroves.com/ @Doormat23 */ @@ -20155,7 +20155,7 @@ this.uniforms.blur.value = (1/7000) * value; } }); - + /** * @author Mat Groves http://matgroves.com/ @Doormat23 */ @@ -20247,7 +20247,7 @@ this.uniforms.blue.value = value; } }); - + /** * @author Mat Groves http://matgroves.com/ @Doormat23 */