Browse Source

Fix small lint issues.

Kalervo Kujala 14 years ago
parent
commit
5a3d85bf53
  1. 4
      charsets.js
  2. 3
      extensions/firefox/components/pdfContentHandler.js

4
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 = [ var ISOAdobeCharset = [
'.notdef', 'space', 'exclam', 'quotedbl', 'numbersign', 'dollar', '.notdef', 'space', 'exclam', 'quotedbl', 'numbersign', 'dollar',

3
extensions/firefox/components/pdfContentHandler.js

@ -131,8 +131,7 @@ pdfContentHandler.prototype = {
throw Cr.NS_ERROR_WONT_HANDLE_CONTENT; throw Cr.NS_ERROR_WONT_HANDLE_CONTENT;
let window = null; let window = null;
let callbacks = aRequest.notificationCallbacks ? let callbacks = aRequest.notificationCallbacks ||
aRequest.notificationCallbacks :
aRequest.loadGroup.notificationCallbacks; aRequest.loadGroup.notificationCallbacks;
if (!callbacks) if (!callbacks)
return; return;

Loading…
Cancel
Save