Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
executable file 6 lines (5 sloc) 245 Bytes
#!/bin/bash
# A faster way to jslint; curl's start-up cost is much lower than rhino's.
JSLINT_URL="http://localhost:3003/jslint"
exec curl --form source="<${1}" --form filename="${1}" ${JSLINT_URL}
#exec curl --form source="@${1}" ${JSLINT_URL}
Something went wrong with that request. Please try again.