Same name in other branches
  1. 5.0.x advagg_js_minify/jspacker.inc \JavaScriptPacker::JSFUNCTION_encode62
  2. 6.0.x advagg_js_minify/jspacker.inc \JavaScriptPacker::JSFUNCTION_encode62
  3. 7.x-1.x advagg_js_compress/jspacker.inc \JavaScriptPacker::JSFUNCTION_encode62
  4. 7.x-2.x advagg_js_compress/jspacker.inc \JavaScriptPacker::JSFUNCTION_encode62
  5. 8.x-3.x advagg_js_minify/jspacker.inc \JavaScriptPacker::JSFUNCTION_encode62
  6. 8.x-4.x advagg_js_minify/jspacker.inc \JavaScriptPacker::JSFUNCTION_encode62

Fichier

advagg_js_minify/jspacker.inc, line 560

Classe

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));
}';