canmove, Confirmed users, Bureaucrats and Sysops emeriti
3,628
edits
(Update the event format: {topic: "foo", details: "bar"} becomes {topic: "foo", data: {details: "bar}}) |
(Use templated draft notice) |
||
| Line 1: | Line 1: | ||
{{Template:Draft}} | |||
__TOC__ | |||
=SPA API Documentation= | =SPA API Documentation= | ||
The SPA (service provider Adaptor) is a JavaScript file. Its purpose is to adapt a service provider's REST API to Talkilla's API. Each SPA is loaded in its own web worker (http://dev.w3.org/html5/workers/). Communication between the SPA and talkilla happen via a message port (using onmessage and postMessage, see https://developer.mozilla.org/en-US/docs/Web/Guide/Performance/Using_web_workers#Passing_data ) | The SPA (service provider Adaptor) is a JavaScript file. Its purpose is to adapt a service provider's REST API to Talkilla's API. Each SPA is loaded in its own web worker (http://dev.w3.org/html5/workers/). Communication between the SPA and talkilla happen via a message port (using onmessage and postMessage, see https://developer.mozilla.org/en-US/docs/Web/Guide/Performance/Using_web_workers#Passing_data ) | ||