griddly-bear/griddly-bear — pull request #82 by thedeuceII (2014-06-17 14:57:15+00:00)
Title: Code Updates

Adjusted code so it is in sync with local software's changes -- repo code was one commit behind internal changes; this PR brings it up to date.

#### Changes/Local Synchronization:
* Indentation fixed throughout
* onDataSuccess and onDataFailure objects added
* Changed thrown error in getJSON to use onDataFailure
* Changed success in getJSON to use onDataSuccess