Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #6 from kmiyashiro/patch-1

Fixed path for JSHint.js, they re-made the site and now everything is on Github
  • Loading branch information...
commit 4ce2c6dc113bcc378bc4ebc4c91a28b7e66d2f11 2 parents f68fc35 + 7119b3a
@fgnass authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 Support/jshint-tm.js
View
4 Support/jshint-tm.js
@@ -1,6 +1,6 @@
var sys = require('sys');
var fs = require('fs');
-var http = require('http');
+var http = require('https');
var env = process.env || process.ENV;
var jshintPath = __dirname + '/jshint.js';
var entities = {
@@ -18,7 +18,7 @@ function html(s) {
* Downloads the latest JSHint version from jshint.com and invokes the callback when done.
*/
function download(ready) {
- var req = http.get({host: 'jshint.com', port: 80, path: '/jshint.js'}, function(res) {
+ var req = https.get({host: 'raw.github.com', port: 80, path: '/jshint/jshint/master/jshint.js'}, function(res) {
if (res.statusCode == 200) {
res.setEncoding('utf8');
var data = '';
Please sign in to comment.
Something went wrong with that request. Please try again.