aboutsummaryrefslogtreecommitdiff
path: root/node_modules/lodash._shimkeys/index.js
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/lodash._shimkeys/index.js')
-rw-r--r--node_modules/lodash._shimkeys/index.js38
1 files changed, 0 insertions, 38 deletions
diff --git a/node_modules/lodash._shimkeys/index.js b/node_modules/lodash._shimkeys/index.js
deleted file mode 100644
index 12be0bf11..000000000
--- a/node_modules/lodash._shimkeys/index.js
+++ /dev/null
@@ -1,38 +0,0 @@
-/**
- * Lo-Dash 2.4.1 (Custom Build) <http://lodash.com/>
- * Build: `lodash modularize modern exports="npm" -o ./npm/`
- * Copyright 2012-2013 The Dojo Foundation <http://dojofoundation.org/>
- * Based on Underscore.js 1.5.2 <http://underscorejs.org/LICENSE>
- * Copyright 2009-2013 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
- * Available under MIT license <http://lodash.com/license>
- */
-var objectTypes = require('lodash._objecttypes');
-
-/** Used for native method references */
-var objectProto = Object.prototype;
-
-/** Native method shortcuts */
-var hasOwnProperty = objectProto.hasOwnProperty;
-
-/**
- * A fallback implementation of `Object.keys` which produces an array of the
- * given object's own enumerable property names.
- *
- * @private
- * @type Function
- * @param {Object} object The object to inspect.
- * @returns {Array} Returns an array of property names.
- */
-var shimKeys = function(object) {
- var index, iterable = object, result = [];
- if (!iterable) return result;
- if (!(objectTypes[typeof object])) return result;
- for (index in iterable) {
- if (hasOwnProperty.call(iterable, index)) {
- result.push(index);
- }
- }
- return result
-};
-
-module.exports = shimKeys;