Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@pixi/app

Package Overview
Dependencies
Maintainers
3
Versions
122
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@pixi/app - npm Package Compare versions

Comparing version 5.1.1 to 5.1.2

8

dist/app.js
/*!
* @pixi/app - v5.1.1
* Compiled Fri, 02 Aug 2019 23:20:23 UTC
* @pixi/app - v5.1.2
* Compiled Sat, 24 Aug 2019 01:06:18 UTC
*

@@ -109,3 +109,3 @@ * @pixi/app is licensed under the MIT License.

*/
Application.prototype.destroy = function destroy (removeView)
Application.prototype.destroy = function destroy (removeView, stageOptions)
{

@@ -123,3 +123,3 @@ var this$1 = this;

this.stage.destroy();
this.stage.destroy(stageOptions);
this.stage = null;

@@ -126,0 +126,0 @@

/*!
* @pixi/app - v5.1.1
* Compiled Fri, 02 Aug 2019 23:20:23 UTC
* @pixi/app - v5.1.2
* Compiled Sat, 24 Aug 2019 01:06:18 UTC
*

@@ -8,3 +8,3 @@ * @pixi/app is licensed under the MIT License.

*/
this.PIXI=this.PIXI||{};var _pixi_app=function(e,i,r){"use strict";var t=function e(t){var n=this;t=Object.assign({forceCanvas:!1},t),this.renderer=r.autoDetectRenderer(t),this.stage=new i.Container,e._plugins.forEach(function(e){e.init.call(n,t)})},n={view:{configurable:!0},screen:{configurable:!0}};t.registerPlugin=function(e){t._plugins.push(e)},t.prototype.render=function(){this.renderer.render(this.stage)},n.view.get=function(){return this.renderer.view},n.screen.get=function(){return this.renderer.screen},t.prototype.destroy=function(e){var i=this,r=t._plugins.slice(0);r.reverse(),r.forEach(function(e){e.destroy.call(i)}),this.stage.destroy(),this.stage=null,this.renderer.destroy(e),this.renderer=null,this._options=null},Object.defineProperties(t.prototype,n),t._plugins=[];var s=function(){};return s.init=function(e){var i=this;Object.defineProperty(this,"resizeTo",{set:function(e){window.removeEventListener("resize",this.resize),this._resizeTo=e,e&&(window.addEventListener("resize",this.resize),this.resize())},get:function(){return this._resizeTo}}),this.resize=function(){i._resizeTo&&(i._resizeTo===window?i.renderer.resize(window.innerWidth,window.innerHeight):i.renderer.resize(i._resizeTo.clientWidth,i._resizeTo.clientHeight))},this._resizeTo=null,this.resizeTo=e.resizeTo||null},s.destroy=function(){this.resizeTo=null,this.resize=null},t.registerPlugin(s),e.Application=t,e}({},PIXI,PIXI);Object.assign(this.PIXI,_pixi_app);
this.PIXI=this.PIXI||{};var _pixi_app=function(e,i,r){"use strict";var t=function e(t){var n=this;t=Object.assign({forceCanvas:!1},t),this.renderer=r.autoDetectRenderer(t),this.stage=new i.Container,e._plugins.forEach(function(e){e.init.call(n,t)})},n={view:{configurable:!0},screen:{configurable:!0}};t.registerPlugin=function(e){t._plugins.push(e)},t.prototype.render=function(){this.renderer.render(this.stage)},n.view.get=function(){return this.renderer.view},n.screen.get=function(){return this.renderer.screen},t.prototype.destroy=function(e,i){var r=this,n=t._plugins.slice(0);n.reverse(),n.forEach(function(e){e.destroy.call(r)}),this.stage.destroy(i),this.stage=null,this.renderer.destroy(e),this.renderer=null,this._options=null},Object.defineProperties(t.prototype,n),t._plugins=[];var s=function(){};return s.init=function(e){var i=this;Object.defineProperty(this,"resizeTo",{set:function(e){window.removeEventListener("resize",this.resize),this._resizeTo=e,e&&(window.addEventListener("resize",this.resize),this.resize())},get:function(){return this._resizeTo}}),this.resize=function(){i._resizeTo&&(i._resizeTo===window?i.renderer.resize(window.innerWidth,window.innerHeight):i.renderer.resize(i._resizeTo.clientWidth,i._resizeTo.clientHeight))},this._resizeTo=null,this.resizeTo=e.resizeTo||null},s.destroy=function(){this.resizeTo=null,this.resize=null},t.registerPlugin(s),e.Application=t,e}({},PIXI,PIXI);Object.assign(this.PIXI,_pixi_app);
//# sourceMappingURL=app.min.js.map
/*!
* @pixi/app - v5.1.1
* Compiled Fri, 02 Aug 2019 23:20:23 UTC
* @pixi/app - v5.1.2
* Compiled Sat, 24 Aug 2019 01:06:18 UTC
*

@@ -108,3 +108,3 @@ * @pixi/app is licensed under the MIT License.

*/
Application.prototype.destroy = function destroy (removeView)
Application.prototype.destroy = function destroy (removeView, stageOptions)
{

@@ -122,3 +122,3 @@ var this$1 = this;

this.stage.destroy();
this.stage.destroy(stageOptions);
this.stage = null;

@@ -125,0 +125,0 @@

/*!
* @pixi/app - v5.1.1
* Compiled Fri, 02 Aug 2019 23:20:23 UTC
* @pixi/app - v5.1.2
* Compiled Sat, 24 Aug 2019 01:06:18 UTC
*

@@ -112,3 +112,3 @@ * @pixi/app is licensed under the MIT License.

*/
Application.prototype.destroy = function destroy (removeView)
Application.prototype.destroy = function destroy (removeView, stageOptions)
{

@@ -126,3 +126,3 @@ var this$1 = this;

this.stage.destroy();
this.stage.destroy(stageOptions);
this.stage = null;

@@ -129,0 +129,0 @@

{
"name": "@pixi/app",
"version": "5.1.1",
"version": "5.1.2",
"main": "lib/app.js",

@@ -27,10 +27,10 @@ "module": "lib/app.es.js",

"dependencies": {
"@pixi/core": "^5.1.1",
"@pixi/display": "^5.1.1"
"@pixi/core": "^5.1.2",
"@pixi/display": "^5.1.2"
},
"devDependencies": {
"@pixi/canvas-renderer": "^5.1.1",
"@pixi/utils": "^5.1.1"
"@pixi/canvas-renderer": "^5.1.2",
"@pixi/utils": "^5.1.2"
},
"gitHead": "40e1e4a12518ee067c6871dcdd930602346197de"
"gitHead": "9d8381bfb348e8ba570e1cab26bf2f699446f0ca"
}

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc