-
-
Save Caballerog/201c52c297e015566040b2ea2b6e57a7 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
bindUserListChanged(callback) { | |
this.onUserListChanged = callback; | |
} | |
_commit(users) { | |
this.onUserListChanged(users); | |
localStorage.setItem('users', JSON.stringify(users)); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment