Skip to content

Commit

Permalink
Verify using JSHint
Browse files Browse the repository at this point in the history
  • Loading branch information
nmalkin committed Jul 23, 2012
1 parent 9dc3675 commit ce099a3
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
9 changes: 9 additions & 0 deletions .jshintrc
@@ -0,0 +1,9 @@
{
"node" : true,

"devel": true,
"eqeqeq": true,
"latedef": true,
"undef": true,
"strict": true
}
2 changes: 1 addition & 1 deletion server.js
Expand Up @@ -42,7 +42,7 @@ require('http').createServer(function(req, res) {
{
res.writeHead(200, { 'Content-type': 'application/json' });
res.end(JSON.stringify({
location: response.headers['location']
location: response.headers.location
}));
} else { // Not a redirect
// Notify via status code
Expand Down

0 comments on commit ce099a3

Please sign in to comment.