Skip to content

Commit d119ffa

Browse files
committed
Removed PIXI.DisplayObject.prototype._renderWebGL and PIXI.DisplayObject.prototype._renderCanvas as both were only there for ancient jshint tests.
1 parent bd30181 commit d119ffa

2 files changed

Lines changed: 1 addition & 29 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -328,7 +328,7 @@ You can read all about the philosophy behind Lazer [here](http://phaser.io/news/
328328
* TypeScript definitions fixes and updates (thanks)
329329
* Docs typo fixes (thanks @drhayes @)
330330
* The TilemapParser will now add more data when importing Image object types from Tiled. The extra data available is: image width, image height, and flags to see if the image is flipped either horizontally, vertically or diagonally (thanks @gotenxds #2564 #2554)
331-
*
331+
* Removed `PIXI.DisplayObject.prototype._renderWebGL` and `PIXI.DisplayObject.prototype._renderCanvas` as both were only there for ancient jshint tests.
332332
*
333333

334334
### Bug Fixes

src/pixi/display/DisplayObject.js

Lines changed: 0 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -691,34 +691,6 @@ PIXI.DisplayObject.prototype._destroyCachedSprite = function()
691691
this._cachedSprite = null;
692692
};
693693

694-
/**
695-
* Renders the object using the WebGL renderer
696-
*
697-
* @method _renderWebGL
698-
* @param renderSession {RenderSession}
699-
* @private
700-
*/
701-
PIXI.DisplayObject.prototype._renderWebGL = function(renderSession)
702-
{
703-
// OVERWRITE;
704-
// this line is just here to pass jshinting :)
705-
renderSession = renderSession;
706-
};
707-
708-
/**
709-
* Renders the object using the Canvas renderer
710-
*
711-
* @method _renderCanvas
712-
* @param renderSession {RenderSession}
713-
* @private
714-
*/
715-
PIXI.DisplayObject.prototype._renderCanvas = function(renderSession)
716-
{
717-
// OVERWRITE;
718-
// this line is just here to pass jshinting :)
719-
renderSession = renderSession;
720-
};
721-
722694
/**
723695
* The position of the displayObject on the x axis relative to the local coordinates of the parent.
724696
*

0 commit comments

Comments
 (0)