# Affair
Lightweight JavaScript events library, based on Backbone.js Events, but without Underscore.js

# Get It

- `bower install affair`

# API

## on - `object.on(event, callback, [context])` - *Aliased to: `bind`*

## off - `object.off([event], [callback], [context])` - *Aliased to: `unbind`*

## trigger - `object.trigger(event, [*args])`

## once - `object.once(event, callback, [context])`

## listenTo - `object.listenTo(other, event, callback)`

## stopListening - `object.stopListening([other], [event], [callback])`

## listenToOnce - `object.listenToOnce(other, event, callback)`

# License
[MIT](http://jbrooksuk.mit-license.org)

# Affair
Lightweight JavaScript events library, based on Backbone.js Events, but without Underscore.js

# Get It

- `bower install affair`

# API

### on - `object.on(event, callback, [context])` - *Aliased to: `bind`*

### off - `object.off([event], [callback], [context])` - *Aliased to: `unbind`*

### trigger - `object.trigger(event, [*args])`

### once - `object.once(event, callback, [context])`

### listenTo - `object.listenTo(other, event, callback)`

### stopListening - `object.stopListening([other], [event], [callback])`

### listenToOnce - `object.listenToOnce(other, event, callback)`

# License
[MIT](http://jbrooksuk.mit-license.org)

Set header level one more
Set header level one more
