js: fix issue in obfuscated mode

This commit is contained in:
Alexey Andreev 2023-08-04 10:27:44 +02:00
parent 7aefaf37ed
commit 35f1284ac5

View File

@ -40,7 +40,7 @@ public class JSWrapperGenerator implements Injector, DependencyPlugin {
break; break;
case "isJava": case "isJava":
context.writeExpr(context.getArgument(0)); context.writeExpr(context.getArgument(0));
context.getWriter().append(" instanceof ").appendFunction("$rt_objcls").append("()"); context.getWriter().append(" instanceof ").append("$rt_objcls").append("()");
break; break;
} }
} }