[Jsdoc-user] Object/Class declaration in separate file/function
Status: Inactive
Brought to you by:
mmathews
|
From: <mb...@we...> - 2006-01-05 14:42:36
|
I'm trying to use a function to dynamically create objects from a string
instead of creating all objects and subobjects manually. Example:
myFunction("A.B.C");
performs the following:
A =3D new function() {};
A.B =3D new function() {};
A.B.C =3D new function() {};
This function is in a separate file, but I don't think that matters.
In my actual JS files I simply call myFunction and proceed to define
functions on that object. But since in that file the object isn't
explicitly declared, JSDoc doesn't seem to be picking it up.
Is there any way to tweak JSDoc or use a tag as a workaround to get it to
recognize the object?
Thanks,
Mike
---
mb...@we...
http://mikebulman.typepad.com
Webmail.us, Inc.
"The Email Hosting Company"
|