From: Kalervo Kujala Date: Fri, 26 Aug 2011 20:55:14 +0000 (+0300) Subject: Fix gjslint errors. X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=edd92c9db29f69ef092399dce877ff66e89ac4f4;p=pdf.js.git Fix gjslint errors. --- diff --git a/fonts.js b/fonts.js index 2d7ff94..3101a2c 100755 --- a/fonts.js +++ b/fonts.js @@ -1891,7 +1891,8 @@ CFF.prototype = { return null; }, - getOrderedCharStrings: function cff_getOrderedCharStrings(glyphs, properties) { + getOrderedCharStrings: function cff_getOrderedCharStrings(glyphs, + properties) { var charstrings = []; var missings = []; diff --git a/pdf.js b/pdf.js index e7095b6..12aa9ca 100644 --- a/pdf.js +++ b/pdf.js @@ -4399,7 +4399,7 @@ var PartialEvaluator = (function() { var fontName = fontDict.get('Name'); if (!fontName) - fontName = xref.fetchIfRef(descriptor.get('FontName'));; + fontName = xref.fetchIfRef(descriptor.get('FontName')); assertWellFormed(IsName(fontName), 'invalid font name'); fontName = fontName.name.replace(/[\+,\-]/g, '_');