swingley/cereal — pull request #4 by odoe (2014-03-05 15:33:36+00:00)
Title: replaced connect with Evented/on, added missing semicolons, removed a gl...

...obal field variable, adjusted definitions of field variable, defer not returning the promise prop, worked anyway, but still added it.

So yeah, main fix here was removing `dojo/connect` and having the class extend Evented to listen for a load event. While I was in there noticed a couple of other things I happened to clean up if you don't mind. Noticed the `Deferred` object wasn't return the promise, but it worked. I added it anyway though.