Closed n1k0 closed 11 years ago
Sublime Text 2 build 2220, latest TernJS package from PC:
Traceback (most recent call last): File "./sublime_plugin.py", line 236, in on_query_completions File "./tern.py", line 430, in on_query_completions completions = ctx.js().locals.ternHints(view, proj.get('id', 'empty')) TypeError: TypeError: Cannot read property 'fnType' of undefined ( lib/infer.js @ 842 : 45 ) -> var inner = node.body.scope, fn = inner.fnType;
Workaround: @n1ko exclude some third-party libraries from your project. See ternjs.exclude in *.sublime-project.
@n1k0 you should address this issue to @marijnh with example code.
Sublime Text 2 build 2220, latest TernJS package from PC: