Version 1
[yaffs-website] / node_modules / uncss / node_modules / lodash / internal / getData.js
diff --git a/node_modules/uncss/node_modules/lodash/internal/getData.js b/node_modules/uncss/node_modules/lodash/internal/getData.js
new file mode 100644 (file)
index 0000000..376ba87
--- /dev/null
@@ -0,0 +1,15 @@
+var metaMap = require('./metaMap'),
+    noop = require('../noop');
+
+/**
+ * Gets metadata for `func`.
+ *
+ * @private
+ * @param {Function} func The function to query.
+ * @returns {*} Returns the metadata for `func`.
+ */
+var getData = !metaMap ? noop : function(func) {
+  return metaMap.get(func);
+};
+
+module.exports = getData;