mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-26 10:08:06 +02:00
Merge pull request #8342 from Snuffleupagus/eslint_object-shorthand-src-core
Enable the `object-shorthand` ESLint rule in `src/core`
This commit is contained in:
commit
06c93d8fbd
22 changed files with 195 additions and 198 deletions
|
@ -41,7 +41,7 @@ var Jbig2Image = (function Jbig2ImageClosure() {
|
|||
function ContextCache() {}
|
||||
|
||||
ContextCache.prototype = {
|
||||
getContexts: function(id) {
|
||||
getContexts(id) {
|
||||
if (id in this) {
|
||||
return this[id];
|
||||
}
|
||||
|
@ -720,7 +720,7 @@ var Jbig2Image = (function Jbig2ImageClosure() {
|
|||
position = segmentHeader.headerEnd;
|
||||
var segment = {
|
||||
header: segmentHeader,
|
||||
data: data
|
||||
data,
|
||||
};
|
||||
if (!header.randomAccess) {
|
||||
segment.start = position;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue