Skip to content
This repository has been archived by the owner on Nov 5, 2024. It is now read-only.

Commit

Permalink
onePlayer passed as param
Browse files Browse the repository at this point in the history
  • Loading branch information
lukasvan3l authored Jan 25, 2024
1 parent a88e0da commit ca51c9c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ function onePlayerReady(onePlayer) {
## Subscribe to OnePlayer events

```js
function onePlayerReady() {
function onePlayerReady(onePlayer) {
// The custom onePlayer way...
onePlayer.events.on('all', (eventObject) => {
console.log('New event:', eventObject.name);
Expand Down

0 comments on commit ca51c9c

Please # to comment.