Opened 10 years ago

Closed 10 years ago

#8355 closed defect (fixed)

[jsdoc] strange mixing behavior in pseudo-docs

Reported by: dante Owned by: Neil Roberts
Priority: high Milestone: 1.4
Component: Doc parser Version: 1.2.3
Keywords: Cc: Adam Peller
Blocked By: Blocking:

Description

In dojox/analytics/Urchin.js I attepted to dojo.mixin(djConfig inside a psuedo-comment block. This has strange results:

http://api.dojotoolkit.org/jsdoc/dojo/1.2/djConfig reports urchin as the only available djConfig param

http://api.dojotoolkit.org/jsdoc/dojo/HEAD/djConfig reports all except urchin

and clicking on the version tabs: http://api.dojotoolkit.org/jsdoc/dojo/1.2/djConfig/.switch/HEAD

changes the version tab labels to "dojox 1.2" and "dojox HEAD", and only displays the urchin djConfig

a) how to doc the usage of a djConfig from outside of bootstrap b) ensure switching tabs in jsdoc maintains object relationships

Change History (5)

comment:1 Changed 10 years ago by dante

additionally, the actual docs for the urchin member are missing.

sample in question:

/*=====
dojo.mixin(djConfig,{
	// urchin: String
	//		Used by dojox.analytics.Urchin as the default UA-123456-7 account
	//		number used when being created. Alternately, you can pass an acct:"" 
	//		parameter to the constructor a la: new dojox.analytics.Urchin({ acct:"UA-123456-7" });
	urchin: ""
});
=====*/

comment:2 Changed 10 years ago by Adam Peller

similarly, all the mixins for dojo.number/dojo.date and dijit.form that we worked so hard on have all regressed on the live api doc site.

comment:3 Changed 10 years ago by Neil Roberts

Status: newassigned

comment:4 Changed 10 years ago by dante

Cc: Adam Peller added

the urchin portion of this ticket is resolved. @Peller, links to number/date examples where this regressed? is it fixed now too?

comment:5 Changed 10 years ago by dante

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.