We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
for code
/** * @param {number} millis * @param {function} callback * */ function sleep(millis, callback) { setTimeout(function() { callback(); }, millis); } sleep('a','b'); sleep('a','b');
I got only one error for callback(); line:
callback();
[Lint]: 'callback' is not a function
.tern-project
{ "ide":{}, "doc_comment":{"strong":true}, "lint":{}, "plugins":{ "lint":{ "config":{} }, "node":{} }, "libs": ["ecma5","browser"] }
I tried with 0.10 and 1.0.0.201507101609
The text was updated successfully, but these errors were encountered:
Sorry, something went wrong.
Its because doc_comment dorsnt support function param ihad created a pr for tern but it seems param function is not official
@paulvi with last version of ternjs it works now. But you must use upper case like:
@param {Function} callback
What is the difference between Function and function ?
Function
function
I don't know. When I have tested, it works like this
No branches or pull requests
for code
I got only one error for
callback();
line:.tern-project
I tried with 0.10 and
1.0.0.201507101609
The text was updated successfully, but these errors were encountered: