sublime-tern
sublime-tern copied to clipboard
controller.js has bug!
tern.py call the startServer
,the params project
is
{"config": {"libs": ["jquery"], "files": ["/Users/inwoo/work/FrontEnd_Git/ibary-mobile/dist/**/*.js"]}, "id": "/Users/inwoo/Library/Application Support/Sublime Text 3/Packages/User/Projects/project.sublime-project", "dir": "/Users/inwoo/Library/Application Support/Sublime Text 3/Packages/User/Projects", "files": []}
but the controller.js line 15 is: var files = project && project.files ? project.files : [];
must be var files = project && project.config ? project.config.files : [];