projects
/
quanweb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3491c1a
)
Enable strict mode and tweak (default) page size.
author
Chris Jaekl
<cejaekl@yahoo.com>
Wed, 15 Nov 2017 12:59:36 +0000
(21:59 +0900)
committer
Chris Jaekl
<cejaekl@yahoo.com>
Wed, 15 Nov 2017 12:59:36 +0000
(21:59 +0900)
app/lib.js
patch
|
blob
|
history
diff --git
a/app/lib.js
b/app/lib.js
index 6edaa47d2d858a6919ba5ca8f75acbc021297c01..4a77ffc6e7950bdbe68fc5a1876aee71bafd296a 100644
(file)
--- 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