[Pkg-javascript-commits] [pdf.js] 52/204: Lint error fix for pdfjschildbootstrap.js

David Prévot taffit at moszumanska.debian.org
Sat Oct 25 18:50:30 UTC 2014


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository pdf.js.

commit 782ed5cb67b2006276c04b65b8cad15f38b81abd
Author: Yury Delendik <ydelendik at mozilla.com>
Date:   Mon Sep 8 15:33:56 2014 -0500

    Lint error fix for pdfjschildbootstrap.js
---
 extensions/firefox/content/pdfjschildbootstrap.js | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/extensions/firefox/content/pdfjschildbootstrap.js b/extensions/firefox/content/pdfjschildbootstrap.js
index 565dd7a..8e5a48a 100644
--- a/extensions/firefox/content/pdfjschildbootstrap.js
+++ b/extensions/firefox/content/pdfjschildbootstrap.js
@@ -1,14 +1,18 @@
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
+/* jshint esnext:true */
+/* globals Components, PdfjsContentUtils, PdfJs */
+
+'use strict';
 
 /*
  * pdfjschildbootstrap.js loads into the content process to take care of
  * initializing our built-in version of pdfjs when running remote.
  */
 
-Components.utils.import("resource://pdf.js/PdfJs.jsm");
-Components.utils.import("resource://pdf.js/PdfjsContentUtils.jsm");
+Components.utils.import('resource://pdf.js/PdfJs.jsm');
+Components.utils.import('resource://pdf.js/PdfjsContentUtils.jsm');
 
 // init content utils shim pdfjs will use to access privileged apis.
 PdfjsContentUtils.init();

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/pdf.js.git



More information about the Pkg-javascript-commits mailing list