| Page 1 of 1 | [ 5 posts ] |
|
For example, given the following:
var MyEnum = { foo: 1, bar: 2, baz: 3 }; What would be the best way to document that? With @class on MyEnum, and then @property on foo, bar, and baz with the respective values in the description? Is there a more formal method, or plans to add enum support to YUIDoc? |
|
Bump...
|
|
Yes, @class/@property is what you should use for an artificial enum.
|
|
I would add @static to @property as these properties are intances properties
|
|
Well I meant these properties are NOT intances properties
|
| Page 1 of 1 | [ 5 posts ] |
| You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum |
© 2006-2013 Yahoo! Inc. All rights reserved.
All code on this site is licensed under the BSD License unless stated otherwise.
About This Site · Security Contact Info
Powered by phpBB® Forum Software © phpBB Group