Skip to content

Dependency to 'window' variable to make it runable on iOS/Android/JAVA #119

@hackmar

Description

@hackmar

hi, i want use your rule engine in iOS, Android and JAVA without a browser window. When i load the nools.js i get the exception "Can't find variable: window".

On JAVA i fixed that with the env.js script to simulate the window. And i replaced some java reserved words like static, throws, byte,.. After that, it runs in JAVA.

Have you a workaround that the window variable is not needed? I use on iOS the JSContext to load and execute the code.

Best regards,
Marco

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions