fredwu/jquery-endless-scroll — pull request #9 by jonstorer (2011-11-17 22:01:17+00:00)
Title: refactor default options merge to avert side effects.

setting options this way:

```
$.extend(defaults, options);
```
will overwrite the default variable with the param ```options```.

For example, If there are two endless scrolls on the page, the 2nd endless scroll could receive 'dirty' defaults from the first call.

This:

```
$.extend({}, defaults, options);
```
won't do that. It keeps defaults clean and separate from the intended options.