Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

FIX: corrects 2 bugs in patch 7119b3a handling the fetching of the js…

…hint.js file from the new location on github. Corrects error in variable name and sets https port to 443.
  • Loading branch information...
commit c3d095d668ef4b94ae1fae2bd496ce6414affeff 1 parent 4ce2c6d
@edavey edavey 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('https');
+var https = 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 = https.get({host: 'raw.github.com', port: 80, path: '/jshint/jshint/master/jshint.js'}, function(res) {
+ var req = https.get({host: 'raw.github.com', port: 443, 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.