nathanstilwell/jquery-renewal — comment on commit b89133c702e23f1e4538933c09dcb0ae8840e125
File:  line 0
By danofames:

I wrote a couple weeks ago about the the infinite scroll: http://danofames.github.com/2012/02/15/details.html.

the implementation I ended up on made simple modifications to jquery.renewal.js itself, adding a config function to prepare the "move style", and moving when the eventAfterMove event was triggered. this seemed to be in line with making the core of jquery.renewal.js simple, but an API to extend.

that change is now pushed: https://github.com/danofames/jquery-renewal/commit/02c3ff9b95413c4fc7d57158dbf7857404b7afa8.

but, the final approach could be improved. the method of extending is kind not pretty.

an infinite scroll, using those changes: https://gist.github.com/1918996.

I hope to re-address the approach to extending jquery.renewal.js in a more straight-forward manner, so that `if (config.infinite)` is not needed in the jquery.renewal.js file itself.