summaryrefslogtreecommitdiff
path: root/alarm/node_modules/lodash/_countHolders.js
diff options
context:
space:
mode:
Diffstat (limited to 'alarm/node_modules/lodash/_countHolders.js')
-rw-r--r--alarm/node_modules/lodash/_countHolders.js21
1 files changed, 0 insertions, 21 deletions
diff --git a/alarm/node_modules/lodash/_countHolders.js b/alarm/node_modules/lodash/_countHolders.js
deleted file mode 100644
index 718fcda..0000000
--- a/alarm/node_modules/lodash/_countHolders.js
+++ /dev/null
@@ -1,21 +0,0 @@
-/**
- * Gets the number of `placeholder` occurrences in `array`.
- *
- * @private
- * @param {Array} array The array to inspect.
- * @param {*} placeholder The placeholder to search for.
- * @returns {number} Returns the placeholder count.
- */
-function countHolders(array, placeholder) {
- var length = array.length,
- result = 0;
-
- while (length--) {
- if (array[length] === placeholder) {
- ++result;
- }
- }
- return result;
-}
-
-module.exports = countHolders;