@eva/plugin-renderer-lottie 1.2.1-type.2 → 1.2.2-mini.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -8,11 +8,11 @@ function _inheritsLoose(subClass, superClass) { subClass.prototype = Object.crea
8
8
 
9
9
  function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
10
10
 
11
- this.EVA = this.EVA || {};
12
- this.EVA.plugin = this.EVA.plugin || {};
13
- this.EVA.plugin.renderer = this.EVA.plugin.renderer || {};
11
+ window.EVA = window.EVA || {};
12
+ window.EVA.plugin = window.EVA.plugin || {};
13
+ window.EVA.plugin.renderer = window.EVA.plugin.renderer || {};
14
14
 
15
- this.EVA.plugin.renderer.lottie = function (exports, eva_js, pluginRenderer, pixi_js) {
15
+ var _EVA_IIFE_lottie = function (exports, eva_js, pluginRenderer, pixi_js) {
16
16
  'use strict';
17
17
 
18
18
  var _extendStatics = function extendStatics(d, b) {
@@ -5473,9 +5473,7 @@ this.EVA.plugin.renderer.lottie = function (exports, eva_js, pluginRenderer, pix
5473
5473
  }(eva_js.Component);
5474
5474
 
5475
5475
  var Lottie$1 = Lottie;
5476
- Object.defineProperty(eva_js.RESOURCE_TYPE, 'LOTTIE', {
5477
- value: 'LOTTIE'
5478
- });
5476
+ eva_js.resource.registerResourceType('LOTTIE');
5479
5477
  exports.Lottie = Lottie$1;
5480
5478
  exports.LottieSystem = LottieSystem$1;
5481
5479
  Object.defineProperty(exports, '__esModule', {
@@ -5483,3 +5481,5 @@ this.EVA.plugin.renderer.lottie = function (exports, eva_js, pluginRenderer, pix
5483
5481
  });
5484
5482
  return exports;
5485
5483
  }({}, EVA, EVA.plugin.renderer, PIXI);
5484
+
5485
+ window.EVA.plugin.renderer.lottie = window.EVA.plugin.renderer.lottie || _EVA_IIFE_lottie;