-
Notifications
You must be signed in to change notification settings - Fork 78
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
sourceIsEvt is not defined - when used with TypeScript and target ES6 #238
Comments
@boeckMt not sure it's actually a global a simple |
@Knochenmark, yes I used the same trick. But I think this repo is no longer actively developed. Maybe someone of the forkers is willing to fix bugs. |
Signed-off-by: Samir Romdhani <[email protected]>
Signed-off-by: Samir Romdhani <[email protected]>
Fixed, PR: #266 |
Hello,
i'm trying to use jsonix in an Angular 8 application, wenn setting the TypeScript target to ES6/ES2015 there is an ReferenceError because 'sourceIsEvt' was not declared before it is used.
which is pointing to nodejs/scripts/jsonix.js
and i think the same in scripts/src/main/javascript/org/hisrc/jsonix/Jsonix/Util.js
I don't see any further usage of this variable in the code so is it possible to declare it with 'var' or is there any reason why this variable should by global?
And if it should be global then maybe it could be declared like this:
The text was updated successfully, but these errors were encountered: