summaryrefslogtreecommitdiff
path: root/src/pkg/html/template/js.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/pkg/html/template/js.go')
-rw-r--r--src/pkg/html/template/js.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pkg/html/template/js.go b/src/pkg/html/template/js.go
index d594e0ad7..999a61ed0 100644
--- a/src/pkg/html/template/js.go
+++ b/src/pkg/html/template/js.go
@@ -99,7 +99,7 @@ func nextJSCtx(s []byte, preceding jsCtx) jsCtx {
return jsCtxDivOp
}
-// regexPrecederKeywords is a set of reserved JS keywords that can precede a
+// regexpPrecederKeywords is a set of reserved JS keywords that can precede a
// regular expression in JS source.
var regexpPrecederKeywords = map[string]bool{
"break": true,