]> git.parisson.com Git - pdf.js.git/commitdiff
changed name from TintCS to SeparationCS
authorsbarman <sbarman@L3CWZ5T.(none)>
Thu, 7 Jul 2011 18:13:39 +0000 (11:13 -0700)
committersbarman <sbarman@L3CWZ5T.(none)>
Thu, 7 Jul 2011 18:13:39 +0000 (11:13 -0700)
pdf.js

diff --git a/pdf.js b/pdf.js
index c2760b546731ffa118b10cfd624ad4734bf6d181..02efa39becb6e1eb40611dcd4ba26f47430b834a 100644 (file)
--- a/pdf.js
+++ b/pdf.js
@@ -4620,7 +4620,7 @@ var ColorSpace = (function() {
         var name = cs[1];
         var alt = ColorSpace.parse(cs[2], xref, res);
         var tintFn = new PDFFunction(xref, xref.fetchIfRef(cs[3]));
-        return new TintCS("Separation", alt, tintFn);
+        return new SeparationCS(alt, tintFn);
         break;
       case 'Lab':
       case 'DeviceN':
@@ -4635,11 +4635,11 @@ var ColorSpace = (function() {
   return constructor;
 })();
 
-var TintCS = (function() {
-  function constructor(name, base, tintFn) {
-    this.name = name;
+var SeparationCS = (function() {
+  function constructor(base, tintFn) {
+    this.name = "Separation";
     this.numComps = 1;
-    this.defaultColor = [0];
+    this.defaultColor = [1];
 
     this.base = base;
     this.tintFn = tintFn;