Easy Pubnub Demo
A few days ago I went back to checkout pubnub. I tried out at first some years ago. Recently I and another colleague got an idea for a chat app. I pointed out that we can use pubnub. So to test out the waters, we decided to test out the demo code at pubnub. You can find the gist at github at the following link https://gist.github.com/fernandozamoraj/596b9cd61645be57e6dc. All you have to do is copy and past the content into a html document and then open the page in two different browsers sessions to see how it works.