From: Andreas Gal Date: Sat, 21 May 2011 05:40:28 +0000 (+0800) Subject: use const instead of var X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=e0a6c8ef76f8132ed8858989548d075d18c7490d;p=pdf.js.git use const instead of var --- diff --git a/pdf.js b/pdf.js index 06928ca..37c93a4 100644 --- a/pdf.js +++ b/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) {