forked from keturn/lintnode
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add jslint_port variable and set to 3003.
- Loading branch information
Kevin Turner
committed
Jan 29, 2010
1 parent
1a5e31f
commit e12c7a1
Showing
2 changed files
with
4 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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} |