Skip to content

Commit 147bc21

Browse files
authored
Merge pull request #13 from OscarNOW/patch-1
Fix readme typo once alias for sub
2 parents 7bfc383 + b255d86 commit 147bc21

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ Available options:
5252

5353
**Note:** This option [will be deprecated](#strict-mode).
5454

55-
§ bus.**once**(_event_, _listener_, _thisArg_) is a shortcut for calling `once()` with the `once: true` option.
55+
§ bus.**once**(_event_, _listener_, _thisArg_) is a shortcut for calling `sub()` with the `once: true` option.
5656

5757
§ bus.**unsub**(_event_, _listener_) — unsubscribe a listener from an event.
5858

0 commit comments

Comments
 (0)