]> git.parisson.com Git - pdf.js.git/commitdiff
set up dummy functions for NYIs
authorChris Jones <jones.chris.g@gmail.com>
Sun, 10 Jul 2011 06:38:04 +0000 (23:38 -0700)
committerChris Jones <jones.chris.g@gmail.com>
Sun, 10 Jul 2011 06:38:04 +0000 (23:38 -0700)
pdf.js

diff --git a/pdf.js b/pdf.js
index a40adbec7f4dbcaab24b691b52e7778b6552d270..c9a3d0cc3886ec6ec48f2c687a2f5043c7366df6 100644 (file)
--- a/pdf.js
+++ b/pdf.js
@@ -5299,13 +5299,16 @@ var PDFFunction = (function() {
       return array;
     },
     constructInterpolated: function() {
-      error('unhandled type of function');
+      TODO('unhandled type of function');
+      this.func = function () { return [ 255, 105, 180 ]; }
     },
     constructStiched: function() {
-      error('unhandled type of function');
+      TODO('unhandled type of function');
+      this.func = function () { return [ 255, 105, 180 ]; }
     },
     constructPostScript: function() {
-      error('unhandled type of function');
+      TODO('unhandled type of function');
+      this.func = function () { return [ 255, 105, 180 ]; }
     }
   };