Skip to content

Commit

Permalink
fix(package.json): updated dependencies that were causing issues with…
Browse files Browse the repository at this point in the history
… npm install

closes #106, #107
  • Loading branch information
DaftMonk committed Mar 2, 2014
1 parent e50383a commit 1874cdf
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
12 changes: 5 additions & 7 deletions templates/common/_package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,11 @@
"dependencies": {
"express": "~3.4.3",
"lodash": "~2.4.1"<% if (mongo) { %>,
"mongoose": "~3.5.5"<% } %><% if (mongoPassportUser) { %>,
"mongoose-unique-validator": "~0.3.0",
"mongoose": "~3.8.8"<% } %><% if (mongoPassportUser) { %>,
"connect-mongo": "~0.4.0",
"passport": "latest",
"passport-local": "latest"<% } %><% if (jade) { %>,
"jade": "latest"<% } %><% if (!jade) { %>,
"passport": "~0.2.0",
"passport-local": "~0.1.6"<% } %><% if (jade) { %>,
"jade": "~1.2.0"<% } %><% if (!jade) { %>,
"ejs": "~0.8.4"<% } %>
},
"devDependencies": {
Expand All @@ -24,8 +23,7 @@
"grunt-contrib-copy": "~0.4.1",
"grunt-contrib-cssmin": "~0.7.0",
"grunt-contrib-htmlmin": "~0.1.3",
"jpegtran-bin": "0.2.0",
"grunt-contrib-imagemin": "~0.3.0",
"grunt-contrib-imagemin": "~0.5.0",
"grunt-contrib-jshint": "~0.7.1",
"grunt-contrib-uglify": "~0.2.0",
"grunt-contrib-watch": "~0.5.2",
Expand Down
2 changes: 1 addition & 1 deletion templates/javascript/controllers/signup.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ angular.module('<%= scriptAppName %>')
// Update validity of form fields that match the mongoose errors
angular.forEach(err.errors, function(error, field) {
form[field].$setValidity('mongoose', false);
$scope.errors[field] = error.type;
$scope.errors[field] = error.message;
});
});
}
Expand Down

0 comments on commit 1874cdf

Please sign in to comment.