|
1 | 1 | 
|
2 | 2 |
|
3 |
| -[](https://www.npmjs.com/package/sysend) |
4 |
| - |
| 3 | +[](https://www.npmjs.com/package/sysend) |
| 4 | + |
5 | 5 | 
|
6 | 6 | [](https://www.jsdelivr.com/package/npm/sysend)
|
7 | 7 |
|
@@ -105,12 +105,13 @@ sysend object:
|
105 | 105 | * `on(name, callback)` - `callback(object, name)` - add event handler for specified name.
|
106 | 106 | * `off(name [, callback])` - remove event handler for given name, if callback is not specified it will remove all callbacks for given name.
|
107 | 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 |
| -* `serializer(to_string, from_string)` - add serializer and deserializer functions (new in 1.4.0) |
| 108 | +* `emit(name, [, object])` - same as broadcast but also invoke the even on same page (new in 1.5.0). |
| 109 | +* `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). |
| 110 | +* `serializer(to_string, from_string)` - add serializer and deserializer functions (new in 1.4.0). |
110 | 111 |
|
111 | 112 | ## License
|
112 | 113 |
|
113 |
| -Copyright (C) 2014-2021 [Jakub T. Jankiewicz](http://jcubic.pl/me)<br/> |
| 114 | +Copyright (C) 2014-2021 [Jakub T. Jankiewicz](https://jakub.jankiewicz.org)<br/> |
114 | 115 | Released under the [MIT license](https://opensource.org/licenses/MIT)
|
115 | 116 |
|
116 | 117 | This is free software; you are free to change and redistribute it.<br/>
|
|
0 commit comments