> > @Thomas - I can see how this can be a problem if certain widgets modify > styles without adding new elements, but I thought that maybe patching #adopt > will be better, seeing that any new element is applied. The real problem is > how do you manage non-global filters - do you do this via the behaviorAPI? > if so, the apply method should be part of it no? >
There's no real difference between global filters and instance filters. The instance is just checked for a match first, allowing you to create filters that aren't universal. There's absolutely no reason that a filter should be able to invoke Behavior's apply method. > So Table is basically a minimized Hash? > Sort of. It's basically a Hash that can have any kind of key. That's pretty much its entire feature set. It actually has fewer methods than Hash (by far).
