1
0
Fork 0

shut up jslint

This commit is contained in:
Jan Steemann 2014-01-27 17:30:44 +01:00
parent e88fe036d6
commit e90ee8c572
1 changed files with 1 additions and 1 deletions

View File

@ -187,7 +187,7 @@ extend(RequestContext.prototype, {
constraint[paramName] = this.typeToRegex[attributes.type];
if (!constraint[paramName]) {
throw new Error("Illegal attribute type: " + attributes.type);
throw new Error("Illegal attribute type: " + attributes.type);
}
this.route.url = internal.constructUrlObject(url.match, constraint, url.methods[0]);
this.docs.addPathParam(paramName, attributes.description, attributes.type);