@pixi/canvas-prepare
Advanced tools
Comparing version 5.2.0 to 5.2.1
/*! | ||
* @pixi/canvas-prepare - v5.2.0 | ||
* Compiled Wed, 06 Nov 2019 02:32:43 UTC | ||
* @pixi/canvas-prepare - v5.2.1 | ||
* Compiled Tue, 28 Jan 2020 23:33:11 UTC | ||
* | ||
@@ -9,3 +9,2 @@ * @pixi/canvas-prepare is licensed under the MIT License. | ||
this.PIXI = this.PIXI || {}; | ||
this.PIXI.prepare = this.PIXI.prepare || {}; | ||
var _pixi_canvas_prepare = (function (exports, core, prepare) { | ||
@@ -25,4 +24,4 @@ 'use strict'; | ||
* @class | ||
* @extends PIXI.prepare.BasePrepare | ||
* @memberof PIXI.prepare | ||
* @extends PIXI.BasePrepare | ||
* @memberof PIXI | ||
*/ | ||
@@ -108,4 +107,4 @@ var CanvasPrepare = /*@__PURE__*/(function (BasePrepare) { | ||
}({}, PIXI, PIXI.prepare)); | ||
Object.assign(this.PIXI.prepare, _pixi_canvas_prepare); | ||
}({}, PIXI, PIXI)); | ||
Object.assign(this.PIXI, _pixi_canvas_prepare); | ||
//# sourceMappingURL=canvas-prepare.js.map |
/*! | ||
* @pixi/canvas-prepare - v5.2.0 | ||
* Compiled Wed, 06 Nov 2019 02:32:43 UTC | ||
* @pixi/canvas-prepare - v5.2.1 | ||
* Compiled Tue, 28 Jan 2020 23:33:11 UTC | ||
* | ||
@@ -8,3 +8,3 @@ * @pixi/canvas-prepare is licensed under the MIT License. | ||
*/ | ||
this.PIXI=this.PIXI||{},this.PIXI.prepare=this.PIXI.prepare||{};var _pixi_canvas_prepare=function(t,e,a){"use strict";var r=16,i=function(t){function e(e){t.call(this,e),this.uploadHookHelper=this,this.canvas=document.createElement("canvas"),this.canvas.width=r,this.canvas.height=r,this.ctx=this.canvas.getContext("2d"),this.registerUploadHook(s)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.destroy=function(){t.prototype.destroy.call(this),this.ctx=null,this.canvas=null},e}(a.BasePrepare);function s(t,a){if(a instanceof e.BaseTexture){var r=a.source,i=0===r.width?t.canvas.width:Math.min(t.canvas.width,r.width),s=0===r.height?t.canvas.height:Math.min(t.canvas.height,r.height);return t.ctx.drawImage(r,0,0,i,s,0,0,t.canvas.width,t.canvas.height),!0}return!1}return t.CanvasPrepare=i,t}({},PIXI,PIXI.prepare);Object.assign(this.PIXI.prepare,_pixi_canvas_prepare); | ||
this.PIXI=this.PIXI||{};var _pixi_canvas_prepare=function(t,a,e){"use strict";var i=16,s=function(t){function a(a){t.call(this,a),this.uploadHookHelper=this,this.canvas=document.createElement("canvas"),this.canvas.width=i,this.canvas.height=i,this.ctx=this.canvas.getContext("2d"),this.registerUploadHook(n)}return t&&(a.__proto__=t),a.prototype=Object.create(t&&t.prototype),a.prototype.constructor=a,a.prototype.destroy=function(){t.prototype.destroy.call(this),this.ctx=null,this.canvas=null},a}(e.BasePrepare);function n(t,e){if(e instanceof a.BaseTexture){var i=e.source,s=0===i.width?t.canvas.width:Math.min(t.canvas.width,i.width),n=0===i.height?t.canvas.height:Math.min(t.canvas.height,i.height);return t.ctx.drawImage(i,0,0,s,n,0,0,t.canvas.width,t.canvas.height),!0}return!1}return t.CanvasPrepare=s,t}({},PIXI,PIXI);Object.assign(this.PIXI,_pixi_canvas_prepare); | ||
//# sourceMappingURL=canvas-prepare.min.js.map |
/*! | ||
* @pixi/canvas-prepare - v5.2.0 | ||
* Compiled Wed, 06 Nov 2019 02:32:43 UTC | ||
* @pixi/canvas-prepare - v5.2.1 | ||
* Compiled Tue, 28 Jan 2020 23:33:11 UTC | ||
* | ||
@@ -22,4 +22,4 @@ * @pixi/canvas-prepare is licensed under the MIT License. | ||
* @class | ||
* @extends PIXI.prepare.BasePrepare | ||
* @memberof PIXI.prepare | ||
* @extends PIXI.BasePrepare | ||
* @memberof PIXI | ||
*/ | ||
@@ -26,0 +26,0 @@ var CanvasPrepare = /*@__PURE__*/(function (BasePrepare) { |
/*! | ||
* @pixi/canvas-prepare - v5.2.0 | ||
* Compiled Wed, 06 Nov 2019 02:32:43 UTC | ||
* @pixi/canvas-prepare - v5.2.1 | ||
* Compiled Tue, 28 Jan 2020 23:33:11 UTC | ||
* | ||
@@ -26,4 +26,4 @@ * @pixi/canvas-prepare is licensed under the MIT License. | ||
* @class | ||
* @extends PIXI.prepare.BasePrepare | ||
* @memberof PIXI.prepare | ||
* @extends PIXI.BasePrepare | ||
* @memberof PIXI | ||
*/ | ||
@@ -30,0 +30,0 @@ var CanvasPrepare = /*@__PURE__*/(function (BasePrepare) { |
{ | ||
"name": "@pixi/canvas-prepare", | ||
"version": "5.2.0", | ||
"version": "5.2.1", | ||
"main": "lib/canvas-prepare.js", | ||
"module": "lib/canvas-prepare.es.js", | ||
"bundle": "dist/canvas-prepare.js", | ||
"namespace": "PIXI.prepare", | ||
"description": "Canvas mixin for the prepare package", | ||
@@ -28,7 +27,7 @@ "author": "Mat Groves", | ||
"dependencies": { | ||
"@pixi/canvas-renderer": "^5.2.0", | ||
"@pixi/core": "^5.2.0", | ||
"@pixi/prepare": "^5.2.0" | ||
"@pixi/canvas-renderer": "5.2.1", | ||
"@pixi/core": "5.2.1", | ||
"@pixi/prepare": "5.2.1" | ||
}, | ||
"gitHead": "aaf96b460582b83a1fa73037ef2dd69dd9e84415" | ||
"gitHead": "b56b4fca1c169f0e6d2a0472251ba1f7399bb4a3" | ||
} |
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
30157
276
+ Added@pixi/canvas-renderer@5.2.1(transitive)
+ Added@pixi/constants@5.2.1(transitive)
+ Added@pixi/core@5.2.1(transitive)
+ Added@pixi/display@5.2.1(transitive)
+ Added@pixi/graphics@5.2.1(transitive)
+ Added@pixi/math@5.2.1(transitive)
+ Added@pixi/prepare@5.2.1(transitive)
+ Added@pixi/runner@5.2.1(transitive)
+ Added@pixi/settings@5.2.1(transitive)
+ Added@pixi/sprite@5.2.1(transitive)
+ Added@pixi/text@5.2.1(transitive)
+ Added@pixi/ticker@5.2.1(transitive)
+ Added@pixi/utils@5.2.1(transitive)
- Removed@pixi/canvas-renderer@5.3.12(transitive)
- Removed@pixi/constants@5.3.12(transitive)
- Removed@pixi/core@5.3.12(transitive)
- Removed@pixi/display@5.3.12(transitive)
- Removed@pixi/graphics@5.3.12(transitive)
- Removed@pixi/math@5.3.12(transitive)
- Removed@pixi/prepare@5.3.12(transitive)
- Removed@pixi/runner@5.3.12(transitive)
- Removed@pixi/settings@5.3.12(transitive)
- Removed@pixi/sprite@5.3.12(transitive)
- Removed@pixi/text@5.3.12(transitive)
- Removed@pixi/ticker@5.3.12(transitive)
- Removed@pixi/utils@5.3.12(transitive)
Updated@pixi/canvas-renderer@5.2.1
Updated@pixi/core@5.2.1
Updated@pixi/prepare@5.2.1