From 17dfc7c700435f9c3805638a6f79e48869c88cc1 Mon Sep 17 00:00:00 2001 From: Yury Delendik Date: Thu, 23 Jan 2014 17:32:07 -0600 Subject: [PATCH] Use jshint v1.1 --- make.js | 2 +- package.json | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/make.js b/make.js index 8984b6457..44f8e5878 100644 --- a/make.js +++ b/make.js @@ -1134,7 +1134,7 @@ target.lint = function() { var jshintPath = path.normalize('./node_modules/.bin/jshint'); if (!test('-f', jshintPath)) { echo('jshint is not installed -- installing...'); - exec('npm install jshint'); + exec('npm install jshint@1.1'); // TODO read version from package.json } exit(exec('"' + jshintPath + '" --reporter test/reporter.js ' + diff --git a/package.json b/package.json index 45e3689fc..19f59e98f 100644 --- a/package.json +++ b/package.json @@ -1,8 +1,8 @@ { "name": "pdf.js", - "version": "0.7.169", + "version": "0.8.0", "dependencies": { - "jshint": "git://github.com/jshint/jshint.git#42ace75a" + "jshint": "1.1.x" }, "scripts": { "test": "node make lint"