[Pkg-javascript-commits] [pdf.js] 153/204: Fixes enabling pdfBug

David Prévot taffit at moszumanska.debian.org
Sat Oct 25 18:50:45 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 5e0b2d383fb7e19930f7538493fac960e2d307d0
Author: Yury Delendik <ydelendik at mozilla.com>
Date:   Tue Sep 30 15:19:39 2014 -0500

    Fixes enabling pdfBug
---
 web/viewer.js | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/web/viewer.js b/web/viewer.js
index f523466..ccd2e01 100644
--- a/web/viewer.js
+++ b/web/viewer.js
@@ -104,6 +104,8 @@ var PDFViewerApplication = {
   animationStartedPromise: null,
   mouseScrollTimeStamp: 0,
   mouseScrollDelta: 0,
+  preferenceSidebarViewOnLoad: false,
+  preferencesPdfBugEnabled: false,
   isViewerEmbedded: (window.parent !== window),
   url: '',
 
@@ -211,6 +213,7 @@ var PDFViewerApplication = {
       pageCountField: document.getElementById('pageCountField')
     });
 
+    var self = this;
     var initializedPromise = Promise.all([
       Preferences.get('enableWebGL').then(function resolved(value) {
         PDFJS.disableWebGL = !value;

-- 
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