This file contains hidden or 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
| import Pusher from "pusher-js"; | |
| import get from "lodash/get"; | |
| Pusher.logToConsole = true; | |
| async function usage() { | |
| const token = get({}, "authState.token"); | |
| const chatGroupId = get({}, "chatGroup.id"); | |
| await Messenger2.connect(token); |
This file contains hidden or 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
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta charset="utf-8"> | |
| <meta name="viewport" content="width=device-width"> | |
| <title>JS Bin</title> | |
| <style id="jsbin-css"> | |
| .logo { | |
| background-color: #3d8bda; | |
| padding: 5px; |