Hacker GitHub

← All repos

t4t5/sweetalert

View on GitHub ↗ ★ 22,238 TypeScript

A beautiful replacement for JavaScript's "alert"

6 mentions on Hacker News by 6 people: 1 story, 5 comments · first 2014-10-07 · latest 2017-05-31

Mentions per year 6 mentions · busiest year 2014 (5)
20082026
  1. …with more active development [3]. It has these two things (and probably many others) fixed. -- [0] https://github.com/t4t5/sweetalert/issues/590 [1] https://github.com/t4t5/sweetalert/blob/master/dev/modules/h... [2]…
    comment by helb · 2017-05-31 · in Show HN: Sweet Alerts
  2. …Most notably, the exact same "success" animation. https://news.ycombinator.com/item?id=8420902 https://github.com/t4t5/sweetalert
  3. …- 690 LOC to produce an alert dialog - Heavy use of Javascript for what CSS is designed for: https://github.com/t4t5/sweetalert/blob/master/lib/sweet-ale... - Inconsistent between function spacing followed by mixed tabs and spaces - Odd…
    comment by tshadwell · 2014-10-07 · in A replacement for JavaScript's “alert”
  4. Apologies, it appears that keyboard handlers have been added since I last tested this a few days ago. https://github.com/t4t5/sweetalert/commit/2413e5cbcd1fe3d6e1...
    comment by accessresource · 2014-10-07 · in A replacement for JavaScript's “alert”
  5. …only one function so this isn't useful if you want to run code when the user cancels the dialog: https://github.com/t4t5/sweetalert/blob/750a0fd72c3beaa6d4d7...