addyosmani/backbone-aura — pull request #82 by tony (2012-08-15 18:05:16+00:00)
Title: make aura files pass jshint

jshint blitz and cleaning on backbone-aura. enable jshint on aura and get them to pass. wasn't going to pull this but after sitting on it, it did help overall readability when the code follows a singular convention as if one person wrote it. tests do pass, but not sure if certain alterations could have larger ramifications.

* use zepto's isObject (https://github.com/madrobby/zepto/blob/master/src/zepto.js#L50), complains `=== Object` isn't initialized with `new`.
* hasOwnProperty bad name issue with jshint
* bad name issue: `hasOwnProperty.call` (http://jsperf.com/hasownproperty-call-vs-direct/7) to `loooong.obj.hasOwnProperty`
* tabs/spaces
* remove per file jshint options and globals. the whole project follows the same jshint config.
* switch out double negatives with `hasOwnProperty`. Another option is `typeof obj !== undefined`.