rr
A simple JavaScript component to iterate an array round robin.
Why?
Sometimes you want to loop over an array and start at the beginning again.
Install
Node.js/Browserify
npm install --save rr
Component
component install jprichardson/rr
Bower
bower install rr
Script
Usage
rr(array, [lastIndex])
Example
var rr = var list = 'a' 'b' 'c'console //aconsole //bconsole //cconsole //a console //cconsole //a
splice(array, idx, len)
spliceCurrent(array, len)
License
(MIT License)
Copyright 2013, JP Richardson