Closed TobiaszCudnik closed 11 years ago
I guess you don't have the browser definitions loaded, so window
isn't mapped to the top-level scope, and thus the window.myMod = {}
assignment isn't having the effect of defining a global variable.
Remove the window.
part, or add "browser"
to your .tern-project
's libs
setting.
Advanced example from the main demo doesn't work in Sublime. That is the following one:
After typing
myMod.^
I'm not getting any Tern's completion (there's the default word completion).I'm using Tern 0.4.0. Thanks.