ludus/out/goog/disposable/disposeall.js

23 lines
580 B
JavaScript
Raw Normal View History

2023-11-16 18:22:15 +00:00
/*TRANSPILED*/goog.loadModule(function(exports) {'use strict';/*
Copyright The Closure Library Authors.
SPDX-License-Identifier: Apache-2.0
*/
'use strict';
goog.module("goog.disposeAll");
goog.module.declareLegacyNamespace();
const dispose = goog.require("goog.dispose");
function disposeAll(var_args) {
for (let i = 0, len = arguments.length; i < len; ++i) {
const disposable = arguments[i];
if (goog.isArrayLike(disposable)) {
disposeAll.apply(null, disposable);
} else {
dispose(disposable);
}
}
}
exports = disposeAll;
;return exports;});