Who has not put "alert" around his javascript code to try and see what happens and solve tons of errors we get to bring in so few lines ... Come on, I bet everyone at least once.
I just found an alternative to these alerts much more powerful as the "Blackbird". This is an opensource project which is located at the following address: http://www.gscottolson.com/blackbirdjs/ and is super simple to implement.
Here's what it looks like:
This little popup is placed on the current page and displays the messages we have simply added via "log.debug ()," "log.info ()", "log.warn ()" or "log . error () ".
Another nice feature, the ability to profile the execution time of a block javascript. Simply enclose the block in question with "log.profile ()" and voila.
. . . → Read More: JavaScript, better than alert: Blackbird


