You are here

public function JSMin::__construct in Javascript Aggregator 6

Same name and namespace in other branches
  1. 5 jsmin.php \JSMin::__construct()

File

./jsmin.php, line 69

Class

JSMin
jsmin.php - PHP implementation of Douglas Crockford's JSMin.

Code

public function __construct($input) {
  $this->input = str_replace("\r\n", "\n", $input);
  $this->inputLength = strlen($this->input);
}