Skip to content

Commit

Permalink
fix votes example
Browse files Browse the repository at this point in the history
  • Loading branch information
ianjennings committed Sep 27, 2016
1 parent 0c4dbea commit df27221
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/votes.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ <h2>Who would you vote for president?</h2>
var chan = "voting-channel";

// inti pubnub (PUBNUB is provided from eon.js)
var pb = PUBNUB.init({
var pb = new PubNub({
publishKey: 'pub-c-923938f1-a4c1-4253-b15a-9c24087904c9',
subscribeKey: 'sub-c-bd9ab0d6-6e02-11e5-8d3b-0619f8945a4f'
});
Expand Down

0 comments on commit df27221

Please sign in to comment.