Jeff Williams
3b5db81d92
fix closures with multiple lends tags ( #569 )
...
There were three separate problems here:
1. The visitor called `trackVars` at the wrong time for `AssignmentExpression` and `VariableDeclarator` nodes, which prevented JSDoc from setting the `funcscope` property correctly.
2. The `funcscope` property was being added to `VariableDeclarator` nodes. It should only be added to `AssignmentExpression` nodes.
3. We were trying to resolve the variable name `____` in `AssignmentExpression` nodes. This is a special value we add to the source code so that the `lends` tag will work, and it should never be resolved against the enclosing scope.
The previous, buggy behavior looked reasonable in most cases, but it didn't work for closures that contain multiple `lends` tags.
2014-03-16 19:58:34 -07:00
Jeff Williams
c6fd086f4b
comment
2014-03-16 19:38:03 -07:00
Tim Popham
c1617b8e1f
Add "Mixins" to module view
2014-03-14 12:50:49 -07:00
Jeff Williams
f9e36811ae
add links to 3rd-party templates; update copyright
2014-03-12 09:26:38 -07:00
Jeff Williams
2c1d466b83
fix Rhino crash on EmptyStatement nodes ( #597 )
...
Rhino commit: jsdoc3/rhino@b5607c5e6f
2014-03-06 20:53:01 -08:00
Jeff Williams
36832c8fec
bump revision
2014-03-04 13:48:15 -08:00
Jeff Williams
49ad746e49
trailing whitespace cleanup
2014-03-04 13:47:57 -08:00
Jeff Williams
dd27185ad9
fix issues with doclet names that are filepaths ( #590 )
...
Prior to this fix, if a file was outside of the JSDoc
directory, and your code included something like a
`@file` tag, we would set the doclet's name to the
entire filepath instead of the shortened filepath.
With this fix, we set the name to the shortened
filepath.
2014-03-04 12:31:09 -08:00
Jeff Williams
72b595143c
enable trailing-whitespace check
2014-03-03 07:43:12 -08:00
Jeff Williams
48e6c392d5
huge whitespace cleanup
...
- remove all trailing whitespace
- for consistency, replace all tabs with spaces
2014-03-03 07:43:01 -08:00
Jeff Williams
0a05ede45c
whitespace
2014-03-02 19:20:51 -08:00
Jeff Williams
dda4e00f88
bump revision
2014-03-02 16:33:34 -08:00
Jeff Williams
ab9ca215a1
exclude subdirectories of included directories ( #484 )
2014-03-02 16:30:30 -08:00
Jeff Williams
e095462a57
delint
2014-03-02 16:13:59 -08:00
Jeff Williams
fb63fb8daa
whitespace
2014-03-02 15:41:27 -08:00
Jeff Williams
39daa9ab23
hide source location if outputSourceFiles is false ( #571 )
...
revised fix to address the regression in #592
2014-03-01 08:18:08 -08:00
Jeff Williams
3caf49520d
Revert "hide source location if outputSourceFiles is false ( #571 )"
...
Caused regression #592 .
This reverts commit 8a50d1f064fc719e4099faf426d81e45690f07fd.
2014-03-01 08:09:43 -08:00
Jeff Williams
60c7c8a606
add debugging properties to AST nodes ( #589 )
2014-02-26 08:31:53 -08:00
Jeff Williams
2442df893d
allow newDoclet event handlers to modify doclets ( #584 )
2014-02-23 20:34:38 -08:00
Jeff Williams
4e3e4a0151
fix lends tag inside nested function calls ( #565 )
...
plus some minor test cleanup
2014-02-23 20:16:16 -08:00
Jeff Williams
ec93145550
fix the lends tag inside of closures ( #573 )
2014-02-23 09:36:59 -08:00
Jeff Williams
2a61c9f613
oops, forgot to commit a new test fixture ( #574 )
2014-02-16 09:35:27 -08:00
Jeff Williams
ce75a89955
bump revision
2014-02-16 09:15:49 -08:00
Jeff Williams
8a50d1f064
hide source location if outputSourceFiles is false ( #571 )
2014-02-16 09:15:14 -08:00
Jeff Williams
34d98ed438
add @also to tag definitions ( #574 )
...
This tag is used internally. It previously caused
"not a known tag" errors when
tags.allowUnknownTags was set to false.
2014-02-16 08:39:32 -08:00
Jeff Williams
8afd06613f
alphabetize the tag definitions
2014-02-16 07:55:51 -08:00
Jeff Williams
3ae23b8b21
provide a setter for doclet scope ( #574 )
...
We previously set the doclet's scope by adding a
`@scope` tag, which, in turn, was used to update
the scope. Since this tag isn't defined or used in
any other context, it could cause "not a known
tag" errors.
2014-02-16 07:44:28 -08:00
Jeff Williams
f4a38b442f
exclude the "jsdoc" shell script correctly ( #577 )
2014-02-15 21:50:03 -08:00
Jeff Williams
e68f049537
bump revision
2014-02-15 14:57:50 -08:00
Jeff Williams
d51faa18d1
update Marked; suppress IDs in headings ( #582 )
2014-02-15 14:57:35 -08:00
Jeff Williams
98d646a270
exit with an error if a test fails ( #570 )
2014-02-15 14:35:17 -08:00
Jeff Williams
29dc3df42b
point to tarballs instead of git+https URLs ( #581 )
2014-02-15 14:06:02 -08:00
Jeff Williams
99a601b531
bump revision
2014-02-15 14:06:02 -08:00
Jeff Williams
e486377ad5
fix "module not found" errors on Windows ( #533 )
...
hat tip to @opengl-8080 for the fix!
2014-02-15 13:50:51 -08:00
Jeff Williams
6d62a114bf
fix line break
2014-02-12 08:54:21 -08:00
Jeff Williams
4f8e9fb5dc
don't use npm to install the Rhino version ( #577 )
2014-02-10 21:14:43 -08:00
Jeff Williams
43b6920085
document new properties on module.exports ( #500 )
2014-02-01 20:12:24 -08:00
Jeff Williams
c96a1215bd
add a warning about potential crashes ( #554 )
2014-02-01 19:36:34 -08:00
Jeff Williams
7b297d063a
display required modules for methods ( #563 )
2014-02-01 19:30:25 -08:00
Jeff Williams
d82928342c
allow for members that can trigger events ( #568 )
2014-02-01 19:25:55 -08:00
Jeff Williams
e007f71c86
typo
2014-01-31 08:08:23 -08:00
Jeff Williams
1c0c06f588
explain npm permissions issue and solution ( #572 )
2014-01-31 08:07:33 -08:00
Jeff Williams
ae93b5e614
add omitNodes option to hide AST nodes
2014-01-26 15:05:15 -08:00
Jeff Williams
733eb6bc47
log objects in events more consistently
2014-01-26 09:37:36 -08:00
Jeff Williams
28b467f3a8
punctuation
2014-01-25 20:57:31 -08:00
Jeff Williams
74e8fc7cbf
Merge pull request #557 from nschonni/patch-1
...
Add link to Grunt plug-in
2014-01-25 20:56:52 -08:00
Jeff Williams
5f0894b202
bump revision
2014-01-25 20:53:51 -08:00
Jeff Williams
80bd9e628f
fix Rhino breakage on Windows ( #533 )
...
includes a new Rhino .jar:
https://github.com/jsdoc3/rhino/commit/0d8fe75b
2014-01-25 20:46:39 -08:00
Jeff Williams
844fb2f47f
improvements to logging code
2014-01-25 20:45:08 -08:00
Jeff Williams
d8abd452a4
Merge branch 'master' of github.com:jsdoc3/jsdoc
2014-01-25 15:54:01 -08:00