@pixi/app
Advanced tools
Comparing version 5.3.8 to 5.3.9
/*! | ||
* @pixi/app - v5.3.8 | ||
* Compiled Sat, 20 Feb 2021 22:28:33 UTC | ||
* @pixi/app - v5.3.9 | ||
* Compiled Wed, 24 Mar 2021 19:54:16 UTC | ||
* | ||
@@ -264,2 +264,3 @@ * @pixi/app is licensed under the MIT License. | ||
ResizePlugin.destroy = function () { | ||
window.removeEventListener('resize', this.queueResize); | ||
this.cancelResize(); | ||
@@ -266,0 +267,0 @@ this.cancelResize = null; |
/*! | ||
* @pixi/app - v5.3.8 | ||
* Compiled Sat, 20 Feb 2021 22:28:33 UTC | ||
* @pixi/app - v5.3.9 | ||
* Compiled Wed, 24 Mar 2021 19:54:16 UTC | ||
* | ||
@@ -8,3 +8,3 @@ * @pixi/app is licensed under the MIT License. | ||
*/ | ||
this.PIXI=this.PIXI||{};var _pixi_app=function(e,i,n){"use strict";var t=function(){function e(t){var r=this;t=Object.assign({forceCanvas:!1},t),this.renderer=n.autoDetectRenderer(t),this.stage=new i.Container,e._plugins.forEach(function(e){e.init.call(r,t)})}return e.registerPlugin=function(i){e._plugins.push(i)},e.prototype.render=function(){this.renderer.render(this.stage)},Object.defineProperty(e.prototype,"view",{get:function(){return this.renderer.view},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"screen",{get:function(){return this.renderer.screen},enumerable:!1,configurable:!0}),e.prototype.destroy=function(i,n){var t=this,r=e._plugins.slice(0);r.reverse(),r.forEach(function(e){e.destroy.call(t)}),this.stage.destroy(n),this.stage=null,this.renderer.destroy(i),this.renderer=null},e}();t._plugins=[];var r=function(){function e(){}return e.init=function(e){var i=this;Object.defineProperty(this,"resizeTo",{set:function(e){window.removeEventListener("resize",this.queueResize),this._resizeTo=e,e&&(window.addEventListener("resize",this.queueResize),this.resize())},get:function(){return this._resizeTo}}),this.queueResize=function(){i._resizeTo&&(i.cancelResize(),i._resizeId=requestAnimationFrame(function(){return i.resize()}))},this.cancelResize=function(){i._resizeId&&(cancelAnimationFrame(i._resizeId),i._resizeId=null)},this.resize=function(){if(i._resizeTo){var e,n;if(i.cancelResize(),i._resizeTo===window)e=window.innerWidth,n=window.innerHeight;else{var t=i._resizeTo;e=t.clientWidth,n=t.clientHeight}i.renderer.resize(e,n)}},this._resizeId=null,this._resizeTo=null,this.resizeTo=e.resizeTo||null},e.destroy=function(){this.cancelResize(),this.cancelResize=null,this.queueResize=null,this.resizeTo=null,this.resize=null},e}();return t.registerPlugin(r),e.Application=t,e}({},PIXI,PIXI);Object.assign(this.PIXI,_pixi_app); | ||
this.PIXI=this.PIXI||{};var _pixi_app=function(e,i,n){"use strict";var t=function(){function e(t){var r=this;t=Object.assign({forceCanvas:!1},t),this.renderer=n.autoDetectRenderer(t),this.stage=new i.Container,e._plugins.forEach(function(e){e.init.call(r,t)})}return e.registerPlugin=function(i){e._plugins.push(i)},e.prototype.render=function(){this.renderer.render(this.stage)},Object.defineProperty(e.prototype,"view",{get:function(){return this.renderer.view},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"screen",{get:function(){return this.renderer.screen},enumerable:!1,configurable:!0}),e.prototype.destroy=function(i,n){var t=this,r=e._plugins.slice(0);r.reverse(),r.forEach(function(e){e.destroy.call(t)}),this.stage.destroy(n),this.stage=null,this.renderer.destroy(i),this.renderer=null},e}();t._plugins=[];var r=function(){function e(){}return e.init=function(e){var i=this;Object.defineProperty(this,"resizeTo",{set:function(e){window.removeEventListener("resize",this.queueResize),this._resizeTo=e,e&&(window.addEventListener("resize",this.queueResize),this.resize())},get:function(){return this._resizeTo}}),this.queueResize=function(){i._resizeTo&&(i.cancelResize(),i._resizeId=requestAnimationFrame(function(){return i.resize()}))},this.cancelResize=function(){i._resizeId&&(cancelAnimationFrame(i._resizeId),i._resizeId=null)},this.resize=function(){if(i._resizeTo){var e,n;if(i.cancelResize(),i._resizeTo===window)e=window.innerWidth,n=window.innerHeight;else{var t=i._resizeTo;e=t.clientWidth,n=t.clientHeight}i.renderer.resize(e,n)}},this._resizeId=null,this._resizeTo=null,this.resizeTo=e.resizeTo||null},e.destroy=function(){window.removeEventListener("resize",this.queueResize),this.cancelResize(),this.cancelResize=null,this.queueResize=null,this.resizeTo=null,this.resize=null},e}();return t.registerPlugin(r),e.Application=t,e}({},PIXI,PIXI);Object.assign(this.PIXI,_pixi_app); | ||
//# sourceMappingURL=app.min.js.map |
/*! | ||
* @pixi/app - v5.3.8 | ||
* Compiled Sat, 20 Feb 2021 22:28:33 UTC | ||
* @pixi/app - v5.3.9 | ||
* Compiled Wed, 24 Mar 2021 19:54:16 UTC | ||
* | ||
@@ -263,2 +263,3 @@ * @pixi/app is licensed under the MIT License. | ||
ResizePlugin.destroy = function () { | ||
window.removeEventListener('resize', this.queueResize); | ||
this.cancelResize(); | ||
@@ -265,0 +266,0 @@ this.cancelResize = null; |
/*! | ||
* @pixi/app - v5.3.8 | ||
* Compiled Sat, 20 Feb 2021 22:28:33 UTC | ||
* @pixi/app - v5.3.9 | ||
* Compiled Wed, 24 Mar 2021 19:54:16 UTC | ||
* | ||
@@ -267,2 +267,3 @@ * @pixi/app is licensed under the MIT License. | ||
ResizePlugin.destroy = function () { | ||
window.removeEventListener('resize', this.queueResize); | ||
this.cancelResize(); | ||
@@ -269,0 +270,0 @@ this.cancelResize = null; |
{ | ||
"name": "@pixi/app", | ||
"version": "5.3.8", | ||
"version": "5.3.9", | ||
"main": "lib/app.js", | ||
@@ -27,10 +27,10 @@ "module": "lib/app.es.js", | ||
"dependencies": { | ||
"@pixi/core": "5.3.8", | ||
"@pixi/display": "5.3.8" | ||
"@pixi/core": "5.3.9", | ||
"@pixi/display": "5.3.9" | ||
}, | ||
"devDependencies": { | ||
"@pixi/canvas-renderer": "5.3.8", | ||
"@pixi/utils": "5.3.8" | ||
"@pixi/canvas-renderer": "5.3.9", | ||
"@pixi/utils": "5.3.9" | ||
}, | ||
"gitHead": "9fcdb09ff262ab8a609c5faefcd75f2e6a33db46" | ||
"gitHead": "015525161fba8fec54bfa1dd63e3f6349444294c" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
97149
838
+ Added@pixi/constants@5.3.9(transitive)
+ Added@pixi/core@5.3.9(transitive)
+ Added@pixi/display@5.3.9(transitive)
+ Added@pixi/math@5.3.9(transitive)
+ Added@pixi/runner@5.3.9(transitive)
+ Added@pixi/settings@5.3.9(transitive)
+ Added@pixi/ticker@5.3.9(transitive)
+ Added@pixi/utils@5.3.9(transitive)
- Removed@pixi/constants@5.3.8(transitive)
- Removed@pixi/core@5.3.8(transitive)
- Removed@pixi/display@5.3.8(transitive)
- Removed@pixi/math@5.3.8(transitive)
- Removed@pixi/runner@5.3.8(transitive)
- Removed@pixi/settings@5.3.8(transitive)
- Removed@pixi/ticker@5.3.8(transitive)
- Removed@pixi/utils@5.3.8(transitive)
Updated@pixi/core@5.3.9
Updated@pixi/display@5.3.9