Permalink
Browse files

Fixed SpriteSheetLoader to work with JSONP (thanks @jonlucas)

  • Loading branch information...
lannymcnie committed Jul 2, 2015
1 parent ecc2c3b commit 8ed5dd2657e0d780183274376072b774dac73972
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/preloadjs/loaders/SpriteSheetLoader.js
@@ -99,7 +99,7 @@ this.createjs = this.createjs || {};
// protected methods
p._createRequest = function() {
var callback = this._item.callback;
if (callback != null && callback instanceof Function) {
if (callback != null) {
this._request = new createjs.JSONPLoader(this._item);
} else {
this._request = new createjs.JSONLoader(this._item);

0 comments on commit 8ed5dd2

Please sign in to comment.