Skip to content

Commit

Permalink
add jslint_port variable and set to 3003.
Browse files Browse the repository at this point in the history
  • Loading branch information
Kevin Turner committed Jan 29, 2010
1 parent 1a5e31f commit e12c7a1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion app.js
Expand Up @@ -29,6 +29,8 @@ configure(function () {
enable('show exceptions');
});

var jslint_port = 3003;

/* copied from jslint's rhino.js */
var jslint_options = {
bitwise: true,
Expand Down Expand Up @@ -129,4 +131,4 @@ post('/example/ok', function () {
});


run();
run(jslint_port);
2 changes: 1 addition & 1 deletion jslint.curl
@@ -1,5 +1,5 @@
#!/bin/bash
# A faster way to jslint; curl's start-up cost is much lower than rhino's.
JSLINT_URL="http://localhost:3000/jslint"
JSLINT_URL="http://localhost:3003/jslint"
exec curl --form source="<${1}" --form filename="${1}" ${JSLINT_URL}
#exec curl --form source="@${1}" ${JSLINT_URL}

0 comments on commit e12c7a1

Please sign in to comment.