Commit | Line | Data |
5460f713 |
1 | package Moose::Website::Resource::jQuery; |
2 | use Moose; |
5f71bb62 |
3 | use Resource::Pack; |
5460f713 |
4 | |
5 | our $VERSION = '0.01'; |
6 | our $AUTHORITY = 'cpan:STEVAN'; |
7 | |
5f71bb62 |
8 | extends 'Resource::Pack::Resource'; |
9 | |
10 | has '+name' => (default => 'jquery'); |
11 | |
12 | sub BUILD { |
13 | my $self = shift; |
14 | |
15 | resource $self => as { |
16 | install_to 'js'; |
17 | url core => 'http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js'; |
18 | }; |
19 | } |
5460f713 |
20 | |
21 | __PACKAGE__->meta->make_immutable; |
22 | |
5f71bb62 |
23 | no Moose; no Resource::Pack; 1; |
5460f713 |
24 | |
25 | __END__ |
26 | |
27 | =pod |
28 | |
29 | =head1 NAME |
30 | |
31 | Moose::Website::Resource::jQuery - A Moosey solution to this problem |
32 | |
33 | =head1 SYNOPSIS |
34 | |
35 | use Moose::Website::Resource::jQuery; |
36 | |
37 | =head1 DESCRIPTION |
38 | |
39 | =head1 METHODS |
40 | |
41 | =over 4 |
42 | |
43 | =item B<> |
44 | |
45 | =back |
46 | |
47 | =head1 BUGS |
48 | |
49 | All complex software has bugs lurking in it, and this module is no |
50 | exception. If you find a bug please either email me, or add the bug |
51 | to cpan-RT. |
52 | |
53 | =head1 AUTHOR |
54 | |
55 | Stevan Little E<lt>stevan.little@iinteractive.comE<gt> |
56 | |
57 | =head1 COPYRIGHT AND LICENSE |
58 | |
59 | Copyright 2010 Infinity Interactive, Inc. |
60 | |
61 | L<http://www.iinteractive.com> |
62 | |
63 | This library is free software; you can redistribute it and/or modify |
64 | it under the same terms as Perl itself. |
65 | |
66 | =cut |