Iheartweb/AthenaUIFramework — pull request #13 by Jimgskoop (2011-12-07 09:22:08+00:00)
Title: on athena ready deferred notify triggering, now with deferred list

Made changes to athena.js so that now there's a list of Deferred objects. An unresolved Deferred object is placed into the DeferredList and gets added to the $node's data whenever $node.observe is called. After Athena is done executing, that Deferred object is marked as resolved(), triggering all the cached notify event-triggers. Then a fresh Deferred object is pushed onto the DeferredList, becoming available for any later calls to observe().