23 lines
580 B
JavaScript
23 lines
580 B
JavaScript
|
/*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;});
|