Open
Description
p._isCanceled = function () {
if (window.createjs == null || this.canceled) {
return true;
}
return false;
};
In a CommonJS build environment, createjs isn't guaranteed to be bound to window. As far as I can tell, in the combined build, this code is the only spot where a dependency on window.createjs exists. If window.createjs == null ||
is removed, everything functions as expected.
I'm a little unsure what that piece of code is intending to accomplish in the first place, but I trust it has a reason to be there. I'm wondering if there's another way to accomplish the same thing though. Again, this appears to be the only place in all of the combined createjs code where createjs itself expects window.createjs to exist.