@pixi/app
Advanced tools
Comparing version 6.0.0 to 6.0.1
/*! | ||
* @pixi/app - v6.0.0 | ||
* Compiled Tue, 02 Mar 2021 21:45:03 UTC | ||
* @pixi/app - v6.0.1 | ||
* Compiled Wed, 24 Mar 2021 20:02:24 UTC | ||
* | ||
@@ -257,2 +257,3 @@ * @pixi/app is licensed under the MIT License. | ||
ResizePlugin.destroy = function () { | ||
self.removeEventListener('resize', this.queueResize); | ||
this.cancelResize(); | ||
@@ -259,0 +260,0 @@ this.cancelResize = null; |
/*! | ||
* @pixi/app - v6.0.0 | ||
* Compiled Tue, 02 Mar 2021 21:45:03 UTC | ||
* @pixi/app - v6.0.1 | ||
* Compiled Wed, 24 Mar 2021 20:02:24 UTC | ||
* | ||
@@ -8,3 +8,3 @@ * @pixi/app is licensed under the MIT License. | ||
*/ | ||
this.PIXI=this.PIXI||{};var _pixi_app=function(e,i,t){"use strict";var n=function(){function e(n){var r=this;this.stage=new i.Container,n=Object.assign({forceCanvas:!1},n),this.renderer=t.autoDetectRenderer(n),e._plugins.forEach(function(e){e.init.call(r,n)})}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,t){var n=this,r=e._plugins.slice(0);r.reverse(),r.forEach(function(e){e.destroy.call(n)}),this.stage.destroy(t),this.stage=null,this.renderer.destroy(i),this.renderer=null},e._plugins=[],e}(),r=function(){function e(){}return e.init=function(e){var i=this;Object.defineProperty(this,"resizeTo",{set:function(e){self.removeEventListener("resize",this.queueResize),this._resizeTo=e,e&&(self.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,t;if(i.cancelResize(),i._resizeTo===self)e=self.innerWidth,t=self.innerHeight;else{var n=i._resizeTo;e=n.clientWidth,t=n.clientHeight}i.renderer.resize(e,t)}},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 n.registerPlugin(r),e.Application=n,e}({},PIXI,PIXI);Object.assign(this.PIXI,_pixi_app); | ||
this.PIXI=this.PIXI||{};var _pixi_app=function(e,i,t){"use strict";var r=function(){function e(r){var n=this;this.stage=new i.Container,r=Object.assign({forceCanvas:!1},r),this.renderer=t.autoDetectRenderer(r),e._plugins.forEach(function(e){e.init.call(n,r)})}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,t){var r=this,n=e._plugins.slice(0);n.reverse(),n.forEach(function(e){e.destroy.call(r)}),this.stage.destroy(t),this.stage=null,this.renderer.destroy(i),this.renderer=null},e._plugins=[],e}(),n=function(){function e(){}return e.init=function(e){var i=this;Object.defineProperty(this,"resizeTo",{set:function(e){self.removeEventListener("resize",this.queueResize),this._resizeTo=e,e&&(self.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,t;if(i.cancelResize(),i._resizeTo===self)e=self.innerWidth,t=self.innerHeight;else{var r=i._resizeTo;e=r.clientWidth,t=r.clientHeight}i.renderer.resize(e,t)}},this._resizeId=null,this._resizeTo=null,this.resizeTo=e.resizeTo||null},e.destroy=function(){self.removeEventListener("resize",this.queueResize),this.cancelResize(),this.cancelResize=null,this.queueResize=null,this.resizeTo=null,this.resize=null},e}();return r.registerPlugin(n),e.Application=r,e}({},PIXI,PIXI);Object.assign(this.PIXI,_pixi_app); | ||
//# sourceMappingURL=app.min.js.map |
/*! | ||
* @pixi/app - v6.0.0 | ||
* Compiled Tue, 02 Mar 2021 21:45:03 UTC | ||
* @pixi/app - v6.0.1 | ||
* Compiled Wed, 24 Mar 2021 20:02:24 UTC | ||
* | ||
@@ -260,2 +260,3 @@ * @pixi/app is licensed under the MIT License. | ||
ResizePlugin.destroy = function () { | ||
self.removeEventListener('resize', this.queueResize); | ||
this.cancelResize(); | ||
@@ -262,0 +263,0 @@ this.cancelResize = null; |
/*! | ||
* @pixi/app - v6.0.0 | ||
* Compiled Tue, 02 Mar 2021 21:45:03 UTC | ||
* @pixi/app - v6.0.1 | ||
* Compiled Wed, 24 Mar 2021 20:02:24 UTC | ||
* | ||
@@ -8,3 +8,3 @@ * @pixi/app is licensed under the MIT License. | ||
*/ | ||
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var display=require("@pixi/display"),core=require("@pixi/core"),Application=function(){function e(i){var r=this;this.stage=new display.Container,i=Object.assign({forceCanvas:!1},i),this.renderer=core.autoDetectRenderer(i),e._plugins.forEach(function(e){e.init.call(r,i)})}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,r){var t=this,n=e._plugins.slice(0);n.reverse(),n.forEach(function(e){e.destroy.call(t)}),this.stage.destroy(r),this.stage=null,this.renderer.destroy(i),this.renderer=null},e._plugins=[],e}(),ResizePlugin=function(){function e(){}return e.init=function(e){var i=this;Object.defineProperty(this,"resizeTo",{set:function(e){self.removeEventListener("resize",this.queueResize),this._resizeTo=e,e&&(self.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,r;if(i.cancelResize(),i._resizeTo===self)e=self.innerWidth,r=self.innerHeight;else{var t=i._resizeTo;e=t.clientWidth,r=t.clientHeight}i.renderer.resize(e,r)}},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}();Application.registerPlugin(ResizePlugin),exports.Application=Application; | ||
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var display=require("@pixi/display"),core=require("@pixi/core"),Application=function(){function e(i){var r=this;this.stage=new display.Container,i=Object.assign({forceCanvas:!1},i),this.renderer=core.autoDetectRenderer(i),e._plugins.forEach(function(e){e.init.call(r,i)})}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,r){var t=this,n=e._plugins.slice(0);n.reverse(),n.forEach(function(e){e.destroy.call(t)}),this.stage.destroy(r),this.stage=null,this.renderer.destroy(i),this.renderer=null},e._plugins=[],e}(),ResizePlugin=function(){function e(){}return e.init=function(e){var i=this;Object.defineProperty(this,"resizeTo",{set:function(e){self.removeEventListener("resize",this.queueResize),this._resizeTo=e,e&&(self.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,r;if(i.cancelResize(),i._resizeTo===self)e=self.innerWidth,r=self.innerHeight;else{var t=i._resizeTo;e=t.clientWidth,r=t.clientHeight}i.renderer.resize(e,r)}},this._resizeId=null,this._resizeTo=null,this.resizeTo=e.resizeTo||null},e.destroy=function(){self.removeEventListener("resize",this.queueResize),this.cancelResize(),this.cancelResize=null,this.queueResize=null,this.resizeTo=null,this.resize=null},e}();Application.registerPlugin(ResizePlugin),exports.Application=Application; | ||
//# sourceMappingURL=app.min.js.map |
/*! | ||
* @pixi/app - v6.0.0 | ||
* Compiled Tue, 02 Mar 2021 21:45:03 UTC | ||
* @pixi/app - v6.0.1 | ||
* Compiled Wed, 24 Mar 2021 20:02:24 UTC | ||
* | ||
@@ -256,2 +256,3 @@ * @pixi/app is licensed under the MIT License. | ||
ResizePlugin.destroy = function () { | ||
self.removeEventListener('resize', this.queueResize); | ||
this.cancelResize(); | ||
@@ -258,0 +259,0 @@ this.cancelResize = null; |
/*! | ||
* @pixi/app - v6.0.0 | ||
* Compiled Tue, 02 Mar 2021 21:45:03 UTC | ||
* @pixi/app - v6.0.1 | ||
* Compiled Wed, 24 Mar 2021 20:02:24 UTC | ||
* | ||
@@ -8,3 +8,3 @@ * @pixi/app is licensed under the MIT License. | ||
*/ | ||
import{Container as e}from"@pixi/display";import{autoDetectRenderer as i}from"@pixi/core";var r=function(){function r(n){var t=this;this.stage=new e,n=Object.assign({forceCanvas:!1},n),this.renderer=i(n),r._plugins.forEach(function(e){e.init.call(t,n)})}return r.registerPlugin=function(e){r._plugins.push(e)},r.prototype.render=function(){this.renderer.render(this.stage)},Object.defineProperty(r.prototype,"view",{get:function(){return this.renderer.view},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"screen",{get:function(){return this.renderer.screen},enumerable:!1,configurable:!0}),r.prototype.destroy=function(e,i){var n=this,t=r._plugins.slice(0);t.reverse(),t.forEach(function(e){e.destroy.call(n)}),this.stage.destroy(i),this.stage=null,this.renderer.destroy(e),this.renderer=null},r._plugins=[],r}(),n=function(){function e(){}return e.init=function(e){var i=this;Object.defineProperty(this,"resizeTo",{set:function(e){self.removeEventListener("resize",this.queueResize),this._resizeTo=e,e&&(self.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,r;if(i.cancelResize(),i._resizeTo===self)e=self.innerWidth,r=self.innerHeight;else{var n=i._resizeTo;e=n.clientWidth,r=n.clientHeight}i.renderer.resize(e,r)}},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}();r.registerPlugin(n);export{r as Application}; | ||
import{Container as e}from"@pixi/display";import{autoDetectRenderer as i}from"@pixi/core";var r=function(){function r(t){var n=this;this.stage=new e,t=Object.assign({forceCanvas:!1},t),this.renderer=i(t),r._plugins.forEach(function(e){e.init.call(n,t)})}return r.registerPlugin=function(e){r._plugins.push(e)},r.prototype.render=function(){this.renderer.render(this.stage)},Object.defineProperty(r.prototype,"view",{get:function(){return this.renderer.view},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"screen",{get:function(){return this.renderer.screen},enumerable:!1,configurable:!0}),r.prototype.destroy=function(e,i){var t=this,n=r._plugins.slice(0);n.reverse(),n.forEach(function(e){e.destroy.call(t)}),this.stage.destroy(i),this.stage=null,this.renderer.destroy(e),this.renderer=null},r._plugins=[],r}(),t=function(){function e(){}return e.init=function(e){var i=this;Object.defineProperty(this,"resizeTo",{set:function(e){self.removeEventListener("resize",this.queueResize),this._resizeTo=e,e&&(self.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,r;if(i.cancelResize(),i._resizeTo===self)e=self.innerWidth,r=self.innerHeight;else{var t=i._resizeTo;e=t.clientWidth,r=t.clientHeight}i.renderer.resize(e,r)}},this._resizeId=null,this._resizeTo=null,this.resizeTo=e.resizeTo||null},e.destroy=function(){self.removeEventListener("resize",this.queueResize),this.cancelResize(),this.cancelResize=null,this.queueResize=null,this.resizeTo=null,this.resize=null},e}();r.registerPlugin(t);export{r as Application}; | ||
//# sourceMappingURL=app.min.js.map |
{ | ||
"name": "@pixi/app", | ||
"version": "6.0.0", | ||
"version": "6.0.1", | ||
"main": "dist/cjs/app.js", | ||
@@ -28,10 +28,10 @@ "module": "dist/esm/app.js", | ||
"dependencies": { | ||
"@pixi/core": "6.0.0", | ||
"@pixi/display": "6.0.0" | ||
"@pixi/core": "6.0.1", | ||
"@pixi/display": "6.0.1" | ||
}, | ||
"devDependencies": { | ||
"@pixi/canvas-renderer": "6.0.0", | ||
"@pixi/utils": "6.0.0" | ||
"@pixi/canvas-renderer": "6.0.1", | ||
"@pixi/utils": "6.0.1" | ||
}, | ||
"gitHead": "40b8c8d7d1a3e99df059b5d5c582975eb536b30a" | ||
"gitHead": "dee35532f3e5c5abc6cad909f47aa3c32634a325" | ||
} |
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
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
137242
993
+ Added@pixi/constants@6.0.1(transitive)
+ Added@pixi/core@6.0.1(transitive)
+ Added@pixi/display@6.0.1(transitive)
+ Added@pixi/math@6.0.1(transitive)
+ Added@pixi/runner@6.0.1(transitive)
+ Added@pixi/settings@6.0.1(transitive)
+ Added@pixi/ticker@6.0.1(transitive)
+ Added@pixi/utils@6.0.1(transitive)
- Removed@pixi/constants@6.0.0(transitive)
- Removed@pixi/core@6.0.0(transitive)
- Removed@pixi/display@6.0.0(transitive)
- Removed@pixi/math@6.0.0(transitive)
- Removed@pixi/runner@6.0.0(transitive)
- Removed@pixi/settings@6.0.0(transitive)
- Removed@pixi/ticker@6.0.0(transitive)
- Removed@pixi/utils@6.0.0(transitive)
- Removed@types/node@12.20.55(transitive)
Updated@pixi/core@6.0.1
Updated@pixi/display@6.0.1