blob: ce98acb5cb0a618f003eea1e698da09ad4faa1ef (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
perl-Mojolicious-Plugin-Humane - Mojolicious integration for humane.js
perl-Mojolicious-Plugin-Humane is a Mojolicious plugin allowing easy use of humane.js,
a browser notification handler (http://wavded.github.com/humane-js/).
By default the template needed to render the messages is injected only if needed.
For infrequent use, this is less costly overall and less to think about.
If messages are to be used frequently or perhaps humane.js is to also be used without reloading the page
(via websockets perhaps) then turn the auto feature off and add the template to your layout manually.
Internally this plugin uses the (non-localized) stash keys humane.stash and humane.flash.
Other stash keys starting with humane. are reserved for future use should be avoided.
|