Amon2
view release on metacpan - search on metacpan
view release on metacpan or search on metacpan
lib/Amon2/Setup/Asset/jQuery.pm view on Meta::CPAN
# This file is generated by author/assets.pl. Do not edit manually.
package Amon2::Setup::Asset::jQuery;
use strict;
use warnings;
sub tags {
<<',,,';
<script src="<: uri_for('/static/js/jquery-3.6.1.min.js') :>"></script>
,,,
}
sub files {
return {
'js/jquery-3.6.1.min.js' => '/*! jQuery v3.6.1 | (c) OpenJS Foundation and other contributors | jquery.org/license */
!function(e,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return t(e)}:t(e)}("undefined"!=typeof windo...
'
}
;
}
# for backward compatibility
sub run {
warn "THIS METHOD WAS DEPRECATED";
my ($self, $flavor) = @_;
$flavor->mkpath('static/js/');
$flavor->write_file_raw("static/js/jquery-3.6.1.min.js", $self->files->{'jquery-3.6.1.min.js'});
}
1;
view all matches for this distributionview release on metacpan - search on metacpan
( run in 1.396 second using v1.00-cache-2.02-grep-82fe00e-cpan-2c419f77a38b )