wkeese / old-api-viewer

Old viewer for output of old js-doc-parse, replaced by https://github.com/dojo/dapi
22 stars 10 forks source link

has() documentation #48

Closed kitsonk closed 6 months ago

kitsonk commented 12 years ago

This probably affects js-doc-parser as well, but we don't have any inline documentation for has() features. I am not sure what is appropriate, but we should have something, as you have to simply "guess" at what the feature is.

wkeese commented 12 years ago

Yeah I agree, probably something to hack it into the existing infrastructure like having some fake module (similar to dojo/NodeList) where all the other modules that define flags add their definitions into that fake module.

kitsonk commented 12 years ago

Yeah, I guess that makes sense... extending the has object with each feature as a property? Other modules that do a has.add() could do the same and then it would all collapse back to dojo/has.

wkeese commented 12 years ago

Yah. Well, probably not the has object itself, but an object within it, like dojo/has.__Flags.