Skip to content

Commit

Permalink
Merge pull request #1 from blake-education/apharo/commonjs
Browse files Browse the repository at this point in the history
apharo/commonjs
  • Loading branch information
asppsa authored Aug 6, 2024
2 parents 9e7cc87 + 470b4fe commit 8c9a022
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 57 deletions.
14 changes: 11 additions & 3 deletions dist/createjs.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,7 @@
* OTHER DEALINGS IN THE SOFTWARE.
*/

this.createjs = this.createjs||{};

var createjs = {};

//##############################################################################
// extend.js
Expand Down Expand Up @@ -19072,7 +19071,7 @@ createjs.deprecate = function(fallbackMethod, name) {
* @protected
*/
p._isCanceled = function () {
if (window.createjs == null || this.canceled) {
if (createjs == null || this.canceled) {
return true;
}
return false;
Expand Down Expand Up @@ -30708,3 +30707,12 @@ createjs.deprecate = function(fallbackMethod, name) {
s.buildDate = /*=date*/"Thu, 14 Sep 2017 22:19:45 GMT"; // injected by build process

})();

Object.defineProperty(createjs, 'BitmapAnimation', {
get: function () {
console.warn('createjs.BitmapAnimation is deprecated. Use Sprite instead')
return this.Sprite
}
})

if(typeof module !== "undefined" && typeof module.exports !== "undefined") module.exports = createjs;
Loading

0 comments on commit 8c9a022

Please sign in to comment.