NAME
HTML::Dojo - Provides the Dojo AJAX distribution files.
SYNOPSIS
use HTML::Dojo;
my $dojo = HTML::Dojo->new;
my @editions = $dojo->editions();
my @files = $dojo->list( \%options );
my $file = $dojo->file( $filename, \%options );
DESCRIPTION
HTML::Dojo provides the "dojo.js" and "iframe_history" files and the
entire "src" directory from the Dojo distribution
().
METHODS
new
$dojo->new( %options );
This returns a HTML::Dojo object.
Optional arguments are:
"edition"
editions
$dojo->editions();
This method returns a list of all available editions.
list
$dojo->list( \%options );
Returns an array-ref of all files available.
Optional arguments are:
"edition"
"directories", include directory names, default 0
"files", include ordinary-file names, default 1
file
$dojo->file( $filename, \%options )
Returns the contents of the named file.
Optional arguments are:
"edition"
SEE ALSO
, HTML::Prototype
SUPPORT
Catalyst mailing list:
http://lists.rawmode.org/mailman/listinfo/catalyst
AUTHOR
Carl Franks,
COPYRIGHT AND LICENSE
Copyright (C) 2006 by Carl Franks
This library is free software; you can redistribute it and/or modify it
under the same terms as Perl itself, either Perl version 5.8.8 or, at
your option, any later version of Perl 5 you may have available.
Copyright (c) 2004-2005, The Dojo Foundation
All Rights Reserved
The Dojo distribution files may be redistributed under either the
modified BSD license or the Academic Free License version 2.1.