From 98dfcf57ec0e44390f250829fe2a4ca24fedf405 Mon Sep 17 00:00:00 2001 From: Andreas Gal Date: Sat, 21 May 2011 07:40:28 +0200 Subject: [PATCH] use const instead of var --- pdf.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pdf.js b/pdf.js index c3e110bd0..cd3f87b7f 100644 --- a/pdf.js +++ b/pdf.js @@ -2116,10 +2116,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) {