We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ecc2c3b commit 8ed5dd2Copy full SHA for 8ed5dd2
1 file changed
src/preloadjs/loaders/SpriteSheetLoader.js
@@ -99,7 +99,7 @@ this.createjs = this.createjs || {};
99
// protected methods
100
p._createRequest = function() {
101
var callback = this._item.callback;
102
- if (callback != null && callback instanceof Function) {
+ if (callback != null) {
103
this._request = new createjs.JSONPLoader(this._item);
104
} else {
105
this._request = new createjs.JSONLoader(this._item);
0 commit comments