aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorisaacs <i@izs.me>2012-02-27 11:37:26 -0800
committerisaacs <i@izs.me>2012-02-27 11:37:26 -0800
commit5571c1aaa4e37a56f6ef0a874eb758137f10c78e (patch)
tree0549146d36e7cf1cd0f6565dc4a1beda5acaff32 /tools
parentf9df88c6dae7dabd79bb889d8e6b23ca4bdc7f1e (diff)
downloadandroid-node-v8-5571c1aaa4e37a56f6ef0a874eb758137f10c78e.tar.gz
android-node-v8-5571c1aaa4e37a56f6ef0a874eb758137f10c78e.tar.bz2
android-node-v8-5571c1aaa4e37a56f6ef0a874eb758137f10c78e.zip
'Events' is a module, not an event named 's'
Diffstat (limited to 'tools')
-rw-r--r--tools/doc/json.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/doc/json.js b/tools/doc/json.js
index f577f4d52e..e4c5d76c46 100644
--- a/tools/doc/json.js
+++ b/tools/doc/json.js
@@ -487,7 +487,7 @@ function deepCopy_(src) {
// these parse out the contents of an H# tag
-var eventExpr = /^Event:?\s*['"]?([^"']+).*$/i;
+var eventExpr = /^Event(?::|\s)+['"]?([^"']+).*$/i;
var classExpr = /^Class:\s*([^ ]+).*?$/i;
var propExpr = /^(?:property:?\s*)?[^\.]+\.([^ \.\(\)]+)\s*?$/i;
var braceExpr = /^(?:property:?\s*)?[^\.\[]+(\[[^\]]+\])\s*?$/i;