|
@@ -34,6 +34,8 @@ var MAX_AUTO_SCALE = 1.25;
|
|
var SCROLLBAR_PADDING = 40;
|
|
var SCROLLBAR_PADDING = 40;
|
|
var VERTICAL_PADDING = 5;
|
|
var VERTICAL_PADDING = 5;
|
|
|
|
|
|
|
|
+var mozL10n = document.mozL10n || document.webL10n;
|
|
|
|
+
|
|
/**
|
|
/**
|
|
* Returns scale factor for the canvas. It makes sense for the HiDPI displays.
|
|
* Returns scale factor for the canvas. It makes sense for the HiDPI displays.
|
|
* @return {Object} The object with horizontal (sx) and vertical (sy)
|
|
* @return {Object} The object with horizontal (sx) and vertical (sy)
|