* (bug 25571) Xml::encodeJsVar now passes floats natively instead of converting to...
authorBrion Vibber <brion@users.mediawiki.org>
Mon, 14 Feb 2011 00:54:40 +0000 (00:54 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Mon, 14 Feb 2011 00:54:40 +0000 (00:54 +0000)
commit638b6751e1ed22baa85a6974757d461c2b71bbd3
treeb48ed5543ecc550994e9b27147f1a215a5b4a600
parentbdc93f0de835a3ef32c89965eb40c8d789543303
* (bug 25571) Xml::encodeJsVar now passes floats natively instead of converting to strings

Added unit test cases for int, float, and strings that look like int or float.
includes/Xml.php
tests/phpunit/includes/XmlTest.php