Do not load DSL rules on JavaScript platforms

This commit is contained in:
Riccardo Azzolini 2019-02-11 15:11:59 +01:00
parent 2e36bc83bf
commit fd074b16b7

View File

@ -46,7 +46,9 @@ public class RulesManager {
loadBuiltinRules(); loadBuiltinRules();
try { try {
loadDslRules(); if (!Engine.getPlatform().isJavascript()) {
loadDslRules();
}
boolean compiledSomething = false; boolean compiledSomething = false;
InputStream defaultRulesList; InputStream defaultRulesList;