use postMessage with host and port, fixes #4

This commit is contained in:
copy 2013-11-07 22:39:23 +01:00
commit aa83c2d365

View file

@ -7,7 +7,7 @@ var next_tick, set_tick;
(function()
{
var fn,
host = location.protocol + "//" + location.hostname;
host = location.protocol + "//" + location.host;
set_tick = function(f)
{