imakewebthings/jquery-waypoints — Issue #34: Add a handler option
Author: ryanb
Created: 2011-12-15 20:08:10+00:00
State: open

Currently this plugin is difficult to use with CoffeeScript. While it's easy to pass the initial handler in:

```coffeescript
$('.entry').waypoint ->
alert('You have scrolled to an entry.')
```

It's not easy to add the second argument to this to customize the options. It would be nicer if a "handler" option were supported:

```coffeescript
$('.entry').waypoint ->
offset: '100%'
handler: ->
alert('You have scrolled to an entry.')
```

Would you consider adding this?