News for hackers. Stuff that matters.
Re:Vis.js: A Visual Interaction System by tzury on Tuesday April 15, 2014 @06:27PM (#7594719)
Nice, though when I test the examples (edit items [1]), I would expect better than confirm/alert usage.

1. http://visjs.org/examples/timeline/08_edit_items.html

Re:Vis.js: A Visual Interaction System by abuzzooz on Wednesday April 16, 2014 @12:50AM (#7596185)
It's just an example to illustrate the callback functionality. The focus is on the visualization part, not the popup.
Re:Vis.js: A Visual Interaction System by jamiesonbecker on Tuesday April 15, 2014 @10:28PM (#7595709)
What's wrong with confirm/alert? It's built into javascript, mobile friendly, and a lot less buggy than most libraries.
Re:Vis.js: A Visual Interaction System by TuringTest on Wednesday April 16, 2014 @09:50AM (#7597713)
It's modal, so it blocks the entire browser until the dialog is dismissed. That's terrible interaction design, except for actions that would melt your computer.

I understand that the library focus is on visualization and not on realistic and usable examples; I put the blame on browser implementors - they should have fixed that problem years ago, instead of relying on developers to do the right thing.

Edit - Update: I've tried it on Firefox and it does the right thing, blocking only the current tab; blocking the whole application must be a Chrome-only thing.