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

Remove more unused requires #531

Merged
merged 1 commit into from
Apr 24, 2015
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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