brandonblack/mongo-tools — pull request #48 by hoangelos (2013-02-22 17:55:33+00:00)
Title: Add JSON validation on the fly capability

Add ability to flash messages with JavaScript
To use: flash($('#selector'), 'error', 'Message');
param 1 => jQuery selector to prepend the error message.
param 2 => log level [error, info, etc]
param 3 => message to display

Add validation on the fly for anything that has class of formatted.