-
Notifications
You must be signed in to change notification settings - Fork 210
New issue
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
Callback tag/type #33
Comments
I also think this would be nice... Currently for callback parameters I use helpers that applies the same css:
result: http://image.gxzone.com/images/f/d/fdb05564fe5.png helpers: var def = function (type){
module.exports[type] = function (){
return "<a target='_blank' class='crosslink external type' style='border-bottom: 1px do" +
"tted #AFAFAF' onmouseover='this.style.borderBottom = \"\";' onmouseout='this.s" +
"tyle.borderBottom = \"1px dotted #AFAFAF\";' href='https://developer.mozilla.o" +
"rg/en/JavaScript/Reference/Global_Objects/" + type + "'>" + type + "</a>";
};
};
module.exports = {};
def ("Array");
def ("Boolean");
def ("Date");
def ("Function");
def ("Iterator");
def ("Number");
def ("Object");
def ("RegExp");
def ("String"); |
Other documentation tools that I've used have a |
I would be very interested in a YUIDoc implementation of typedef as well (JSDoc3 has it). It is cumbersome to specify the same callback definition everywhere you use it over and over again. |
OK, OK. I'd take a look in the near future. All thoughts are appreciated for now. |
@okuryu :D |
It would be nice to be able to document function callbacks and reference these from functions like this.
The text was updated successfully, but these errors were encountered: