3 ms·
I think I disagree with the buffer pattern. I'd probably run the function with an argument of next() so you could keep the function more portable.
by randall 15y ago
I think I disagree with the buffer pattern. I'd probably run the function with an argument of next() so you could keep the function more portable.
- rstacruz 15y agoThat's how jQuery implements it for jQuery.fn.queue, and I think I'll revise it that way too.