mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-22 16:18:08 +02:00
Update the ESLint dependencies, and also tweak the no-multiple-empty-lines
rules
Since multiple empty lines is virtually unused in the code-base, and the few cases that do exist look like "typos", let's enforce greater consistency here; please see https://eslint.org/docs/rules/no-multiple-empty-lines.
This commit is contained in:
parent
25c7a8c215
commit
2db75a2a3a
11 changed files with 4 additions and 13 deletions
|
@ -96,7 +96,6 @@ var CFFStandardStrings = [
|
|||
'Black', 'Bold', 'Book', 'Light', 'Medium', 'Regular', 'Roman', 'Semibold'
|
||||
];
|
||||
|
||||
|
||||
var CFFParser = (function CFFParserClosure() {
|
||||
var CharstringValidationData = [
|
||||
null,
|
||||
|
|
|
@ -1351,7 +1351,6 @@ var PartialEvaluator = (function PartialEvaluatorClosure() {
|
|||
textContentItem.textRunBreakAllowed = false;
|
||||
}
|
||||
|
||||
|
||||
textContentItem.initialized = true;
|
||||
return textContentItem;
|
||||
}
|
||||
|
|
|
@ -676,7 +676,6 @@ var FontRendererFactory = (function FontRendererFactoryClosure() {
|
|||
},
|
||||
});
|
||||
|
||||
|
||||
return {
|
||||
create: function FontRendererFactory_create(font, seacAnalysisEnabled) {
|
||||
var data = new Uint8Array(font.data);
|
||||
|
|
|
@ -251,7 +251,6 @@ ShadingIRs.Mesh = {
|
|||
}
|
||||
}
|
||||
|
||||
|
||||
// Rasterizing on the main thread since sending/queue large canvases
|
||||
// might cause OOM.
|
||||
var temporaryPatternCanvas = createMeshCanvas(bounds, scale, coords,
|
||||
|
|
|
@ -219,7 +219,6 @@ var WebGLUtils = (function WebGLUtilsClosure() {
|
|||
var texture = createTexture(gl, layer, gl.TEXTURE0);
|
||||
var maskTexture = createTexture(gl, mask, gl.TEXTURE1);
|
||||
|
||||
|
||||
// Create a buffer and put a single clipspace rectangle in
|
||||
// it (2 triangles)
|
||||
var buffer = gl.createBuffer();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue