From c2abac11b73efceb02fa199c1deb2ab8d9190d92 Mon Sep 17 00:00:00 2001 From: pacien Date: Thu, 19 Jul 2018 19:29:27 +0200 Subject: Change app root --- appcache.js | 4 ++-- index.html | 51 +++++++++++++++++++++++++++++++++++++++++++++++++++ viewer.html | 51 --------------------------------------------------- 3 files changed, 53 insertions(+), 53 deletions(-) create mode 100644 index.html delete mode 100644 viewer.html diff --git a/appcache.js b/appcache.js index 87d5e80..22e347a 100644 --- a/appcache.js +++ b/appcache.js @@ -11,7 +11,7 @@ class AppCache { constructor() { this.cacheName = "cache"; this.filesToCache = [ - "viewer.html", + ".", "appcache.js", "pointless/pdfjs/pdf.js", @@ -51,7 +51,7 @@ class AppCache { return caches.open(this.cacheName).then(function(cache) { return fetch(request).then(function(response) { cache.put(request, response.clone()); - return response + return response; }); }); } diff --git a/index.html b/index.html new file mode 100644 index 0000000..b402c8a --- /dev/null +++ b/index.html @@ -0,0 +1,51 @@ + + + + + + + + + Pointless Viewer + + + + + +
+

Pointless Viewer

+ +

This viewer accepts double-width PDF presentations of the following shape:

+ + + + + +
SLIDESNOTES
+ +

+ (LATEX-Beamer users may use + \setbeameroption{show notes on second screen=right}) +

+ +

Please select a PDF presentation file to open.

+ +
+ +
+
+ + + + + + + + + + diff --git a/viewer.html b/viewer.html deleted file mode 100644 index 2382a32..0000000 --- a/viewer.html +++ /dev/null @@ -1,51 +0,0 @@ - - - - - - - - - Pointless Viewer - - - - - -
-

Pointless Viewer

- -

This viewer accepts double-width PDF presentations of the following shape:

- - - - - -
SLIDESNOTES
- -

- (LATEX-Beamer users may use - \setbeameroption{show notes on second screen=right}) -

- -

Please select a PDF presentation file to open.

- -
- -
-
- - - - - - - - - - -- cgit v1.2.3