@eva/plugin-renderer-spine36 2.0.1 → 2.0.2-beta.0
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.
|
@@ -30,6 +30,11 @@ var _EVA_IIFE_spine36 = function (exports, eva_js, pluginRenderer, pixi_js) {
|
|
|
30
30
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
31
31
|
}
|
|
32
32
|
function __awaiter(thisArg, _arguments, P, generator) {
|
|
33
|
+
function adopt(value) {
|
|
34
|
+
return value instanceof P ? value : new P(function (resolve) {
|
|
35
|
+
resolve(value);
|
|
36
|
+
});
|
|
37
|
+
}
|
|
33
38
|
return new (P || (P = Promise))(function (resolve, reject) {
|
|
34
39
|
function fulfilled(value) {
|
|
35
40
|
try {
|
|
@@ -46,13 +51,15 @@ var _EVA_IIFE_spine36 = function (exports, eva_js, pluginRenderer, pixi_js) {
|
|
|
46
51
|
}
|
|
47
52
|
}
|
|
48
53
|
function step(result) {
|
|
49
|
-
result.done ? resolve(result.value) :
|
|
50
|
-
resolve(result.value);
|
|
51
|
-
}).then(fulfilled, rejected);
|
|
54
|
+
result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);
|
|
52
55
|
}
|
|
53
56
|
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
54
57
|
});
|
|
55
58
|
}
|
|
59
|
+
typeof SuppressedError === "function" ? SuppressedError : function (error, suppressed, message) {
|
|
60
|
+
var e = new Error(message);
|
|
61
|
+
return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
|
|
62
|
+
};
|
|
56
63
|
class Spine$2 extends eva_js.Component {
|
|
57
64
|
constructor() {
|
|
58
65
|
super(...arguments);
|