diff --git a/src/core/textures/BaseRenderTexture.js b/src/core/textures/BaseRenderTexture.js index d4dde12..97c5d83 100644 --- a/src/core/textures/BaseRenderTexture.js +++ b/src/core/textures/BaseRenderTexture.js @@ -73,7 +73,7 @@ this._glRenderTargets = {}; /** - * A reference to the canvas render target (we only need one as this can be shared accross renderers) + * A reference to the canvas render target (we only need one as this can be shared across renderers) * * @private * @member {object} diff --git a/src/core/textures/BaseRenderTexture.js b/src/core/textures/BaseRenderTexture.js index d4dde12..97c5d83 100644 --- a/src/core/textures/BaseRenderTexture.js +++ b/src/core/textures/BaseRenderTexture.js @@ -73,7 +73,7 @@ this._glRenderTargets = {}; /** - * A reference to the canvas render target (we only need one as this can be shared accross renderers) + * A reference to the canvas render target (we only need one as this can be shared across renderers) * * @private * @member {object} diff --git a/src/core/textures/BaseTexture.js b/src/core/textures/BaseTexture.js index ae9b845..05ae919 100644 --- a/src/core/textures/BaseTexture.js +++ b/src/core/textures/BaseTexture.js @@ -155,7 +155,7 @@ this.imageUrl = null; /** - * Wether or not the texture is a power of two, try to use power of two textures as much + * Whether or not the texture is a power of two, try to use power of two textures as much * as you can * * @private diff --git a/src/core/textures/BaseRenderTexture.js b/src/core/textures/BaseRenderTexture.js index d4dde12..97c5d83 100644 --- a/src/core/textures/BaseRenderTexture.js +++ b/src/core/textures/BaseRenderTexture.js @@ -73,7 +73,7 @@ this._glRenderTargets = {}; /** - * A reference to the canvas render target (we only need one as this can be shared accross renderers) + * A reference to the canvas render target (we only need one as this can be shared across renderers) * * @private * @member {object} diff --git a/src/core/textures/BaseTexture.js b/src/core/textures/BaseTexture.js index ae9b845..05ae919 100644 --- a/src/core/textures/BaseTexture.js +++ b/src/core/textures/BaseTexture.js @@ -155,7 +155,7 @@ this.imageUrl = null; /** - * Wether or not the texture is a power of two, try to use power of two textures as much + * Whether or not the texture is a power of two, try to use power of two textures as much * as you can * * @private diff --git a/src/core/textures/RenderTexture.js b/src/core/textures/RenderTexture.js index fad6a67..6734033 100644 --- a/src/core/textures/RenderTexture.js +++ b/src/core/textures/RenderTexture.js @@ -46,7 +46,7 @@ */ constructor(baseRenderTexture, frame) { - // suport for legacy.. + // support for legacy.. let _legacyRenderer = null; if (!(baseRenderTexture instanceof BaseRenderTexture)) diff --git a/src/core/textures/BaseRenderTexture.js b/src/core/textures/BaseRenderTexture.js index d4dde12..97c5d83 100644 --- a/src/core/textures/BaseRenderTexture.js +++ b/src/core/textures/BaseRenderTexture.js @@ -73,7 +73,7 @@ this._glRenderTargets = {}; /** - * A reference to the canvas render target (we only need one as this can be shared accross renderers) + * A reference to the canvas render target (we only need one as this can be shared across renderers) * * @private * @member {object} diff --git a/src/core/textures/BaseTexture.js b/src/core/textures/BaseTexture.js index ae9b845..05ae919 100644 --- a/src/core/textures/BaseTexture.js +++ b/src/core/textures/BaseTexture.js @@ -155,7 +155,7 @@ this.imageUrl = null; /** - * Wether or not the texture is a power of two, try to use power of two textures as much + * Whether or not the texture is a power of two, try to use power of two textures as much * as you can * * @private diff --git a/src/core/textures/RenderTexture.js b/src/core/textures/RenderTexture.js index fad6a67..6734033 100644 --- a/src/core/textures/RenderTexture.js +++ b/src/core/textures/RenderTexture.js @@ -46,7 +46,7 @@ */ constructor(baseRenderTexture, frame) { - // suport for legacy.. + // support for legacy.. let _legacyRenderer = null; if (!(baseRenderTexture instanceof BaseRenderTexture)) diff --git a/src/core/textures/Texture.js b/src/core/textures/Texture.js index 5231c57..0453902 100644 --- a/src/core/textures/Texture.js +++ b/src/core/textures/Texture.js @@ -177,7 +177,7 @@ { this._updateID++; - // TODO this code looks confusing.. boo to abusing getters and setterss! + // TODO this code looks confusing.. boo to abusing getters and setters! if (this.noFrame) { this.frame = new Rectangle(0, 0, baseTexture.width, baseTexture.height); @@ -219,7 +219,7 @@ if (destroyBase) { // delete the texture if it exists in the texture cache.. - // this only needs to be removed if the base texture is actually destoryed too.. + // this only needs to be removed if the base texture is actually destroyed too.. if (TextureCache[this.baseTexture.imageUrl]) { delete TextureCache[this.baseTexture.imageUrl]; @@ -362,7 +362,7 @@ /** * Helper function that creates a new Texture based on the source you provide. - * The soucre can be - frame id, image url, video url, canvae element, video element, base texture + * The source can be - frame id, image url, video url, canvas element, video element, base texture * * @static * @param {number|string|PIXI.BaseTexture|HTMLCanvasElement|HTMLVideoElement} source - Source to create texture from diff --git a/src/core/textures/BaseRenderTexture.js b/src/core/textures/BaseRenderTexture.js index d4dde12..97c5d83 100644 --- a/src/core/textures/BaseRenderTexture.js +++ b/src/core/textures/BaseRenderTexture.js @@ -73,7 +73,7 @@ this._glRenderTargets = {}; /** - * A reference to the canvas render target (we only need one as this can be shared accross renderers) + * A reference to the canvas render target (we only need one as this can be shared across renderers) * * @private * @member {object} diff --git a/src/core/textures/BaseTexture.js b/src/core/textures/BaseTexture.js index ae9b845..05ae919 100644 --- a/src/core/textures/BaseTexture.js +++ b/src/core/textures/BaseTexture.js @@ -155,7 +155,7 @@ this.imageUrl = null; /** - * Wether or not the texture is a power of two, try to use power of two textures as much + * Whether or not the texture is a power of two, try to use power of two textures as much * as you can * * @private diff --git a/src/core/textures/RenderTexture.js b/src/core/textures/RenderTexture.js index fad6a67..6734033 100644 --- a/src/core/textures/RenderTexture.js +++ b/src/core/textures/RenderTexture.js @@ -46,7 +46,7 @@ */ constructor(baseRenderTexture, frame) { - // suport for legacy.. + // support for legacy.. let _legacyRenderer = null; if (!(baseRenderTexture instanceof BaseRenderTexture)) diff --git a/src/core/textures/Texture.js b/src/core/textures/Texture.js index 5231c57..0453902 100644 --- a/src/core/textures/Texture.js +++ b/src/core/textures/Texture.js @@ -177,7 +177,7 @@ { this._updateID++; - // TODO this code looks confusing.. boo to abusing getters and setterss! + // TODO this code looks confusing.. boo to abusing getters and setters! if (this.noFrame) { this.frame = new Rectangle(0, 0, baseTexture.width, baseTexture.height); @@ -219,7 +219,7 @@ if (destroyBase) { // delete the texture if it exists in the texture cache.. - // this only needs to be removed if the base texture is actually destoryed too.. + // this only needs to be removed if the base texture is actually destroyed too.. if (TextureCache[this.baseTexture.imageUrl]) { delete TextureCache[this.baseTexture.imageUrl]; @@ -362,7 +362,7 @@ /** * Helper function that creates a new Texture based on the source you provide. - * The soucre can be - frame id, image url, video url, canvae element, video element, base texture + * The source can be - frame id, image url, video url, canvas element, video element, base texture * * @static * @param {number|string|PIXI.BaseTexture|HTMLCanvasElement|HTMLVideoElement} source - Source to create texture from diff --git a/src/core/textures/VideoBaseTexture.js b/src/core/textures/VideoBaseTexture.js index 2cbb95b..0696e10 100644 --- a/src/core/textures/VideoBaseTexture.js +++ b/src/core/textures/VideoBaseTexture.js @@ -117,7 +117,7 @@ */ _onPlayStart() { - // Just in case the video has not recieved its can play even yet.. + // Just in case the video has not received its can play even yet.. if (!this.hasLoaded) { this._onCanPlay();