Open zqjimlove opened 8 years ago
tern.py call the startServer ,the params project is
startServer
project
{"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 : [];
var files = project && project.files ? project.files : [];
must be var files = project && project.config ? project.config.files : [];
var files = project && project.config ? project.config.files : [];
tern.py call the
startServer
,the paramsproject
isbut the controller.js line 15 is:
var files = project && project.files ? project.files : [];
must be
var files = project && project.config ? project.config.files : [];