From 0a80c7a89cbe092d4ec6591b1ce0ab68479323d6 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Tue, 21 Apr 2020 08:34:24 +0300 Subject: combine index-related JS code into one App object --- .gitignore | 1 + index.php | 72 +------- js/app.js | 545 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ js/common.js | 75 -------- js/index.js | 260 ---------------------------- js/offline.js | 163 ------------------ login.php | 2 - offline.html | 31 +--- read.html | 3 +- worker.js | 3 +- 10 files changed, 559 insertions(+), 596 deletions(-) create mode 100644 js/app.js delete mode 100644 js/common.js delete mode 100644 js/index.js delete mode 100644 js/offline.js diff --git a/.gitignore b/.gitignore index 43691ba..99e0722 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,4 @@ sessions/* /tags /.tags* /.gutentags +.idea/* diff --git a/index.php b/index.php index bc9419c..1e4f523 100644 --- a/index.php +++ b/index.php @@ -64,8 +64,7 @@ - - + @@ -112,7 +111,7 @@