closure compiler externs for pixijs
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
README.md
pixi-3.0.8-externs.js

README.md

Closure Compiler Externs for PIXI version 3.0.8

TODO:

  • few type warnings to sort out ( problems related to externs file ):

  • source code inconsistencies ( problems related probably to the source code, issue reported here: Issue#2304):

    • src/externs/pixi-3.0.8-externs.js:2745: WARNING - mismatch of the generateTexture property type and the type of the property it overrides from superclass PIXI.DisplayObject original: function (this:PIXI.DisplayObject, (PIXI.CanvasRenderer|PIXI.WebGLRenderer|null), number, number=): (PIXI.Texture|null) override: function (this:PIXI.Container, (PIXI.CanvasRenderer|PIXI.WebGLRenderer|null), number, number): (PIXI.Texture|null) PIXI.Container.prototype.generateTexture = function (renderer, resolution, scaleMode) {}; ^

    • src/externs/pixi-3.0.8-externs.js:3360: WARNING - mismatch of the generateTexture property type and the type of the property it overrides from superclass PIXI.DisplayObject original: function (this:PIXI.Container, (PIXI.CanvasRenderer|PIXI.WebGLRenderer|null), number, number): (PIXI.Texture|null) override: function (this:PIXI.Graphics, number, number, number=): (PIXI.Texture|null) PIXI.Graphics.prototype.generateTexture = function (resolution, scaleMode) {}; ^