mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
45adfbf2c8
--HG-- extra : rebase_source : 98337b6a8c07d05e8c961a452dd05a7d75c3c60b |
||
---|---|---|
.. | ||
tests | ||
Makefile.in | ||
NotificationsComponents.manifest | ||
README | ||
service.js | ||
services-notifications.js |
Here lies most of the moving parts for push notifcations in the browser. DOM and UI bindings will live elsewhere; these files deal with talking to the API, storing messages, and creating persistent connections to the notification server. Structure: services.js::Service This is a singleton that manages API calls and message storage. It's an instance of the NotificationSvc class. Messages and state are persisted to a JSON file on disk.