bruth/synapse — Issue #11: Add constructor parameter, `extend`, to extend and return the coerced object
Author: bruth
Created: 2011-11-21 20:18:06+00:00
State: open

Derived from #1. The `Synapse` constructor can take a boolean designating whether to wrap the passed in object with the public API methods `observe`, `notify`, and `sync`, i.e. `Synapse(object, [extend])`:

```javascript
var elem = Synapse('input', true), // returns the matched object for the hook (e.g. jQuery object)
data = Synapse({}, true);

data.observe(elem);

elem instanceof jQuery; // true
```