@static

10 views
Skip to first unread message

mayer...@yahoo.com

unread,
Dec 18, 2014, 1:11:08 PM12/18/14
to yui...@googlegroups.com
Hi all, I have just started with the yui documentation tool. It seems like an awesome tool so far.

My question concerns the use of the @static descriptor in methods. I have a singleton class with a getInstance static method. I have added comments the following way:
/**
*
* @method getInstance
* @static
*/

   
ClassName.getInstance=function(){
   
return ClassName.instance||ClassName();
   
}



When I view my documentation in the browser, it shows as a method but does not mention that it is static:

Is this correct or is there a way to make it obvious that this is a static method?

Thanks


Ryuichi Okumura

unread,
Dec 19, 2014, 9:48:29 AM12/19/14
to yui...@googlegroups.com
Hi,

It's should be works, I'm not able to reproduce your problem. Could you provide your full code file?

Thanks!
Ryuichi

--
You received this message because you are subscribed to the Google Groups "yuidoc" group.
To unsubscribe from this group and stop receiving emails from it, send an email to yuidoc+un...@googlegroups.com.
To post to this group, send email to yui...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/yuidoc/c4412968-7c04-4deb-a7ab-5da27291bbc5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages