Version 1
[yaffs-website] / node_modules / uncss / node_modules / form-data / node_modules / lodash / fp / _convertBrowser.js
diff --git a/node_modules/uncss/node_modules/form-data/node_modules/lodash/fp/_convertBrowser.js b/node_modules/uncss/node_modules/form-data/node_modules/lodash/fp/_convertBrowser.js
new file mode 100644 (file)
index 0000000..bde030d
--- /dev/null
@@ -0,0 +1,18 @@
+var baseConvert = require('./_baseConvert');
+
+/**
+ * Converts `lodash` to an immutable auto-curried iteratee-first data-last
+ * version with conversion `options` applied.
+ *
+ * @param {Function} lodash The lodash function to convert.
+ * @param {Object} [options] The options object. See `baseConvert` for more details.
+ * @returns {Function} Returns the converted `lodash`.
+ */
+function browserConvert(lodash, options) {
+  return baseConvert(lodash, lodash, options);
+}
+
+if (typeof _ == 'function' && typeof _.runInContext == 'function') {
+  _ = browserConvert(_.runInContext());
+}
+module.exports = browserConvert;