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

Commit

Permalink
remove async module
Browse files Browse the repository at this point in the history
  • Loading branch information
et committed Oct 23, 2013
1 parent 9af341b commit 1846287
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 8 deletions.
3 changes: 1 addition & 2 deletions app/controllers/articles.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
* Module dependencies.
*/
var mongoose = require('mongoose'),
async = require('async'),
Article = mongoose.model('Article'),
_ = require('underscore');

Expand Down Expand Up @@ -88,4 +87,4 @@ exports.all = function(req, res) {
res.jsonp(articles);
}
});
};
};
3 changes: 1 addition & 2 deletions app/controllers/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,11 @@
* Module dependencies.
*/
var mongoose = require('mongoose'),
async = require('async'),
_ = require('underscore');


exports.render = function(req, res) {
res.render('index', {
user: req.user ? JSON.stringify(req.user) : "null"
});
};
};
4 changes: 1 addition & 3 deletions config/routes.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
var async = require('async');

module.exports = function(app, passport, auth) {
//User Routes
var users = require('../app/controllers/users');
Expand Down Expand Up @@ -77,4 +75,4 @@ module.exports = function(app, passport, auth) {
var index = require('../app/controllers/index');
app.get('/', index.render);

};
};
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@
"passport-github": "latest",
"passport-google-oauth": "latest",
"underscore": "latest",
"async": "latest",
"view-helpers": "latest",
"mean-logger": "latest",
"forever": "latest",
Expand Down

0 comments on commit 1846287

Please sign in to comment.