cvs: pear /HTML_Javascript/tests output.php
| From: | Tal Peer | Date: | Fri, 09 Aug 2002 08:58:11 +0000 |
| Subject: | cvs: pear /HTML_Javascript/tests output.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-5649@lists.php.net to get a copy of this message | ||
tal Fri Aug 9 04:58:11 2002 EDT
Added files:
/pear/HTML_Javascript/tests output.php
Log:
* Added tests for output direction
Index: pear/HTML_Javascript/tests/output.php
+++ pear/HTML_Javascript/tests/output.php
<?php
/**
* A file intended for testing output direction in the HTML_Javascript class
*/
require_once('HTML/Javascript.php');
$js = new HTML_Javascript();
$js->setOutputMode(HTML_JAVASCRIPT_OUTPUT_FILE, '/tmp/out.js');
$js->prompt('Foo?', 'foo', 'Bar!');
$js->alert('Muhahaha!');
?>