@antv/g-lite 1.1.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.esm.js
CHANGED
|
@@ -7908,13 +7908,11 @@ var SyncWaterfallHook = /** @class */ (function () {
|
|
|
7908
7908
|
this.callbacks.push(fn);
|
|
7909
7909
|
};
|
|
7910
7910
|
SyncWaterfallHook.prototype.call = function () {
|
|
7911
|
-
var _a;
|
|
7912
|
-
var args = [];
|
|
7913
|
-
for (var _i = 0; _i < arguments.length; _i++) {
|
|
7914
|
-
args[_i] = arguments[_i];
|
|
7915
|
-
}
|
|
7916
7911
|
if (this.callbacks.length) {
|
|
7917
|
-
|
|
7912
|
+
/* eslint-disable-next-line prefer-rest-params */
|
|
7913
|
+
var argsArr = arguments;
|
|
7914
|
+
/* eslint-disable-next-line prefer-spread */
|
|
7915
|
+
var result = this.callbacks[0].apply(void 0, argsArr);
|
|
7918
7916
|
for (var i = 0; i < this.callbacks.length - 1; i++) {
|
|
7919
7917
|
var callback = this.callbacks[i];
|
|
7920
7918
|
// @ts-ignore
|