@antv/g-lite 1.2.0 → 1.2.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.
- package/dist/index.esm.js +4 -6
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +4 -6
- package/dist/index.js.map +1 -1
- package/dist/index.umd.min.js +1 -1
- package/dist/index.umd.min.js.map +1 -1
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -7929,13 +7929,11 @@ var SyncWaterfallHook = /** @class */ (function () {
|
|
|
7929
7929
|
this.callbacks.push(fn);
|
|
7930
7930
|
};
|
|
7931
7931
|
SyncWaterfallHook.prototype.call = function () {
|
|
7932
|
-
var _a;
|
|
7933
|
-
var args = [];
|
|
7934
|
-
for (var _i = 0; _i < arguments.length; _i++) {
|
|
7935
|
-
args[_i] = arguments[_i];
|
|
7936
|
-
}
|
|
7937
7932
|
if (this.callbacks.length) {
|
|
7938
|
-
|
|
7933
|
+
/* eslint-disable-next-line prefer-rest-params */
|
|
7934
|
+
var argsArr = arguments;
|
|
7935
|
+
/* eslint-disable-next-line prefer-spread */
|
|
7936
|
+
var result = this.callbacks[0].apply(void 0, argsArr);
|
|
7939
7937
|
for (var i = 0; i < this.callbacks.length - 1; i++) {
|
|
7940
7938
|
var callback = this.callbacks[i];
|
|
7941
7939
|
// @ts-ignore
|