mirror of
https://github.com/Eaglercraft-TeaVM-Fork/eagler-teavm.git
synced 2024-12-22 16:14:10 -08:00
Prevent minifier from generating NaN function
This commit is contained in:
parent
f5c6ac9c5d
commit
50573f4f06
|
@ -24,7 +24,8 @@ public final class RenderingUtil {
|
|||
public static final Set<String> KEYWORDS = Collections.unmodifiableSet(new HashSet<>(Arrays.asList("break", "case",
|
||||
"catch", "class", "const", "continue", "debugger", "default", "delete", "do", "else", "export",
|
||||
"extends", "finally", "for", "function", "if", "import", "in", "instanceof", "new", "return",
|
||||
"super", "switch", "this", "throw", "try", "typeof", "var", "void", "while", "with", "yield")));
|
||||
"super", "switch", "this", "throw", "try", "typeof", "var", "void", "while", "with", "yield",
|
||||
"NaN")));
|
||||
public static final String VARIABLE_START_CHARS = "abcdefghijklmnopqrstuvwxyz";
|
||||
public static final String VARIABLE_PART_CHARS = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789";
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user