Jonas Jenwald
4626fc8342
Enable the `spaced-comment` ESLint rule
...
Please see http://eslint.org/docs/rules/spaced-comment .
Note that the exceptions added for `line` comments are intended to still allow use of the old preprocessor without linting errors.
Also, I took the opportunity to improve the grammar slightly (w.r.t. capitalization and punctuation) for comments touched in the patch.
8 years ago
Jonas Jenwald
70c1a6b120
[Bug 1331081] omit addEventListener/removeEventListener's third parameter when it's false
...
Upstream changes from https://bugzilla.mozilla.org/show_bug.cgi?id=1331081 ; this patch also covers one file, `pdf_print_service.js`, that's not present in mozilla-central.
Fixes 7962.
8 years ago
Jonas Jenwald
328e7397ea
Fix errors reported by the `no-extra-bind` ESLint rule
...
http://eslint.org/docs/rules/no-extra-bind
9 years ago
Yury Delendik
0576c9c6c6
Replaces all preprocessor directives with PDFJSDev calls.
9 years ago
jazzy-em
0a347ec04d
Added multiple term search functionality (with default phrase search)
9 years ago
Yury Delendik
3e6e294fd4
Refactors PDFFindBar and FirefoxCom find events.
9 years ago
Yury Delendik
148102b626
Refactors firefoxcom dependency on app and l10n.
9 years ago
Yury Delendik
4165cedc9f
Replace pdfjsLib with module that represents pdf.js.
9 years ago
Yury Delendik
006e8fb59d
Introduces UMD headers to the web/ folder.
9 years ago
Yury Delendik
1e3e14e6b2
Exposes all functional members via lib exports and use them in viewer.
9 years ago
Manas
a2ba1b8189
Uses editorconfig to maintain consistent coding styles
...
Removes the following as they unnecessary
/* -*- Mode: Java; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim: set shiftwidth=2 tabstop=2 autoindent cindent expandtab: */
10 years ago
Collin Anderson
54e984c763
cleaned whitespace
10 years ago
Yury Delendik
68b037ffb0
Add preprocessor directives for the extension; and refactor FirefoxCom callback
11 years ago
Samuel Chantaraud
25ee0e8572
Preliminary attachments support
...
Added a partial Filespec support
Added getAttachments in API
Added a new attachments view in UI (with a new icon by @shorlander )
11 years ago
Jonas Jenwald
4c9c43f82b
Modify {get, set}Preferences in PdfStreamConverter.jsm to support async
11 years ago
Jonas Jenwald
c920372ff2
Rewrite 'Preferences' to make it async
11 years ago
Jonas Jenwald
6df9cc46b4
Fix coding style in web/firefoxcom.js
11 years ago
Jonas Jenwald
c158894d94
Improve handling of preferences in Firefox
11 years ago
Yury Delendik
5bf3e44e30
Introduces LegacyPromise; polyfills DOM Promise
11 years ago
Jonas Jenwald
60610cd625
Implement default preferences
12 years ago
Yury Delendik
81c8730e4b
Restoring PR 3455 functionality
12 years ago
Yury Delendik
ef658bf5f1
Refactoring download button logic
12 years ago
vyv03354
07491f584f
Replace getUserData()/setUserData() with CustomEvents
12 years ago
Yury Delendik
81f8f92696
Adds web/* and test/* for jshint target
12 years ago
Brendan Dahl
332ae4ce41
Change to the Apache v2 license.
13 years ago
Brendan Dahl
11be208388
Move firefoxcom to its own file.
13 years ago