Skip to content

Commit e5d465d

Browse files
documentation fixes from @max-schaefer
Co-Authored-By: Max Schaefer <54907921+max-schaefer@users.noreply.github.com>
1 parent 59bafab commit e5d465d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

javascript/ql/src/semmle/javascript/frameworks/EventEmitter.qll

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ module EventEmitter {
2020
}
2121

2222
/**
23-
* An instanceof of the NodeJS EventEmitter class.
24-
* Extend this class to mark something as being instanceof the EventEmitter class.
23+
* An instance of the NodeJS EventEmitter class.
24+
* Extend this class to mark something as being an instance of the EventEmitter class.
2525
*/
2626
abstract class EventEmitter extends DataFlow::Node {
2727
/**
@@ -96,7 +96,7 @@ module EventEmitter {
9696

9797
/**
9898
* Holds if this event dispatch can send an event to the given even registration.
99-
* The default implementation is that the emitters of the dispatch and registration has to be equal.
99+
* The default implementation is that the emitters of the dispatch and registration have to be equal.
100100
*/
101101
predicate canSendTo(EventRegistration destination) { this.getEmitter() = destination.getEmitter() }
102102
}

0 commit comments

Comments
 (0)