3 ms·
Are these the definitive docs: http://code.google.com/closure/compiler/docs/js-for-compiler.html http://code.google.com/closure/compiler/docs/js-for-compiler...
by euroclydon 15y ago
Are these the definitive docs: http://code.google.com/closure/compiler/docs/js-for-compiler.html http://code.google.com/closure/compiler/docs/js-for-compiler...
Because I don't see square brackets for optional in there.
- nfriedly 15y agoIt might not be part of the official spec, but it's a convention that we use in my office and I've seen a number of other places as well. [edit] Here we go. This is the JSDoc we use, and presumably Protovis does too. Take a look at the Optional Parameters section: http://code.google.com/p/jsdoc-toolkit/wiki/TagParam http://code.google.com/p/jsdoc-toolkit/wiki/TagParam