From 5a3d85bf53341078186d7fda8688efab921e610f Mon Sep 17 00:00:00 2001
From: Kalervo Kujala <kkujala@com>
Date: Sat, 15 Oct 2011 14:20:15 +0300
Subject: [PATCH 1/2] Fix small lint issues.

---
 charsets.js                                        | 4 ++++
 extensions/firefox/components/pdfContentHandler.js | 3 +--
 2 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/charsets.js b/charsets.js
index 59fcdf5cf..7f54ab327 100644
--- a/charsets.js
+++ b/charsets.js
@@ -1,3 +1,7 @@
+/* -*- Mode: Java; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
+/* vim: set shiftwidth=2 tabstop=2 autoindent cindent expandtab: */
+
+'use strict';
 
 var ISOAdobeCharset = [
   '.notdef', 'space', 'exclam', 'quotedbl', 'numbersign', 'dollar',
diff --git a/extensions/firefox/components/pdfContentHandler.js b/extensions/firefox/components/pdfContentHandler.js
index 879924047..9186bfd8a 100644
--- a/extensions/firefox/components/pdfContentHandler.js
+++ b/extensions/firefox/components/pdfContentHandler.js
@@ -131,8 +131,7 @@ pdfContentHandler.prototype = {
       throw Cr.NS_ERROR_WONT_HANDLE_CONTENT;
 
     let window = null;
-    let callbacks = aRequest.notificationCallbacks ?
-                    aRequest.notificationCallbacks :
+    let callbacks = aRequest.notificationCallbacks ||
                     aRequest.loadGroup.notificationCallbacks;
     if (!callbacks)
       return;

From 8cb7c218fdb614bf6406b092b9e163622aacc3c8 Mon Sep 17 00:00:00 2001
From: Kalervo Kujala <kkujala@com>
Date: Sat, 15 Oct 2011 14:27:14 +0300
Subject: [PATCH 2/2] Add use strict to metrics.js

---
 metrics.js | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/metrics.js b/metrics.js
index 9cb8eb0e6..d4d07ec0d 100644
--- a/metrics.js
+++ b/metrics.js
@@ -1,6 +1,8 @@
 /* -*- Mode: Java; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
 /* vim: set shiftwidth=2 tabstop=2 autoindent cindent expandtab: */
 
+'use strict';
+
 var Metrics = {
   'Courier': 600,
   'Courier-Bold': 600,