Hi,
how should I document this piece of code:
// Is this class?
colors = {
// Is this method?
"red" : function() {
// Do something...
}
// Still method?
"black" : {
// So what is this?
"black-1" : function() { /* Do something */ }
}
}
I am using YUI Doc.
These tags are available
- @module
- @class
- @method
- @event
- @property