You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -102,10 +102,10 @@ Open this [demo page](http://jcubic.pl/sysend.php) in two tabs/windows (there is
102
102
103
103
sysend object:
104
104
105
-
*`on(name, callback)`-`callback(object, name)`- add eventofspecified name
106
-
*`off(name [, callback])`- remove callback
107
-
*`broadcast(name [, object])`- send object and fire all events with specified name (in different pages that register callback using on). You can also just send notification without object
108
-
*`proxy(url)`- create iframe proxy for different domain, the targer domain/url should have [proxy.html](https://github.com/jcubic/sysend.js/blob/master/proxy.html) file. If url domain is the same as page domain, it's ignored. So you can put both proxy calls on both domains (new in 1.3.0)
*`off(name [, callback])`- remove event handler for given name, ifcallback is not specified it will remove all callbacks for given name.
107
+
*`broadcast(name [, object])`- send any object and fire all events with specified name (in different pages that register callback using on). You can also just send notification without an object.
108
+
*`proxy(url)`- create iframe proxy for different domain, the target domain/url should have [proxy.html](https://github.com/jcubic/sysend.js/blob/master/proxy.html) file. If url domain is the same as page domain, it's ignored. So you can put both proxy calls on both domains (new in 1.3.0)
109
109
*`serializer(to_string, from_string)`- add serializer and deserializer functions (newin1.4.0)
0 commit comments