HTML::Dojo - Provides the Dojo JavaScript / AJAX distribution 0.4.3 files.


HTML-Dojo documentation  | view source Contained in the HTML-Dojo distribution.

Index


NAME

Top

HTML::Dojo - Provides the Dojo JavaScript / AJAX distribution 0.4.3 files.

SYNOPSIS

Top

    use HTML::Dojo;

    my $dojo = HTML::Dojo->new;

    my @editions = $dojo->editions();

    my @files = $dojo->list( \%options );

    my $data = $dojo->file( $filename, \%options );

DESCRIPTION

Top

HTML::Dojo provides files from the Dojo JavaScript / AJAX distribution.

These files include the dojo.js file, the entire src directory, the iframe_history.html file, various *.swf files, the LICENSE, README and build.txt files.

METHODS

Top

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. Each edition represents a distribution file made available by the Dojo Foundation, and as such is subject to change with each release.

The current editions available are:

ajax
charting
dojoWebsite
editor
event_and_io
kitchen_sink
lfx
moxie
storage
widget
xdomain-ajax

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, default ajax.

SEE ALSO

Top

http://dojotoolkit.org, HTML::Prototype

SUPPORT

Top

Catalyst mailing list:

    http://lists.rawmode.org/mailman/listinfo/catalyst

AUTHOR

Top

Carl Franks, <cfranks@cpan.org>

COPYRIGHT AND LICENSE

Top


HTML-Dojo documentation  | view source Contained in the HTML-Dojo distribution.