Skip to content
This repository has been archived by the owner on Jul 9, 2021. It is now read-only.

Commit

Permalink
[fixed] fixed minor spacing issue in jsdocPlugin
Browse files Browse the repository at this point in the history
  • Loading branch information
thealjey committed Jan 8, 2016
1 parent 607ff33 commit 423522a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion config/jsdoc.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"plugins": ["jsdocPlugin.js", "plugins/markdown"],
"plugins": ["jsdocPlugin", "plugins/markdown"],
"templates": {
"includeDate": false,
"linenums": true,
Expand Down
2 changes: 1 addition & 1 deletion config/jsdocPlugin.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ exports.handlers = {
beforeParse: function (e) {
if (extension === extname(e.filename)) {
comments = e.source.match(commentPattern);
e.source = comments ? e.source.split(commentPattern).reduce(function(result, source, i) {
e.source = comments ? e.source.split(commentPattern).reduce(function (result, source, i) {
return result + source.replace(notNewLinePattern, '') + comments[i];
}, '') : e.source.replace(notNewLinePattern, '');
}
Expand Down

0 comments on commit 423522a

Please sign in to comment.