2895 Commits

Author SHA1 Message Date
Jeff Williams
5512af9677 update package schema, and add tests to validate package objects against the schema (#788) 2014-10-22 13:31:04 -07:00
Jeff Williams
53d2ed719b prevent cruft in Package objects (#787) 2014-10-22 12:22:22 -07:00
Jeff Williams
7471685fa9 show the inheritance chain for modules that export a single constructor (#594) 2014-10-22 09:41:11 -07:00
Jeff Williams
e5a3479beb fix an accidental method-signature change 2014-10-20 09:48:42 -07:00
Jeff Williams
ce79d0d5f2 bump revision 2014-10-20 09:35:46 -07:00
Jeff Williams
c81ace882e extract more information from package.json files; add tests (#710) 2014-10-20 09:34:54 -07:00
Jeff Williams
0ec138653e use the non-deprecated property for license info 2014-10-20 09:32:24 -07:00
Jeff Williams
c45fdaa0c3 allow any file to be used as a package or README file (#708) 2014-10-17 12:46:52 -07:00
Jeff Williams
25ffab0676 prevent a crash when a package file specifies a name, but not a version 2014-10-17 12:44:35 -07:00
Jeff Williams
8d36936454 remove dead code 2014-10-17 12:25:12 -07:00
Jeff Williams
9e699ff8a9 omit non-enumerable properties from cloned objects (#784)
Drastically improves performance in some cases (for example, when using the `--explain`/`-X` option).
2014-10-15 16:18:19 -07:00
Jeff Williams
c832f24e57 remove unused requires 2014-10-15 16:01:03 -07:00
Jeff Williams
d28d15eb72 remove unused code 2014-10-15 15:50:25 -07:00
Jeff Williams
c510b336d2 fix performance regression caused by 2eb3c46 (#784) 2014-10-15 09:38:19 -07:00
Jeff Williams
2b34c5167a clarify logic for resolving property parents 2014-10-15 08:51:37 -07:00
Jeff Williams
79a3be132c hoist requires 2014-10-14 15:21:44 -07:00
Jeff Williams
8003ce1498 cleanup 2014-10-14 09:30:45 -07:00
Jeff Williams
2eb3c467ee handle enums that are part of a chain of assignments (#702)
We now add the enum properties to all of the symbols in the assignment chain, rather than just the first symbol.
2014-10-12 13:47:01 -07:00
Jeff Williams
e69001d7cf correct a comment 2014-10-12 13:44:12 -07:00
Jeff Williams
8f231c12b5 enable a test case 2014-10-12 13:32:15 -07:00
Jeff Williams
68ceb33ec3 stop adding a scope property to module doclets that include an exports tag (#782) 2014-10-11 15:09:53 -07:00
Jeff Williams
bb8a66291a use enum value for global scope 2014-10-11 14:57:30 -07:00
Jeff Williams
f77984df55 fix name resolution when the exports tag is used on a pointer to the module's exports object (#404) 2014-10-11 09:58:51 -07:00
Jeff Williams
1774569850 delint 2014-10-10 15:19:52 -07:00
Jeff Williams
612b96c2cb remove obsolete note from README 2014-10-09 14:24:45 -07:00
Jeff Williams
8238bc3e34 update Catharsis (fixes #652 and #767) 2014-10-08 10:57:25 -07:00
Jeff Williams
c083ab7bd1 remove unused test; cleanup 2014-10-07 08:54:22 -07:00
Jeff Williams
413c7eb186 whitespace 2014-10-07 08:53:48 -07:00
Jeff Williams
00b9dbb8c8 don't write empty class descriptions to template output (#741) 2014-10-07 08:52:32 -07:00
Jeff Williams
3b865dde3f Merge remote-tracking branch 'brjs/fix-classdesc-in-modules' 2014-10-07 08:45:24 -07:00
Jeff Williams
4eb86a13a2 handle object literals whose property names must be escaped in a regexp (#775) 2014-10-05 21:35:45 -07:00
Jeff Williams
765abd9a10 cleanup 2014-10-05 21:31:24 -07:00
Jeff Williams
df7a1e0232 do not add an exception's description and type to the parent doclet; avoid circular refs when cloning an object (#772) 2014-10-05 21:17:25 -07:00
Jeff Williams
b594458c4d update committed dependencies 2014-09-22 15:48:18 -07:00
Jeff Williams
908e5e6076 do not unescape entities in Markdown tutorials (#743) 2014-09-22 15:42:10 -07:00
Jeff Williams
ebb6b2284f cleanup 2014-09-22 15:35:46 -07:00
Jeff Williams
010cd739b2 bump revision 2014-09-19 13:01:28 -07:00
Jeff Williams
73998951b1 fix exports tag when the module object is passed to an AMD function (#642)
- Do not mark the doclet for the module object as undocumented.
- Track variables (including aliases) within the parent scope, so the members are resolved against the alias instead of the name used in the code.
2014-09-19 09:01:14 -07:00
Jeff Williams
71de4acaf0 cleanup 2014-09-19 08:49:11 -07:00
Jeff Williams
d527f3e6b0 prevent crash when a returns tag does not have a value (#751) 2014-09-05 15:30:21 -07:00
Jeff Williams
e093716ebe handle sparse arrays correctly in nodeToString (#749) 2014-09-05 15:12:57 -07:00
Dominic Chambers
982d4ddb88 Updated the template so it now display the @classdesc for classes
defined within the modules.
2014-08-20 21:15:06 +01:00
Jeff Williams
6328336d1d cleanup 2014-08-19 16:27:19 -07:00
Jeff Williams
81d74b9b92 remove scope property from module doclets (#742) 2014-08-19 12:51:30 -07:00
Jeff Williams
55f40e1085 cleanup 2014-08-19 12:49:06 -07:00
Dominic Chambers
fea85645e0 Display the class description even when the class is defined within a
module.
2014-08-19 17:45:33 +01:00
Dominic Chambers
f2f8d74d22 Added failing test that should work (it works within the template) and
which otherwise explains how the class information is available for use
within module documentation pages.
2014-08-19 17:41:56 +01:00
Dominic Chambers
28cb42de33 Added missing coverage around modules that contain a default CommonJs
class being exported within the module -- this has actually shown that
the doclets produced are probably correct, and that the bug is likely to
be within the template.
2014-08-19 16:53:58 +01:00
Jeff Williams
2ed4a0320b if we can't find the scope for a virtual comment, set the doclet's scope to global (#684) 2014-08-18 17:32:21 -07:00
Jeff Williams
109ae920a6 correct comments 2014-08-18 16:49:46 -07:00