[Pkg-javascript-commits] [pdf.js] 79/207: Halve the size of the PageView cache.
David Prévot
taffit at moszumanska.debian.org
Mon Jul 28 15:36:33 UTC 2014
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch master
in repository pdf.js.
commit f852cefdd8efc83ae6cd6010c97aec516bd408c9
Author: Nicholas Nethercote <nnethercote at mozilla.com>
Date: Fri Jun 13 07:49:26 2014 -0700
Halve the size of the PageView cache.
---
web/viewer.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/web/viewer.js b/web/viewer.js
index 0881e0b..15eedcb 100644
--- a/web/viewer.js
+++ b/web/viewer.js
@@ -28,7 +28,7 @@ var DEFAULT_URL = 'compressed.tracemonkey-pldi-09.pdf';
var DEFAULT_SCALE = 'auto';
var DEFAULT_SCALE_DELTA = 1.1;
var UNKNOWN_SCALE = 0;
-var CACHE_SIZE = 20;
+var CACHE_SIZE = 10;
var CSS_UNITS = 96.0 / 72.0;
var SCROLLBAR_PADDING = 40;
var VERTICAL_PADDING = 5;
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/pdf.js.git
More information about the Pkg-javascript-commits
mailing list