summaryrefslogtreecommitdiff
path: root/alarm/node_modules/lodash/_mapToArray.js
diff options
context:
space:
mode:
Diffstat (limited to 'alarm/node_modules/lodash/_mapToArray.js')
-rw-r--r--alarm/node_modules/lodash/_mapToArray.js18
1 files changed, 0 insertions, 18 deletions
diff --git a/alarm/node_modules/lodash/_mapToArray.js b/alarm/node_modules/lodash/_mapToArray.js
deleted file mode 100644
index fe3dd53..0000000
--- a/alarm/node_modules/lodash/_mapToArray.js
+++ /dev/null
@@ -1,18 +0,0 @@
-/**
- * Converts `map` to its key-value pairs.
- *
- * @private
- * @param {Object} map The map to convert.
- * @returns {Array} Returns the key-value pairs.
- */
-function mapToArray(map) {
- var index = -1,
- result = Array(map.size);
-
- map.forEach(function(value, key) {
- result[++index] = [key, value];
- });
- return result;
-}
-
-module.exports = mapToArray;