chaplinjs/chaplin — pull request #696 by paulmillr (2013-10-20 22:57:43+00:00)
Title: Optional jquery

This makes jQuery dependency totally optional for Chaplin.

Of course, Backbone in this case must be replaced with [Scoliosis](https://github.com/paulmillr/scoliosis).

* [ ] Run tests in non-safari
* [ ] replace all `webkitMatchesSelector` with cross-platform
* [ ] Instead of doing runtime checks for `if $`, do them only once in file headers:

```coffeescript
# instead of
if $
$viewEl.addClass @animationStartClass
else
viewEl.classList.add @animationStartClass

# do
addClass = do ->
if $
(elem, cls) -> elem.addClass cls
else
(elem, cls) -> elem.classList.add cls

```