Version 1
[yaffs-website] / node_modules / grunt-legacy-log-utils / node_modules / lodash / _getData.js
diff --git a/node_modules/grunt-legacy-log-utils/node_modules/lodash/_getData.js b/node_modules/grunt-legacy-log-utils/node_modules/lodash/_getData.js
new file mode 100644 (file)
index 0000000..a1fe7b7
--- /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;