includes/js-compressor.php
changeset 1382 78fbedb876f3
parent 1290 27ab1b13a783
equal deleted inserted replaced
1381:6b25c6bfd246 1382:78fbedb876f3
   302 
   302 
   303 class BaseConvert {
   303 class BaseConvert {
   304 	
   304 	
   305 	var	$base, $baseLength;
   305 	var	$base, $baseLength;
   306 	
   306 	
   307 	function BaseConvert($base) {
   307 	function __construct($base) {
   308 		$this->base = &$base;
   308 		$this->base = &$base;
   309 		$this->baseLength = strlen($base);
   309 		$this->baseLength = strlen($base);
   310 	}
   310 	}
   311 	
   311 	
   312 	function toBase($num) {
   312 	function toBase($num) {