]> git.parisson.com Git - pdf.js.git/commitdiff
restore getChar in JpegStream
authorAndreas Gal <andreas.gal@gmail.com>
Tue, 21 Jun 2011 02:39:49 +0000 (22:39 -0400)
committerAndreas Gal <andreas.gal@gmail.com>
Tue, 21 Jun 2011 02:39:49 +0000 (22:39 -0400)
pdf.js

diff --git a/pdf.js b/pdf.js
index 40044300cd0ce6b35356f20e2ce52eae7544952e..1beeb6ca400aaa5e4bd334b5beddca75ef7faa35 100644 (file)
--- a/pdf.js
+++ b/pdf.js
@@ -542,6 +542,9 @@ var JpegStream = (function() {
     constructor.prototype = {
         getImage: function() {
             return this.domImage;
+        },
+        getChar: function() {
+            error("internal error: getChar is not valid on JpegStream");
         }
     };