Skip to content

Commit 49ad746

Browse files
committed
trailing whitespace cleanup
1 parent dd27185 commit 49ad746

40 files changed

+120
-121
lines changed

CONTRIBUTING.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
Pull Requests
22
-------------
33

4-
If you're thinking about making some changes, maybe fixing a bug, or adding a
5-
snazzy new feature, first, thank you. Contributions are very welcome. Things
6-
need to be manageable for the maintainers, however. So below you'll find **The
4+
If you're thinking about making some changes, maybe fixing a bug, or adding a
5+
snazzy new feature, first, thank you. Contributions are very welcome. Things
6+
need to be manageable for the maintainers, however. So below you'll find **The
77
fastest way to get your pull request merged in.** Some things, particularly how
88
you set up your branches and work with git, are just suggestions, but pretty good
99
ones.
@@ -14,7 +14,7 @@ ones.
1414

1515
git remote add base git://github.com/jsdoc3/jsdoc.git
1616

17-
Here 'base' is the name of the remote. Feel free to use whatever you want.
17+
Here 'base' is the name of the remote. Feel free to use whatever you want.
1818

1919
2. **Set up a tracking branch for the base repository**
2020
We're gonna call this your ```<tracking branch>```. You will only ever update
@@ -64,6 +64,6 @@ ones.
6464
links it.
6565

6666
If it's a feature, provide some context about the motivations behind the feature,
67-
why it's important/useful/cool/necessary and what it does/how it works. Don't
67+
why it's important/useful/cool/necessary and what it does/how it works. Don't
6868
worry about being too verbose. Folks will be much more amenable to reading through
6969
your code if they know what its supposed to be about.

