akquinet/jquery-toastmessage-plugin — pull request #22 by vanderlee (2013-02-03 11:37:37+00:00)
Title: Simpler call interface

The current call interface (API) to toastmessage is somewhat uncommon and needlessly complicated. This is my simplified interface

Current:
$().toastmessage('showNoticeToast', 'some message here');

In my version:
$.toastmessage('notice', 'some message here');

Basically, it rids of the uncommon and wasteful '$()' notation and shortens the 'method' strings.

Additionally, you can now add a boolean to indicate stickyness. I use this particular switch for half the messages and this way I don't have to drop down to the object-using syntax.