@eva/plugin-renderer-spine 1.2.8-fix.1 → 1.2.8

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.
@@ -1,4 +1,4 @@
1
- function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
1
+ function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
2
2
 
3
3
  window.EVA = window.EVA || {};
4
4
  window.EVA.plugin = window.EVA.plugin || {};
@@ -9576,9 +9576,9 @@ var _EVA_IIFE_spine = function (exports, eva_js, pluginRenderer, pixi_js) {
9576
9576
  var cachedResource = loader.resources[name];
9577
9577
 
9578
9578
  if (cachedResource) {
9579
- function done() {
9579
+ var done = function done() {
9580
9580
  callback(cachedResource.texture.baseTexture);
9581
- }
9581
+ };
9582
9582
 
9583
9583
  if (cachedResource.texture) {
9584
9584
  done();