From 5799f40be84ede60b75c4bced2b0b14b827aa81e Mon Sep 17 00:00:00 2001 From: Chris Jaekl Date: Wed, 15 Nov 2017 21:59:36 +0900 Subject: [PATCH] Enable strict mode and tweak (default) page size. --- app/lib.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/lib.js b/app/lib.js index 6edaa47..4a77ffc 100644 --- a/app/lib.js +++ b/app/lib.js @@ -1,6 +1,8 @@ //QuanLib: eBook Library //(C) 2017 by Christian Jaekl (cejaekl@yahoo.com) +'use strict'; + var g_state = { cache: [], count: 0, @@ -12,7 +14,7 @@ var g_state = { ids: [], last: (-1), map: {}, // map from book.Id to index into cache[] - pageSize: 48, + pageSize: 20, tooltip: { bookId: undefined, milliSecs: 500, // time to wait before displaying tooltip -- 2.30.2