paulirish/infinite-scroll — Issue #105: _nearbottom behavior call doesn't pass up return value
Author: ryleyb
Created: 2011-12-07 23:59:25+00:00
State: open

I'm throwing together a localMode plugin and I noticed that in _nearbottom the behavior call doesn't return the behavior's result, so it's impossible to actually override this behavior.

```javascript
return this['_nearbottom_'+opts.behavior].call(this);
//do that instead of this
this['_nearbottom_'+opts.behavior].call(this);
return;

```