From 23563c7188e089929b60f9e10721c6fc43a220ff Mon Sep 17 00:00:00 2001 From: RaindropsSys Date: Thu, 22 Jun 2023 23:06:12 +0200 Subject: Updated 15 files, added includes/maintenance/deleteUnusedAssets.php and deleted 4944 files (automated) --- .../external/school/node_modules/lodash/once.js | 25 ---------------------- 1 file changed, 25 deletions(-) delete mode 100644 includes/external/school/node_modules/lodash/once.js (limited to 'includes/external/school/node_modules/lodash/once.js') diff --git a/includes/external/school/node_modules/lodash/once.js b/includes/external/school/node_modules/lodash/once.js deleted file mode 100644 index 0706fc3..0000000 --- a/includes/external/school/node_modules/lodash/once.js +++ /dev/null @@ -1,25 +0,0 @@ -var before = require('./before'); - -/** - * Creates a function that is restricted to invoking `func` once. Repeat calls - * to the function return the value of the first invocation. The `func` is - * invoked with the `this` binding and arguments of the created function. - * - * @static - * @memberOf _ - * @since 0.1.0 - * @category Function - * @param {Function} func The function to restrict. - * @returns {Function} Returns the new restricted function. - * @example - * - * var initialize = _.once(createApplication); - * initialize(); - * initialize(); - * // => `createApplication` is invoked once - */ -function once(func) { - return before(2, func); -} - -module.exports = once; -- cgit