Skip to content
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

unsolvable error #39

Closed
furesoft opened this issue Aug 6, 2015 · 1 comment
Closed

unsolvable error #39

furesoft opened this issue Aug 6, 2015 · 1 comment

Comments

@furesoft
Copy link

furesoft commented Aug 6, 2015

hi, i use oop.js to create classes.

but when i use it i get this error: NiL.JS.Core.JSException occurred
HResult=-2146233088
Message=TypeError: undefined is not callable
Source=NiL.JS
StackTrace:
bei NiL.JS.Expressions.New.ThisSetter.Evaluate(Context context) in c:\Users\Дмитрий\Documents\Projects\NiL.JS\NiL.JS\Expressions\New.cs:Zeile 46.
InnerException:

but it works in browser

i really need your help

@nilproject
Copy link
Owner

Because it's bug of oop.js (see those lines). To fix it add this line in oop.js: "var global = function () { return this }();"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants