estanglerbm opened a new pull request #969:
URL: https://github.com/apache/royale-asjs/pull/969


   1.  Needed to enumerate an ObjectMap, but WeakMap doesn't have enumeration.  
So added a constructor option to force Map to be used instead of WeakMap if 
enumeration is needed (thought it would be better than subclassing just for 
that option), and implemented forEach().  Choose forEach() due to the wider 
browser support, over iteration.  Didn't implement forEach() for the really old 
browsers.
   
   2.  Implemented the JS side of XMLNotifier.  XMLNotifier multiplexes XML 
notifications.  A complication is that JS doesn't have arguments.callee due to 
strict, so added an extra first arg to the internal notification function that 
communicates between XML and XMLNotifier, only on JS (for SWF, still uses the 
original method).
   
   3.  Implemented many (but not all) XML notifications for JS.  They are sent 
for the current node only if setNotification() was called.  For the bubbling-up 
of notifications through the parent, need to set static XML.recursiveNotify = 
true (it is disabled by default).  Tested JS notification behavior against 
Flex, for a few levels of nodes and attributes.  Have not tested complex QNames.
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to