Permalink
Browse files

Fix failing tests

  • Loading branch information...
1 parent eaad14e commit 1d06c05ce5b7d791d4c066ffda2b646438abc31d @marijnh marijnh committed Nov 28, 2012
Showing with 5 additions and 5 deletions.
  1. +5 −5 mode/http/http.js
View
@@ -59,21 +59,21 @@ CodeMirror.defineMode("http", function() {
}
}
- function header(stream, state) {
+ function header(stream) {
if (stream.sol() && !stream.eat(/[ \t]/)) {
if (stream.match(/^.*?:/)) {
- return "atom";
+ return "atom";
} else {
- stream.skipToEnd();
- return "error";
+ stream.skipToEnd();
+ return "error";
}
} else {
stream.skipToEnd();
return "string";
}
}
- function body(stream, state) {
+ function body(stream) {
stream.skipToEnd();
return null;
}

0 comments on commit 1d06c05

Please sign in to comment.