Permalink
Browse files

make 'grunt' task work again as per contributing guidelines

  • Loading branch information...
1 parent f746212 commit 7895956d0129c0dd4b67f2215b8ac779e924e8a0 @makeusabrew committed Sep 27, 2016
Showing with 4 additions and 3 deletions.
  1. +2 −2 bootbox.js
  2. +2 −1 package.json
View
@@ -20,7 +20,7 @@
if (typeof $ === "undefined") {
module.exports = factory(require("jquery"));
} else {
- module.exports = factory($);
+ module.exports = factory($); // jshint ignore:line
}
} else {
@@ -660,7 +660,7 @@
* modal has performed certain actions
*/
- dialog.one("hide.bs.modal", function(e) {
+ dialog.one("hide.bs.modal", function() {
dialog.off("escape.close.bb");
dialog.off("click");
});
View
@@ -19,8 +19,9 @@
"devDependencies": {
"chai": "^3.5.0",
"grunt": "~0.4.1",
- "grunt-contrib-jshint": "~0.6.3",
+ "grunt-contrib-jshint": "^1.0.0",
"grunt-contrib-uglify": "~0.2.2",
+ "grunt-karma": "^2.0.0",
"karma": "^1.3.0",
"karma-chai": "^0.1.0",
"karma-coverage": "^1.1.1",

0 comments on commit 7895956

Please sign in to comment.