Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

pass call index to from function

  • Loading branch information...
commit 6e6814d786bc3e16c20ec40d965219b06d33bc8a 1 parent 5daf23e
Dominic Tarr authored

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  index.js
2  index.js
@@ -29,7 +29,7 @@ function from (source) {
29 29
   function next () {
30 30
     var n = 0, r = false
31 31
     if(ended) return
32  
-    while(!ended && !s.paused && source.call(s, i, function () {
  32
+    while(!ended && !s.paused && source.call(s, i++, function () {
33 33
       if(!n++ && !s.ended && !s.paused)
34 34
           next()
35 35
     }))

0 notes on commit 6e6814d

Please sign in to comment.
Something went wrong with that request. Please try again.