crosswalk-project/crosswalk — pull request #1108 by fyraimar (2013-11-12 04:42:10+00:00)
Title: [Android][Extensions] Rename EventHandler's event type and Implement on(at|de)tach function

1. The type name in the addEventListener() should be 'attach' instead of
'onattach' according to the W3C spec.

2. Support another method to add a listener, for example:
navigator.system.onattach = function() {...}