pdf.js/extensions/firefox
Jonas Jenwald 4f48c8198c Fix inconsistent spacing and trailing commas in objects in extensions/ files, so we can enable the comma-dangle and object-curly-spacing ESLint rules later on
http://eslint.org/docs/rules/comma-dangle
http://eslint.org/docs/rules/object-curly-spacing

Given that we currently have quite inconsistent object formatting, fixing this in in one big patch probably wouldn't be feasible (since I cannot imagine anyone wanting to review that); hence I've opted to try and do this piecewise instead.

Please note: This patch was created automatically, using the ESLint `--fix` command line option. In a couple of places this caused lines to become too long, and I've fixed those manually; please refer to the interdiff below for the only hand-edits in this patch.

```diff
diff --git a/extensions/firefox/content/PdfStreamConverter.jsm b/extensions/firefox/content/PdfStreamConverter.jsm
index ea91a71a..0d59dad1 100644
--- a/extensions/firefox/content/PdfStreamConverter.jsm
+++ b/extensions/firefox/content/PdfStreamConverter.jsm
@@ -773,7 +773,8 @@ class RequestListener {
         response = function sendResponse(aResponse) {
           try {
             var listener = doc.createEvent("CustomEvent");
-            let detail = Cu.cloneInto({ response: aResponse, }, doc.defaultView);
+            let detail = Cu.cloneInto({ response: aResponse, },
+                                      doc.defaultView);
             listener.initCustomEvent("pdf.js.response", true, false, detail);
             return message.dispatchEvent(listener);
           } catch (e) {
```
2017-06-01 13:25:24 +02:00
..
chrome Fix inconsistent spacing and trailing commas in objects in extensions/ files, so we can enable the comma-dangle and object-curly-spacing ESLint rules later on 2017-06-01 13:25:24 +02:00
content Fix inconsistent spacing and trailing commas in objects in extensions/ files, so we can enable the comma-dangle and object-curly-spacing ESLint rules later on 2017-06-01 13:25:24 +02:00
tools Fix inconsistent spacing and trailing commas in objects in extensions/ files, so we can enable the comma-dangle and object-curly-spacing ESLint rules later on 2017-06-01 13:25:24 +02:00
.eslintrc Use eslint-plugin-mozilla and the webextensions environment to avoid defining globals in each file. 2017-05-17 10:30:46 +01:00
.gitignore Add global pref to enable/disable. Control pdf.js in application preferences. Add Artur's mochi tests. 2012-05-31 11:16:06 -07:00
bootstrap.js Fix inconsistent spacing and trailing commas in objects in extensions/ files, so we can enable the comma-dangle and object-curly-spacing ESLint rules later on 2017-06-01 13:25:24 +02:00
chrome-mozcentral.manifest Use only one resource url for moz central build. 2014-02-27 14:11:39 -08:00
chrome.manifest Loading PDF.js extension into e10s windows 2014-09-17 16:14:04 -05:00
icon64.png optimize png images using zopflipng 2016-07-10 17:49:16 +08:00
icon.png optimize png images using zopflipng 2016-07-10 17:49:16 +08:00
install.rdf [Firefox addon] Change the minimum supported version to Firefox 45, i.e. the current ESR version, and remove no longer necessary fallback code 2017-01-07 12:19:42 +01:00
README.mozilla Add the commit hash to the README.mozilla file (issue 8347) 2017-04-27 23:01:22 +02:00
update.rdf [Firefox addon] Change the minimum supported version to Firefox 45, i.e. the current ESR version, and remove no longer necessary fallback code 2017-01-07 12:19:42 +01:00

This is the PDF.js project output, https://github.com/mozilla/pdf.js

Current extension version is: PDFJSSCRIPT_VERSION

Taken from upstream commit: PDFJSSCRIPT_COMMIT