News for hackers. Stuff that matters.
Re:Smoke.js - A framework-agnostic styled alert/confirm syst... by wulczer on Sunday July 10, 2011 @10:44AM (#2747841)
Looks useful, but why make smoke.confirm work differently from plain confirm? It uglifies the API for no gain, IMHO.
Re:Smoke.js - A framework-agnostic styled alert/confirm syst... by georgefox on Sunday July 10, 2011 @10:50AM (#2747849)
How would you make it return true/false immediately when the user has to click OK or Cancel?
Re:Smoke.js - A framework-agnostic styled alert/confirm syst... by wulczer on Sunday July 10, 2011 @10:53AM (#2747856)
Oh, good point. I clearly need more caffeine in my system.