…lidation on this page, but not defaults that were being used).
Removed unused regex.
Fixed validation to confirm that all selectors return results (not just ...
…st the first one that randomly came up in the for...in).
Force the nearbottom behavior to return the plugin's return value, and then use that to implement a local mode like the docs say should exist. Use this by including behaviors/local.js in your script and then specify behavior:'local' in your options. Additionally, you need to specify what the container is that will be scrolling (this defaults to the window). I used options.binder for this, i.e. binder:'#myscrollingdiv'
+ Callback now has second parameter, options + pathParse function is executed in '_determinepath'
check for this.options in ._debug()
wp_infinite_scroll.php - Complete overhall of how jQuery is detected/loaded.
Wordpress Plugin Update - Updated to new options layout
jquery.infinitescroll.min.js - Recompiled for main file. wp_infinite_scroll.php - Bug fix for issue 70.
+ Cleaned up API a little + Grouped some common options(state and loading) into objects
+ You can now extend callbacks without having to basically replicate the entire '_loadcallback' function + Added cufon behavior + Modified manual-trigger behavior + Updated Masonry behavior
opts.callback was defined in _setup. Now you can define it in options as well or instead.
…ore deep/accurate wordpress functions to retrieve the URL layouts.