summaryrefslogtreecommitdiff
path: root/bin/wiki/ImportarDesdeURL/node_modules/yallist/iterator.js
diff options
context:
space:
mode:
Diffstat (limited to 'bin/wiki/ImportarDesdeURL/node_modules/yallist/iterator.js')
-rw-r--r--bin/wiki/ImportarDesdeURL/node_modules/yallist/iterator.js8
1 files changed, 8 insertions, 0 deletions
diff --git a/bin/wiki/ImportarDesdeURL/node_modules/yallist/iterator.js b/bin/wiki/ImportarDesdeURL/node_modules/yallist/iterator.js
new file mode 100644
index 00000000..d41c97a1
--- /dev/null
+++ b/bin/wiki/ImportarDesdeURL/node_modules/yallist/iterator.js
@@ -0,0 +1,8 @@
+'use strict'
+module.exports = function (Yallist) {
+ Yallist.prototype[Symbol.iterator] = function* () {
+ for (let walker = this.head; walker; walker = walker.next) {
+ yield walker.value
+ }
+ }
+}