File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
javascript/ql/src/semmle/javascript/frameworks Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff 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 }
You can’t perform that action at this time.
0 commit comments