News for hackers. Stuff that matters.
Re:Smoke.js - A framework-agnostic styled alert/confirm syst... by chris_engel on Sunday July 10, 2011 @04:29PM (#2748549)
I wouldn't use it, because it doesn't use the main hotkeys for user interaction on the alert box (enter, space) or the confirm box (enter, space, escape).

I also would have liked it better, if the default functions of alert and confirm would have been overwritten, instead of recreated into an object. Overwriting the existent functions would have been made it a snap to integrate smoke.js into existing projects.

Re:Smoke.js - A framework-agnostic styled alert/confirm syst... by frankil on Sunday July 10, 2011 @06:05PM (#2748722)
To my knowledge, you can't overwrite the existent confirm function because you can't pause the running of JS like the standard function does.