mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-24 17:18:07 +02:00
use const instead of var
This commit is contained in:
parent
9830b09f34
commit
e0a6c8ef76
1 changed files with 4 additions and 4 deletions
8
pdf.js
8
pdf.js
|
@ -2130,10 +2130,10 @@ var CanvasGraphics = (function() {
|
|||
};
|
||||
}
|
||||
|
||||
var LINE_CAP_STYLES = [ "butt", "round", "square" ];
|
||||
var LINE_JOIN_STYLES = [ "miter", "round", "bevel" ];
|
||||
var NORMAL_CLIP = {};
|
||||
var EO_CLIP = {};
|
||||
const LINE_CAP_STYLES = [ "butt", "round", "square" ];
|
||||
const LINE_JOIN_STYLES = [ "miter", "round", "bevel" ];
|
||||
const NORMAL_CLIP = {};
|
||||
const EO_CLIP = {};
|
||||
|
||||
constructor.prototype = {
|
||||
beginDrawing: function(mediaBox) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue