3 Commits

Author SHA1 Message Date
Jeff Williams
3dbb94f157 autodetect défault and repeatable parameters in ES2015 methods (#1144) 2016-01-14 17:23:37 -08:00
Tim Schaub
621f012211 Remove Rhino support 2015-10-30 13:11:43 -06:00
Jeff Williams
878115e1c1 autodetect string, boolean, and numeric default values of parameters (#555)
We ignore other types based on these assumptions:

1) It doesn't make sense to show variable identifiers, which may refer to (for example) module-private values that should not be documented.
2) If we tried to capture objects and arrays, we would have to iterate over them to see if they contain any variable identifiers, which would be a pain (and potentially confusing: "Why do some objects appear in the docs but not others?")
3) Most developers will not define complex default values in a function definition.
4) In many cases, object and array default values will be `{}` and `[]`, respectively, and usually those don't merit documentation.
2015-03-03 17:22:30 -08:00