osdir.com
mailing list archive

Subject: cvs: pear /HTML_Javascript Javascript.php - msg#00665

List: php.cvs.pear

Date: Prev Next Index Thread: Prev Index
tal Fri May 31 16:33:47 2002 EDT

Modified files:
/pear/HTML_Javascript Javascript.php
Log:
* remove tests from bottom...

Index: pear/HTML_Javascript/Javascript.php
diff -u pear/HTML_Javascript/Javascript.php:1.1
pear/HTML_Javascript/Javascript.php:1.2
--- pear/HTML_Javascript/Javascript.php:1.1 Fri May 31 16:32:13 2002
+++ pear/HTML_Javascript/Javascript.php Fri May 31 16:33:47 2002
@@ -23,7 +23,7 @@
/**
* A class for converting PHP variables into Javascript variables
*
-* Usage:
+* Usage example:
*
* echo "<html><head><title>lala</title></head><body>";
* $js = new HTML_Javascript();
@@ -275,16 +275,4 @@
return $this->raiseError('No script started');
}
}
-}
-
-//TESTS
-echo "<html><head><title>lala</title></head><body>";
-$js = new HTML_Javascript();
-echo $js->startScript();
-echo $js->convertString("Hello,\n My name is tal peer", 'foo', true);
-echo $js->writeLine('foo', true);
-$a = array('foo','bar','foobarism',1,98,$js);
-echo $js->convertArray($a, 'bar', true);
-echo $js->writeLine('bar', true);
-echo $js->endScript();
-echo "</body></html>";
\ No newline at end of file
+}
\ No newline at end of file



--
PEAR CVS Mailing List (http://pear.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Was this page helpful?
Yes No
Thread at a glance:

Previous Message by Date: click to view message preview

cvs: pear /HTML_Javascript Javascript.php package.xml

tal Fri May 31 16:32:14 2002 EDT Added files: /pear/HTML_Javascript Javascript.php package.xml Log: Initial commit tal-20020531163214.txt Description: Text document -- PEAR CVS Mailing List (http://pear.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Previous Message by Thread: click to view message preview

cvs: pear /HTML_Javascript Javascript.php package.xml

tal Fri May 31 16:32:14 2002 EDT Added files: /pear/HTML_Javascript Javascript.php package.xml Log: Initial commit tal-20020531163214.txt Description: Text document -- PEAR CVS Mailing List (http://pear.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Next Message by Thread: click to view message preview

cvs: pear /HTML_Javascript Javascript.php package.xml

Sign up for updates to this mailing list. email:
Loading Comments...
Home | News | Patents | Sitemap | FAQ | advertise

Advertising by