Version 1
[yaffs-website] / node_modules / grunt-uncss / node_modules / lodash / _basePropertyOf.js
diff --git a/node_modules/grunt-uncss/node_modules/lodash/_basePropertyOf.js b/node_modules/grunt-uncss/node_modules/lodash/_basePropertyOf.js
new file mode 100644 (file)
index 0000000..4617399
--- /dev/null
@@ -0,0 +1,14 @@
+/**
+ * The base implementation of `_.propertyOf` without support for deep paths.
+ *
+ * @private
+ * @param {Object} object The object to query.
+ * @returns {Function} Returns the new accessor function.
+ */
+function basePropertyOf(object) {
+  return function(key) {
+    return object == null ? undefined : object[key];
+  };
+}
+
+module.exports = basePropertyOf;