/winball

Primary LanguageJavaScript

windows.js

usage

windows.subscribe('{channel}', function(value, storageEvent){
  console.log(value);
});

windows.unsubscribe('{channel}');

windows.publish('{channel}', data);

var channels = windows.subscriptions();

run

$ cd html/
$ python -m SimpleHTTPServer 8080