We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7bfa5cf commit 17db291Copy full SHA for 17db291
doc/api/events.markdown
@@ -1,5 +1,7 @@
1
# Events
2
3
+<!--type=module-->
4
+
5
Many objects in Node emit events: a `net.Server` emits an event each time
6
a peer connects to it, a `fs.readStream` emits an event when the file is
7
opened. All objects which emit events are instances of `events.EventEmitter`.
tools/doc/json.js
@@ -487,7 +487,7 @@ function deepCopy_(src) {
487
488
489
// these parse out the contents of an H# tag
490
-var eventExpr = /^Event:?\s*['"]?([^"']+).*$/i;
+var eventExpr = /^Event(?::|\s)+['"]?([^"']+).*$/i;
491
var classExpr = /^Class:\s*([^ ]+).*?$/i;
492
var propExpr = /^(?:property:?\s*)?[^\.]+\.([^ \.\(\)]+)\s*?$/i;
493
var braceExpr = /^(?:property:?\s*)?[^\.\[]+(\[[^\]]+\])\s*?$/i;
0 commit comments