Jesse Luehrs
and 1 contributors

NAME

Resource::Pack::jQuery - Resource::Pack resource for the jQuery Javascript library

VERSION

version 0.01

SYNOPSIS

  my $resource = Resource::Pack::jQuery->new(
      install_to => '/var/www/js',
      version    => '1.4.2',
  );
  $resource->install;

DESCRIPTION

This provides the jQuery library as a Resource::Pack resource.

ATTRIBUTES

version

The desired jQuery version. Required, if use_bundled is false.

minified

Whether or not the Javascript should be minified. Defaults to true.

use_bundled

If true, uses the bundled copy of jquery-1.4.2.min.js that is shipped with this dist (and ignores the other attributes). Otherwise, uses the values of version and minified to download a copy of the library from http://code.jquery.com/.

BUGS

No known bugs.

Please report any bugs through RT: email bug-resource-pack-jquery at rt.cpan.org, or browse to http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Resource-Pack-jQuery.

SEE ALSO

Resource::Pack

http://jquery.com/

SUPPORT

You can find this documentation for this module with the perldoc command.

    perldoc Resource::Pack::jQuery

You can also look for information at:

AUTHOR

  Jesse Luehrs <doy at tozt dot net>

  John Resig is the author of jQuery

COPYRIGHT AND LICENSE

This software is copyright (c) 2010 by Jesse Luehrs.

This is free software; you can redistribute it and/or modify it under the same terms as perl itself.

The bundled copy of jQuery is copyright (c) 2010 The jQuery Project. It is licensed under either the MIT license or the GPLv2.