Browse Source

use const instead of var

Andreas Gal 14 years ago committed by vingtetun
parent
commit
e0a6c8ef76
  1. 8
      pdf.js

8
pdf.js

@ -2130,10 +2130,10 @@ var CanvasGraphics = (function() {
}; };
} }
var LINE_CAP_STYLES = [ "butt", "round", "square" ]; const LINE_CAP_STYLES = [ "butt", "round", "square" ];
var LINE_JOIN_STYLES = [ "miter", "round", "bevel" ]; const LINE_JOIN_STYLES = [ "miter", "round", "bevel" ];
var NORMAL_CLIP = {}; const NORMAL_CLIP = {};
var EO_CLIP = {}; const EO_CLIP = {};
constructor.prototype = { constructor.prototype = {
beginDrawing: function(mediaBox) { beginDrawing: function(mediaBox) {

Loading…
Cancel
Save