deftjs/DeftJS — pull request #39 by brian428 (2012-08-01 06:13:07+00:00)
Title: Deftjs observe

Hopefully a good start on adding the observer feature.

All the specs pass against ExtJS 4.1, but when I tried it against Sencha Touch there were some spec failures. I tried to dig into it but I haven't used Touch much so I figured it would be better to get it into your hands to see if you can spot the problem quicker. Pretty sure it's in the preprocessor and/or the hooks somewhere. But a possibly related thing might be that with Touch, at constructor time it doesn't look like the injected objects are actually objects yet, but instead some sort of deferred object creation function? Could this be some sort of optimization that Touch does to conserve resources?

Anyway, hopefully this gets us most of the way at least.