[Pkg-javascript-commits] [pdf.js] 98/204: textLayer is not used anymore in render context.

David Prévot taffit at moszumanska.debian.org
Sat Oct 25 18:50:37 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 2f72ac12557ebf6e0bc34c57fd9dc0ac869c2ba0
Author: Mitar <mitar.github at tnode.com>
Date:   Fri Sep 19 15:09:05 2014 -0700

    textLayer is not used anymore in render context.
    
    It should be removed to prevent confusion when reading the code.
---
 test/driver.js   | 1 -
 web/page_view.js | 1 -
 2 files changed, 2 deletions(-)

diff --git a/test/driver.js b/test/driver.js
index 84b0c4f..b45205d 100644
--- a/test/driver.js
+++ b/test/driver.js
@@ -311,7 +311,6 @@ function nextPage(task, loadError) {
         }
         var renderContext = {
           canvasContext: drawContext,
-          textLayer: textLayerBuilder,
           viewport: viewport
         };
         var completeRender = (function(error) {
diff --git a/web/page_view.js b/web/page_view.js
index 54903a5..62a9068 100644
--- a/web/page_view.js
+++ b/web/page_view.js
@@ -644,7 +644,6 @@ var PageView = function pageView(container, id, scale,
     var renderContext = {
       canvasContext: ctx,
       viewport: this.viewport,
-      textLayer: textLayer,
       // intent: 'default', // === 'display'
       continueCallback: function pdfViewcContinueCallback(cont) {
         if (PDFView.highestPriorityPage !== 'page' + self.id) {

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