nmbug.js: Add dialog-polyfill dependency for Firefox
authorW. Trevor King <wking@tremily.us>
Sat, 20 Sep 2014 23:52:38 +0000 (16:52 -0700)
committerW. Trevor King <wking@tremily.us>
Sun, 21 Sep 2014 12:18:58 +0000 (05:18 -0700)
commitf0c5d08edebe30de17f248d2003fa7a4560ed409
treefb17989cf72c753f104392749e8882f47225fd66
parent97d9e496ea6498f44126910daa51562c919d3f30
nmbug.js: Add dialog-polyfill dependency for Firefox

It looks like Firefox doesn't support the <dialog> element yet [1,2],
so this commit dynamically loads the polyfill replacement [3].  Since
the polyfill files load asynchronously, I need to use onload to decide
when they've all made it down (setting the async property to false
didn't seem to work).

[1]: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/dialog
[2]: https://bugzilla.mozilla.org/show_bug.cgi?id=840640
[3]: https://github.com/GoogleChrome/dialog-polyfill
bower.json
nmbug.js