From 3a283f5494ff7d6b54e3bfc2ea2c3824a2f70ba1 Mon Sep 17 00:00:00 2001 From: Igor Zhukov Date: Wed, 29 Jun 2016 20:22:13 +0300 Subject: [PATCH] Added push worker --- app/index.html | 6 +- app/js/init.js | 9 +++ app/js/lib/push_worker.js | 1 + app/js/lib/tl_utils.js | 2 +- app/js/messages_manager.js | 5 +- ...{offline-manager.js => offline_manager.js} | 15 ++--- app/js/services.js | 2 +- app/manifest.json | 1 + app/service_worker.js | 2 + gulpfile.js | 67 ++++++++++--------- package.json | 8 ++- 11 files changed, 66 insertions(+), 52 deletions(-) create mode 100644 app/js/lib/push_worker.js rename app/js/{offline-manager.js => offline_manager.js} (84%) create mode 100644 app/service_worker.js diff --git a/app/index.html b/app/index.html index eca0e6b8..3a51073e 100644 --- a/app/index.html +++ b/app/index.html @@ -15,6 +15,8 @@ + +