ternjs / tern_for_sublime

Sublime Text package adding Tern support
MIT License
803 stars 54 forks source link

TernDef returns "TypeError: cannot read property 'url' of null #112

Closed jaapz closed 8 years ago

jaapz commented 8 years ago

I don't know for sure, but this is probably related to #111. See that issue for the config I am currently using.

When I import something from backbone marionette like this:

import {ItemView} from 'backbone.marionette';

And I run :TernDef on the ItemView, I get the error as described in the title.

As with the other issue, importing it with the * solves autocompletion and TernDef issues:

import * as Mn from 'backbone.marionette';
jaapz commented 8 years ago

Sorry I just realized this is the wrong repository, I will move it to the correct repo.