Mojolicious::Plugin::Notifications::Assets - Collect Assets of Notification Engines
use Mojolicious::Plugin::Notifications::Assets; my $assets = Mojolicious::Plugin::Notifications::Assets->new; $assets->scripts('/myscripts.js'); $assets->styles('/mystyles.css');
Mojolicious::Plugin::Notifications::Assets establishes a simple collector object for assets, used by Mojolicious::Plugin::Notifications.
my $assets = Mojolicious::Plugin::Notifications::Assets->new;
Create a new assets object.
$assets->scripts('/myscripts.js'); my @scripts = $assets->scripts;
Add scripts to the asset list or return the collected scripts in sorted order.
$assets->styles('/mystyles.css'); my @styles = $assets->styles;
Add styles to the asset list or return the collected styles in sorted order.
https://github.com/Akron/Mojolicious-Plugin-Notifications
Copyright (C) 2014-2015, Nils Diewald.
This program is free software, you can redistribute it and/or modify it under the terms of the Artistic License version 2.0.
To install Mojolicious::Plugin::Notifications, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Mojolicious::Plugin::Notifications
CPAN shell
perl -MCPAN -e shell install Mojolicious::Plugin::Notifications
For more information on module installation, please visit the detailed CPAN module installation guide.