[Pkg-javascript-commits] [pdf.js] 142/161: Fix error message typo

David Prévot taffit at moszumanska.debian.org
Sat Apr 19 14:16:40 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 6a8c998ebdb76e91051055befd623b28d92acc75
Author: Stratos Voukelatos <stratosvoukel at gmail.com>
Date:   Thu Mar 27 21:43:58 2014 +0200

    Fix error message typo
    
    It should read 'PDFFindController cannot be initialized without a PDFFindBar instance'.
---
 web/pdf_find_controller.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/web/pdf_find_controller.js b/web/pdf_find_controller.js
index 56d0d4e..337622c 100644
--- a/web/pdf_find_controller.js
+++ b/web/pdf_find_controller.js
@@ -64,7 +64,7 @@ var PDFFindController = {
   initialize: function(options) {
     if(typeof PDFFindBar === 'undefined' || PDFFindBar === null) {
       throw 'PDFFindController cannot be initialized ' +
-            'without a PDFFindController instance';
+            'without a PDFFindBar instance';
     }
 
     this.pdfPageSource = options.pdfPageSource;

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