Version 1
[yaffs-website] / node_modules / grunt-uncss / node_modules / lodash / _stackClear.js
diff --git a/node_modules/grunt-uncss/node_modules/lodash/_stackClear.js b/node_modules/grunt-uncss/node_modules/lodash/_stackClear.js
new file mode 100644 (file)
index 0000000..ce8e5a9
--- /dev/null
@@ -0,0 +1,15 @@
+var ListCache = require('./_ListCache');
+
+/**
+ * Removes all key-value entries from the stack.
+ *
+ * @private
+ * @name clear
+ * @memberOf Stack
+ */
+function stackClear() {
+  this.__data__ = new ListCache;
+  this.size = 0;
+}
+
+module.exports = stackClear;