Re: [Jsdoc-user] Use javascript code in comments
Status: Inactive
Brought to you by:
mmathews
|
From: Gabriel R. <gab...@gm...> - 2005-12-30 11:36:17
|
Hi,
> Is it possible to use Javascript code in jsdoc comments?
>=20
> The following example doesn't output html as I
> would expect. JSDOC cut all the code in {}.
>=20
> /**
> * Fun=E7=E3o para cria=E7=E3o de classe. O m=E9todo de nome
> * "init" ser=E1 usado como construtor da classe.
> * <p>
> * Exemplo da cria=E7=E3o de uma classe:
> * <pre>
> * c1 =3D function() {this.__init__(arguments);}
> * c1.Class();
> * c1.prototype.init =3D function( msg ) {
> * this.msg =3D msg;
> * }
> * var obj =3D new c1( "Teste Objeto" );
> * </pre>
> *
> * @return Function
> */
Could you send me a small example JavaScript source file that I can use
to replicate this problem? I'm having trouble replicating it with=20
JSDoc 1.9.7.
Thanks,
Gabriel
|