Commit Graph

19 Commits (c234e209fbb375b8ef227fa1d27648d961bb496b)

Author SHA1 Message Date
Richard Lewis c234e209fb Add postmessage api and move functions in to class 2017-12-15 15:24:22 +00:00
Richard Lewis e20db416f2 Add field to bypass riot widget loading screen. 2017-12-06 16:44:41 +00:00
Richard Lewis ac36f93c3f Remove logging. 2017-12-05 11:00:38 +00:00
Richard Lewis 59f9e388d4 Remove logging. 2017-12-05 00:11:01 +00:00
Richard Lewis 49a2985515 Register message endpoints.
Store endpoint origins only.
2017-12-05 00:08:17 +00:00
Richard Lewis 8595053d28 Update API data docs. 2017-12-04 18:06:05 +00:00
Richard Lewis df1fa80ff6 Use global object for listener count and messaging endpoints. 2017-12-04 17:54:00 +00:00
Richard Lewis dd7358cbb4 Use strict equality. 2017-12-01 16:39:07 +00:00
Richard Lewis 9dabf19d1b Improve readability. 2017-12-01 16:35:55 +00:00
Richard Lewis 81f7f805fa Fix check 2017-12-01 16:31:39 +00:00
Richard Lewis 024aefe131 Use ES6 style exports. 2017-12-01 16:17:18 +00:00
Richard Lewis 58616a45ef Add API endpoints to get current widget postMessage API version and supported API versions. 2017-12-01 15:56:30 +00:00
Richard Lewis 5239729e8e Return a response to widget postMessage request (inline with scalarMessaging API). 2017-12-01 14:56:27 +00:00
Richard Lewis 81fdccb109 Add API description comment. 2017-12-01 14:44:14 +00:00
Richard Lewis 87eab7573c Handle widget content loaded events. 2017-11-30 12:26:40 +00:00
Richard Lewis be603fecb0 Register and de-register widget postMessage endpoints. 2017-11-30 11:30:30 +00:00
Richard Lewis 2cfbbb000e Refactor messaging listerners. 2017-11-30 10:20:29 +00:00
Richard Lewis 4f5f44ff38 Add widget postmessage API stub. 2017-11-29 22:16:22 +00:00
Richard Lewis b571ab02dc Add widget messaging stub. 2017-11-29 18:11:03 +00:00