WWW-Scripter-Plugin-JavaScript-0.003 (alpha) A plugin for WWW::Scripter that provides JavaScript support This distribution contains: WWW::Scripter::Plugin::JavaScript 0.003 — The JavaScript plugin WWW::Scripter::Plugin::JavaScript::JE 0.004 — A back end for JE RECENT CHANGES (See the Changes file for the long version.) 0.003 ----- • Support for HTML::DOM 0.032’s new event handler model. This fixes various bugs involving event handler properties (‘theForm .onsubmit’). • The JE back end now supports those utterly useless HTML-generating methods of string objects that have been part of JavaScript since the very beginning. • The scope of an event handler now includes the document object. • HTML::DOM’s UTF-16 methods are now used, so textNode.data.length is equivalent to textNode.length. • The havoc caused by JavaScript accessing frames whose documents con- tain no scripts has been mostly cleaned up. • Various other bug fixes 0.002c ------ This release simply fixes a test to check for JE 0.035 instead of JE 0.034 before deciding not to skip a test. (The JE back end has been bumped to version 0.003 as its docs have changed.) 0.002b ------ The JE back end now turns on JE’s HTML mode (to support HTML comments embedded in JavaScript). Version 0.034 of JE is required for this fea- ture to work. INSTALLATION The easiest way to install this module is to use the CPAN module or the cpan script: [sudo] perl -MCPAN -e "install WWW::Scripter::Plugin::JavaScript" [sudo] cpan WWW::Scripter::Plugin::JavaScript Or you can use the following: perl Makefile.PL make make test [sudo] make install DEPENDENCIES This module requires: - perl 5.8.3 or higher (5.8.4 or higher recommended) - JE 0.038 or higher - HTML::DOM 0.032 or higher - CSS::DOM - WWW::Scripter 0.007 or higher - Hash::Util::FieldHash::Compat - URI - LWP 5.815 or higher DOCUMENTATION After installing, you can find documentation for these modules with the perldoc command. perldoc WWW::Scripter::Plugin::JavaScript perldoc WWW::Scripter::Plugin::JavaScript::JE Or try using man (it's faster, in my experience): man WWW::Scripter::Plugin::JavaScript man WWW::Scripter::Plugin::JavaScript::JE COPYRIGHT AND LICENCE Copyright © 2009 Father Chrysostomos This program is free software; you may redistribute it and/or modify it under the same terms as perl.