run chktex when request has check:true

This commit is contained in:
Brian Gough
2016-07-26 16:22:38 +01:00
parent 6524439699
commit 14837a57ec
4 changed files with 13 additions and 4 deletions

View File

@@ -28,6 +28,9 @@ module.exports = RequestParser =
compile.options.draft,
default: false,
type: "boolean"
response.check = @_parseAttribute "check",
compile.options.check,
type: "string"
if response.timeout > RequestParser.MAX_TIMEOUT
response.timeout = RequestParser.MAX_TIMEOUT