You are here

public function JSTokenizer::getInput in Advanced CSS/JS Aggregation 7.2

Same name and namespace in other branches
  1. 8.4 advagg_js_minify/jsminplus.inc \JSTokenizer::getInput()
  2. 8.2 advagg_js_minify/jsminplus.inc \JSTokenizer::getInput()
  3. 8.3 advagg_js_minify/jsminplus.inc \JSTokenizer::getInput()
  4. 6 advagg_js_compress/jsminplus.inc \JSTokenizer::getInput()
  5. 7 advagg_js_compress/jsminplus.inc \JSTokenizer::getInput()
1 call to JSTokenizer::getInput()
JSTokenizer::get in advagg_js_compress/jsminplus.inc

File

advagg_js_compress/jsminplus.inc, line 1965
JSMinPlus version 1.4

Class

JSTokenizer

Code

public function getInput($chunksize) {
  if ($chunksize) {
    return substr($this->source, $this->cursor, $chunksize);
  }
  return substr($this->source, $this->cursor);
}