fabien-d / alertify.js

JavaScript Alert/Notification System
http://fabien-d.github.com/alertify.js/
4.26k stars 725 forks source link

boolean alerts fail #193

Open MinnesotaDeveloper opened 10 years ago

MinnesotaDeveloper commented 10 years ago

The following fails to pop up an alert:

var b = isIOS(); alertify.alert(b);

Where isIOS is a javascript funciton that returns a true or false value. Regular javascript alert display true or false when a boolean is passed. It would make sense that alertify would automatically convert a boolean to a string.

PS: I am using : /! alertify - v0.3.11 - 2013-10-08 /