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

Commit

Permalink
Remove more unused requires
Browse files Browse the repository at this point in the history
  • Loading branch information
pgrodrigues committed Apr 23, 2015
1 parent 9a9db26 commit b2d76b8
Show file tree
Hide file tree
Showing 9 changed files with 3 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@
/**
* Module dependencies.
*/
var _ = require('lodash'),
path = require('path'),
var path = require('path'),
mongoose = require('mongoose'),
Article = mongoose.model('Article'),
errorHandler = require(path.resolve('./modules/core/server/controllers/errors.server.controller'));
Expand Down
1 change: 0 additions & 1 deletion modules/users/server/config/strategies/facebook.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
* Module dependencies.
*/
var passport = require('passport'),
url = require('url'),
FacebookStrategy = require('passport-facebook').Strategy,
users = require('../../controllers/users.server.controller');

Expand Down
1 change: 0 additions & 1 deletion modules/users/server/config/strategies/github.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
* Module dependencies.
*/
var passport = require('passport'),
url = require('url'),
GithubStrategy = require('passport-github').Strategy,
users = require('../../controllers/users.server.controller');

Expand Down
1 change: 0 additions & 1 deletion modules/users/server/config/strategies/google.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
* Module dependencies.
*/
var passport = require('passport'),
url = require('url'),
GoogleStrategy = require('passport-google-oauth').OAuth2Strategy,
users = require('../../controllers/users.server.controller');

Expand Down
1 change: 0 additions & 1 deletion modules/users/server/config/strategies/linkedin.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
* Module dependencies.
*/
var passport = require('passport'),
url = require('url'),
LinkedInStrategy = require('passport-linkedin').Strategy,
users = require('../../controllers/users.server.controller');

Expand Down
1 change: 0 additions & 1 deletion modules/users/server/config/strategies/twitter.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
* Module dependencies.
*/
var passport = require('passport'),
url = require('url'),
TwitterStrategy = require('passport-twitter').Strategy,
users = require('../../controllers/users.server.controller');

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@
/**
* Module dependencies.
*/
var _ = require('lodash'),
path = require('path'),
var path = require('path'),
errorHandler = require(path.resolve('./modules/core/server/controllers/errors.server.controller')),
mongoose = require('mongoose'),
passport = require('passport'),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,10 @@
/**
* Module dependencies.
*/
var _ = require('lodash'),
path = require('path'),
var path = require('path'),
config = require(path.resolve('./config/config')),
errorHandler = require(path.resolve('./modules/core/server/controllers/errors.server.controller')),
mongoose = require('mongoose'),
passport = require('passport'),
User = mongoose.model('User'),
nodemailer = require('nodemailer'),
async = require('async'),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ var _ = require('lodash'),
path = require('path'),
errorHandler = require(path.resolve('./modules/core/server/controllers/errors.server.controller')),
mongoose = require('mongoose'),
passport = require('passport'),
User = mongoose.model('User');

/**
Expand Down

0 comments on commit b2d76b8

Please sign in to comment.