@eva/renderer-adapter
Advanced tools
Comparing version 1.2.7 to 1.2.8-alpha.0
@@ -1,1 +0,1 @@ | ||
window.EVA=window.EVA||{};var _EVA_IIFE_rendererAdapter=function(t,e){"use strict";var i=function(t,e){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])})(t,e)};function n(t,e){function n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}var r=function(t){function e(e){return e.autoStart=!1,t.call(this,e)||this}return n(e,t),e}(e.Application),o=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n(e,t),e}(e.Container),a=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n(e,t),e}(e.Graphics),u=function(t){function i(i,n,r,o,a){var u;return u="string"===i?e.Texture.fromFrame(i):e.Texture.from(i),t.call(this,u,n,r,o,a)||this}return n(i,t),i}(e.mesh.NineSlicePlane),p=function(){function t(t){this._image=null,this._image=t,t?t instanceof HTMLImageElement?this.sprite=e.Sprite.from(t):t instanceof e.Texture&&(this.sprite=new e.Sprite(t)):this.sprite=new e.Sprite}return Object.defineProperty(t.prototype,"image",{get:function(){return this._image},set:function(t){this._image!==t&&(t instanceof HTMLImageElement?(this.sprite.texture&&this.sprite.texture.destroy(!1),this.sprite.texture=e.Texture.from(t)):t instanceof e.Texture&&(this.sprite.texture=t),this._image=t)},enumerable:!1,configurable:!0}),t}(),s=function(){function t(t){var i=t.frames;this.animatedSprite=new e.extras.AnimatedSprite(i)}return t.prototype.play=function(){this.animatedSprite.play()},t.prototype.stop=function(){this.animatedSprite.stop()},t.prototype.gotoAndPlay=function(t){this.animatedSprite.gotoAndPlay(t)},t.prototype.gotoAndStop=function(t){this.animatedSprite.gotoAndStop(t)},Object.defineProperty(t.prototype,"speed",{get:function(){return this.animatedSprite.animationSpeed},set:function(t){this.animatedSprite.animationSpeed=t},enumerable:!1,configurable:!0}),t}(),c=function(t){function e(e,i){return t.call(this,e,i)||this}return n(e,t),e}(e.Text),f=e.extras.TilingSprite,h=function(){function t(t){this._image=null,this._image=t,t?t instanceof HTMLImageElement?this.tilingSprite=new f(e.Texture.from(t)):t instanceof e.Texture&&(this.tilingSprite=new f(t)):this.tilingSprite=new f(e.Texture.EMPTY)}return Object.defineProperty(t.prototype,"image",{get:function(){return this._image},set:function(t){this._image!==t&&(t instanceof HTMLImageElement?this.tilingSprite.texture=e.Texture.from(t):t instanceof e.Texture&&(this.tilingSprite.texture=t),this._image=t)},enumerable:!1,configurable:!0}),t}();return t.Application=r,t.Container=o,t.Graphics=a,t.NinePatch=u,t.Sprite=p,t.SpriteAnimation=s,t.Text=c,t.TilingSprite=h,Object.defineProperty(t,"__esModule",{value:!0}),t}({},PIXI);window.EVA.rendererAdapter=window.EVA.rendererAdapter||_EVA_IIFE_rendererAdapter; | ||
window.EVA=window.EVA||{};var _EVA_IIFE_rendererAdapter=function(t,e){"use strict";var i=function(t,e){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])},i(t,e)};function n(t,e){function n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}var r=function(t){function e(e){return e.autoStart=!1,t.call(this,e)||this}return n(e,t),e}(e.Application),o=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n(e,t),e}(e.Container),a=o,u=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n(e,t),e}(e.Graphics),p=u,s=function(t){function i(i,n,r,o,a){var u;return u="string"===i?e.Texture.fromFrame(i):e.Texture.from(i),t.call(this,u,n,r,o,a)||this}return n(i,t),i}(e.mesh.NineSlicePlane),c=function(){function t(t){this._image=null,this._image=t,t?t instanceof HTMLImageElement?this.sprite=e.Sprite.from(t):t instanceof e.Texture&&(this.sprite=new e.Sprite(t)):this.sprite=new e.Sprite}return Object.defineProperty(t.prototype,"image",{get:function(){return this._image},set:function(t){this._image!==t&&(t instanceof HTMLImageElement?(this.sprite.texture&&this.sprite.texture.destroy(!1),this.sprite.texture=e.Texture.from(t)):t instanceof e.Texture&&(this.sprite.texture=t),this._image=t)},enumerable:!1,configurable:!0}),t}(),f=function(){function t(t){var i=t.frames;this.animatedSprite=new e.extras.AnimatedSprite(i)}return t.prototype.play=function(){this.animatedSprite.play()},t.prototype.stop=function(){this.animatedSprite.stop()},t.prototype.gotoAndPlay=function(t){this.animatedSprite.gotoAndPlay(t)},t.prototype.gotoAndStop=function(t){this.animatedSprite.gotoAndStop(t)},Object.defineProperty(t.prototype,"speed",{get:function(){return this.animatedSprite.animationSpeed},set:function(t){this.animatedSprite.animationSpeed=t},enumerable:!1,configurable:!0}),t}(),h=function(t){function e(e,i){return t.call(this,e,i)||this}return n(e,t),e}(e.Text),l=e.extras.TilingSprite,m=function(){function t(t){this._image=null,this._image=t,t?t instanceof HTMLImageElement?this.tilingSprite=new l(e.Texture.from(t)):t instanceof e.Texture&&(this.tilingSprite=new l(t)):this.tilingSprite=new l(e.Texture.EMPTY)}return Object.defineProperty(t.prototype,"image",{get:function(){return this._image},set:function(t){this._image!==t&&(t instanceof HTMLImageElement?this.tilingSprite.texture=e.Texture.from(t):t instanceof e.Texture&&(this.tilingSprite.texture=t),this._image=t)},enumerable:!1,configurable:!0}),t}();return t.Application=r,t.Container=a,t.Graphics=p,t.NinePatch=s,t.Sprite=c,t.SpriteAnimation=f,t.Text=h,t.TilingSprite=m,Object.defineProperty(t,"__esModule",{value:!0}),t}({},PIXI);window.EVA.rendererAdapter=window.EVA.rendererAdapter||_EVA_IIFE_rendererAdapter; |
@@ -1,2 +0,2 @@ | ||
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var t=require("pixi.js"),e=function(t,i){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])})(t,i)}; | ||
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var t=require("pixi.js"),e=function(t,i){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])},e(t,i)}; | ||
/*! ***************************************************************************** | ||
@@ -3,0 +3,0 @@ Copyright (c) Microsoft Corporation. All rights reserved. |
{ | ||
"name": "@eva/renderer-adapter", | ||
"version": "1.2.7", | ||
"version": "1.2.8-alpha.0", | ||
"description": "@eva/renderer-adapter", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
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
33857
2