sublime-tern icon indicating copy to clipboard operation
sublime-tern copied to clipboard

controller.js has bug!

Open zqjimlove opened this issue 8 years ago • 0 comments

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 : [];

zqjimlove avatar May 23 '16 12:05 zqjimlove