Skip to content

Commit 4b879ab

Browse files
committed
Improve JSDoc.
1 parent 7b88309 commit 4b879ab

File tree

1 file changed

+3
-9
lines changed

1 file changed

+3
-9
lines changed

lib/strategy.js

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
/**
2-
* Module dependencies.
3-
*/
1+
// Load modules.
42
var passport = require('passport-strategy')
53
, url = require('url')
64
, util = require('util')
@@ -112,9 +110,7 @@ function OAuth2Strategy(options, verify) {
112110
this._skipUserProfile = (options.skipUserProfile === undefined) ? false : options.skipUserProfile;
113111
}
114112

115-
/**
116-
* Inherit from `passport.Strategy`.
117-
*/
113+
// Inherit from `passport.Strategy`.
118114
util.inherits(OAuth2Strategy, passport.Strategy);
119115

120116

@@ -345,7 +341,5 @@ OAuth2Strategy.prototype._createOAuthError = function(message, err) {
345341
};
346342

347343

348-
/**
349-
* Expose `OAuth2Strategy`.
350-
*/
344+
// Expose constructor.
351345
module.exports = OAuth2Strategy;

0 commit comments

Comments
 (0)