Same name in other branches
- 5.0.x advagg_js_minify/jsminplus.inc \JSMinPlus::isValidIdentifier()
- 6.0.x advagg_js_minify/jsminplus.inc \JSMinPlus::isValidIdentifier()
- 7.x-1.x advagg_js_compress/jsminplus.inc \JSMinPlus::isValidIdentifier()
- 7.x-2.x advagg_js_compress/jsminplus.inc \JSMinPlus::isValidIdentifier()
- 8.x-2.x advagg_js_minify/jsminplus.inc \JSMinPlus::isValidIdentifier()
- 8.x-4.x advagg_js_minify/jsminplus.inc \JSMinPlus::isValidIdentifier()
1 call to JSMinPlus::isValidIdentifier()
- JSMinPlus::parseTree dans advagg_js_minify/
jsminplus.inc
Fichier
-
advagg_js_minify/
jsminplus.inc, line 757
Classe
Code
private function isValidIdentifier($string) {
return preg_match('/^[a-zA-Z_][a-zA-Z0-9_]*$/', $string) && !in_array($string, $this->reserved);
}