You are here

constant JavaScriptPacker::JSFUNCTION_encode62 in Advanced CSS/JS Aggregation 6

Same name and namespace in other branches
  1. 8.4 advagg_js_minify/jspacker.inc \JavaScriptPacker::JSFUNCTION_encode62
  2. 8.2 advagg_js_minify/jspacker.inc \JavaScriptPacker::JSFUNCTION_encode62
  3. 8.3 advagg_js_minify/jspacker.inc \JavaScriptPacker::JSFUNCTION_encode62
  4. 7.2 advagg_js_compress/jspacker.inc \JavaScriptPacker::JSFUNCTION_encode62
  5. 7 advagg_js_compress/jspacker.inc \JavaScriptPacker::JSFUNCTION_encode62

File

advagg_js_compress/jspacker.inc, line 544

Class

JavaScriptPacker

Code

const JSFUNCTION_encode62 = 'function($charCode) {
    return ($charCode < _encoding ? \'\' : arguments.callee(parseInt($charCode / _encoding))) +
    (($charCode = $charCode % _encoding) > 35 ? String.fromCharCode($charCode + 29) : $charCode.toString(36));
}';