1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-26 10:08:06 +02:00

Moves constants to avoid dependency on PDFView

This commit is contained in:
Yury Delendik 2014-09-15 15:46:01 -05:00
parent f1851c6393
commit a1eca2084d
6 changed files with 44 additions and 25 deletions

View file

@ -16,6 +16,14 @@
'use strict';
var CSS_UNITS = 96.0 / 72.0;
var DEFAULT_SCALE = 'auto';
var UNKNOWN_SCALE = 0;
var MAX_AUTO_SCALE = 1.25;
var SCROLLBAR_PADDING = 40;
var VERTICAL_PADDING = 5;
var DEFAULT_CACHE_SIZE = 10;
// optimised CSS custom property getter/setter
var CustomStyle = (function CustomStyleClosure() {