Closed HenrikJoreteg closed 9 years ago
ugh, sorry for all the noise in this PR, since it has all the built stuff.
Biggest thing is reviewing doc, implementation and tests for jump
starting here: https://github.com/AmpersandJS/amp/pull/67/files#diff-c3c914253380116fd0a2e7f0ea642b91R1
Also interested in input on the name and API. <3z
Verified https://github.com/AmpersandJS/amp/pull/67/files#diff-c3c914253380116fd0a2e7f0ea642b91R1 + tests and it looks fine! jump
naming is fine for me as well, as it describes exactly what it does, it jumps in one way or another. Plus it doesn't imply a direction.
+1 on the api, name, and docs
As @kamilogorek mentioned, jump
makes more sense to me since it doesn't imply direction (vs next/prev). API and docs also look good to me.
Not sure how, but the travis CI hook had gotten disabled somehow. Anyway, re-installed it, seems to be running it.
@kamilogorek @aaronmccall @fyockm thanks everyone! Merged, published, and site-updated.
making tweaks per discussion on #64.
This replaces
next
withjump
which works the same if using defaults, but is more configurable.