maccman/spine — pull request #282 by abernier (2012-05-01 00:50:06+00:00)
Title: In prevision of zepto tests...

Remove jQuery references in the code in favor of $.

`$` library is now passed as a mocha environment variable `process.env.DOLLAR`, see: https://github.com/abernier/spine/pull/new/mocha#L7R25

--

A trick I used:

Rather using:
```coffeescript
Spine = (global or window).Spine or require 'spine'
```
I use:
```coffeescript
Spine = do -> @Spine ? require 'spine'
```
In fact, lambda makes it loose its context so `this` — inside the lambda — is bound to the `global`/`window` object.