Merge pull request #18 from Nibbler999/spritesheet-mime
Add mime type override to json request
This commit is contained in:
commit
74b26670ab
1 changed files with 1 additions and 0 deletions
|
@ -46,6 +46,7 @@ PIXI.SpriteSheetLoader.prototype.load = function()
|
|||
}
|
||||
|
||||
this.ajaxRequest.open("GET", this.url, true)
|
||||
if (this.ajaxRequest.overrideMimeType) this.ajaxRequest.overrideMimeType("application/json");
|
||||
this.ajaxRequest.send(null)
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue