From 33af12abd0e1f1ac54bf4f8776e1dca69a5c2a95 Mon Sep 17 00:00:00 2001
From: Kalervo Kujala <kkujala@com>
Date: Thu, 3 Nov 2011 23:26:58 +0200
Subject: [PATCH] Fix jslint warnings.

---
 src/canvas.js | 4 ++--
 src/core.js   | 6 +++---
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/src/canvas.js b/src/canvas.js
index 474cc250f..686430cc1 100644
--- a/src/canvas.js
+++ b/src/canvas.js
@@ -24,9 +24,9 @@ var CanvasExtraState = (function canvasExtraState() {
     this.wordSpacing = 0;
     this.textHScale = 1;
     // Color spaces
-    this.fillColorSpace = new DeviceGrayCS;
+    this.fillColorSpace = new DeviceGrayCS();
     this.fillColorSpaceObj = null;
-    this.strokeColorSpace = new DeviceGrayCS;
+    this.strokeColorSpace = new DeviceGrayCS();
     this.strokeColorSpaceObj = null;
     this.fillColorObj = null;
     this.strokeColorObj = null;
diff --git a/src/core.js b/src/core.js
index 2bc4c50aa..0e6f13e97 100644
--- a/src/core.js
+++ b/src/core.js
@@ -199,8 +199,8 @@ var Page = (function pagePage() {
       var pe = this.pe = new PartialEvaluator(
                                 xref, handler, 'p' + this.pageNumber + '_');
       var IRQueue = {};
-      return this.IRQueue = pe.getIRQueue(
-                                content, resources, IRQueue, dependency);
+      return (this.IRQueue = pe.getIRQueue(content, resources, IRQueue,
+                                           dependency));
     },
 
     ensureFonts: function pageEnsureFonts(fonts, callback) {
@@ -598,7 +598,7 @@ var PDFDoc = (function pdfDoc() {
       // to the CanvasGraphics and so on.
       page.objs = this.objs;
       page.pdf = this;
-      return this.pageCache[n] = page;
+      return (this.pageCache[n] = page);
     },
 
     destroy: function pdfDocDestroy() {