justindomingue/ohSnap — pull request #2 by Torone (2013-10-07 09:53:31+00:00)
Title: Allowing alerts to accept icons before text.

One more parameter to pass:

// This will render a question point before text:
ohSnap('glyphicon glyphicon-question-sign', 'Oh Snap! I cannot process your card...', 'red');

// No icon to show, just pass '' or null:
ohSnap('', 'Oh Snap! I cannot process your card...', 'red');