Version 1
[yaffs-website] / node_modules / grunt-uncss / node_modules / lodash / _baseShuffle.js
diff --git a/node_modules/grunt-uncss/node_modules/lodash/_baseShuffle.js b/node_modules/grunt-uncss/node_modules/lodash/_baseShuffle.js
new file mode 100644 (file)
index 0000000..023077a
--- /dev/null
@@ -0,0 +1,15 @@
+var shuffleSelf = require('./_shuffleSelf'),
+    values = require('./values');
+
+/**
+ * The base implementation of `_.shuffle`.
+ *
+ * @private
+ * @param {Array|Object} collection The collection to shuffle.
+ * @returns {Array} Returns the new shuffled array.
+ */
+function baseShuffle(collection) {
+  return shuffleSelf(values(collection));
+}
+
+module.exports = baseShuffle;