cli.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@
22
* Helper methods for running JSDoc on the command line.
33
*
44
* A few critical notes for anyone who works on this module:
5-
*
5+
*
66
* + The module should really export an instance of `cli`, and `props` should be properties of a
77
* `cli` instance. However, Rhino interpreted `this` as a reference to `global` within the
88
* prototype's methods, so we couldn't do that.
99
* + On Rhino, for unknown reasons, the `jsdoc/fs` and `jsdoc/path` modules can fail in some cases
1010
* when they are required by this module. You may need to use `fs` and `path` instead.
11-
*
11+
*
1212
* @private
1313
*/
1414
module.exports = (function() {

jsdoc.js

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
global.env = {
1515
/**
1616
* Running start and finish times.
17-
*
17+
*
1818
* @memberof env
1919
*/
2020
run: {
@@ -32,15 +32,15 @@ global.env = {
3232

3333
/**
3434
* The parsed JSON data from the configuration file.
35-
*
35+
*
3636
* @type Object
3737
* @memberof env
3838
*/
3939
conf: {},
4040

4141
/**
4242
* The absolute path to the base directory of the JSDoc application.
43-
*
43+
*
4444
* @private
4545
* @type string
4646
* @memberof env
@@ -58,7 +58,7 @@ global.env = {
5858

5959
/**
6060
* The command-line options, parsed into a key/value hash.
61-
*
61+
*
6262
* @type Object
6363
* @memberof env
6464
* @example if (global.env.opts.help) { console.log('Helpful message.'); }
@@ -74,7 +74,7 @@ global.env = {
7474

7575
/**
7676
* The JSDoc version number and revision date.
77-
*
77+
*
7878
* @type Object
7979
* @memberof env
8080
*/
@@ -93,7 +93,7 @@ global.env = {
9393

9494
/**
9595
* Data that must be shared across the entire application.
96-
*
96+
*
9797
* @namespace
9898
* @name app
9999
*/
@@ -109,7 +109,7 @@ global.app = {
109109
* Recursively print an object's properties to stdout. This method is safe to use with objects that
110110
* contain circular references. In addition, on Mozilla Rhino, this method is safe to use with
111111
* native Java objects.
112-
*
112+
*
113113
* @global
114114
* @name dump
115115
* @private

lib/jsdoc/doclet.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ Doclet.prototype.postProcess = function() {
189189

190190
/**
191191
* Add a tag to the doclet.
192-
*
192+
*
193193
* @param {string} title - The title of the tag being added.
194194
* @param {string} [text] - The text of the tag being added.
195195
*/
@@ -231,7 +231,7 @@ Doclet.prototype.setMemberof = function(sid) {
231231

232232
/**
233233
* Set the doclet's `longname` property.
234-
*
234+
*
235235
* @param {string} name - The longname for the doclet.
236236
*/
237237
Doclet.prototype.setLongname = function(name) {
@@ -289,9 +289,9 @@ Doclet.prototype.setScope = function(scope) {
289289
this.scope = scope;
290290
};
291291

292-
/**
292+
/**
293293
* Add a symbol to this doclet's `borrowed` array.
294-
*
294+
*
295295
* @param {string} source - The longname of the symbol that is the source.
296296
* @param {string} target - The name the symbol is being assigned to.
297297
*/
@@ -336,7 +336,7 @@ Doclet.prototype.augment = function(base) {
336336

337337
/**
338338
* Set the `meta` property of this doclet.
339-
*
339+
*
340340
* @param {object} meta
341341
*/
342342
Doclet.prototype.setMeta = function(meta) {

lib/jsdoc/src/visitor.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ Visitor.prototype.visit = function(node, filename) {
126126
/**
127127
* Verify that a block comment exists and that its leading delimiter does not contain three or more
128128
* asterisks.
129-
*
129+
*
130130
* @private
131131
* @memberof module:jsdoc/src/parser.Parser
132132
*/

lib/jsdoc/src/walker.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/**
22
* Traversal utilities for ASTs that are compatible with the Mozilla Parser API. Adapted from
33
* [Acorn](http://marijnhaverbeke.nl/acorn/).
4-
*
4+
*
55
* @module jsdoc/src/walker
66
* @license MIT
77
*/

lib/jsdoc/tag/dictionary/definitions.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -603,7 +603,7 @@ exports.defineTags = function(dictionary) {
603603

604604
var MODULE_PREFIX = require('jsdoc/name').MODULE_PREFIX;
605605

606-
// inline link tags are passed through as-is so that `@requires {@link foo}` works
606+
// inline link tags are passed through as-is so that `@requires {@link foo}` works
607607
if ( require('jsdoc/tag/inline').isInlineTag(tag.value, 'link\\S*') ) {
608608
requiresName = tag.value;
609609
}

lib/jsdoc/tag/inline.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/**
22
* @module jsdoc/tag/inline
3-
*
3+
*
44
* @author Jeff Williams <[email protected]>
55
* @license Apache License 2.0 - See file 'LICENSE.md' in this project.
66
*/

lib/jsdoc/tag/type.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/**
22
* @module jsdoc/tag/type
3-
*
3+
*
44
* @author Michael Mathews <[email protected]>
55
* @author Jeff Williams <[email protected]>
66
* @license Apache License 2.0 - See file 'LICENSE.md' in this project.
@@ -146,7 +146,7 @@ function getTagInfo(tagValue, canHaveName, canHaveType) {
146146
/**
147147
* Extract JSDoc-style type information from the name specified in the tag info, including the
148148
* member name; whether the member is optional; and the default value of the member.
149-
*
149+
*
150150
* @private
151151
* @param {module:jsdoc/tag/type.TagInfo} tagInfo - Information contained in the tag.
152152
* @return {module:jsdoc/tag/type.TagInfo} Updated information from the tag.

lib/jsdoc/util/logger.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ logger.warn = wrapLogFunction('warn', console.warn);
215215

216216
/**
217217
* Set the log level.
218-
*
218+
*
219219
* @param {module:jsdoc/util/logger.LEVELS} level - The log level to use.
220220
*/
221221
logger.setLevel = function setLevel(level) {

0 commit comments

Comments
 (0)