[aerogear-dev] [SPS-JS] navigator.setMessageHandler Vs navigator.mozSetMessageHandler

Sebastien Blanc scm.blanc at gmail.com
Thu Feb 6 03:42:26 EST 2014


Hi,
Mozilla specifies[1] a function called "mozSetMessageHandler" while we
named this function "setMessageHandler" in our polyfill [2] . This is the
handler for incoming push notifications.

I'm not really a big fan of specific prefixes but again if we want to be
really polyfill here, we should align.
wdyt ?

Seb



[1]
https://developer.mozilla.org/en-US/docs/Web/API/Navigator.mozSetMessageHandler
[2]
https://github.com/aerogear/aerogear-js/blob/master/src/simplepush/aerogear.simplepush.js#L152
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/aerogear-dev/attachments/20140206/0bc9c800/attachment.html 


More information about the aerogear-dev mailing list