Chrome Extension with webSocket -
i want create extension utilize pusher service(http://pusher.com/) send messages client, , getting next error message: port error: not found connection. receiving end not exist. when seek same code on simple html page works.
pusher.log = function(message) { if (window.console && window.console.log) window.console.log(message); }; // flash fallback logging - don't include in production web_socket_debug = true; var pusher = new pusher('key'); var channel = pusher.subscribe('channel'); channel.bind('event', function(data) { alert("test"); });
do need alter in order create run?
thx.
google-chrome-extension websocket pusher
No comments:
Post a Comment