From 481f242b5a3acfb0ac0935a12600839bab3e2d4c Mon Sep 17 00:00:00 2001 From: Kalervo Kujala Date: Fri, 23 Sep 2011 20:56:21 +0300 Subject: [PATCH] Fix lint warnings. --- fonts.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/fonts.js b/fonts.js index 653751083..bc1ad5569 100644 --- a/fonts.js +++ b/fonts.js @@ -180,7 +180,8 @@ var FontLoader = { // loaded in a subdocument. It's expected that the load of |rules| // has already started in this (outer) document, so that they should // be ordered before the load in the subdocument. - prepareFontLoadEvent: function fontLoaderPrepareFontLoadEvent(rules, names, objs) { + prepareFontLoadEvent: function fontLoaderPrepareFontLoadEvent(rules, names, + objs) { /** Hack begin */ // There's no event when a font has finished downloading so the // following code is a dirty hack to 'guess' when a font is @@ -2504,7 +2505,7 @@ var Type2CFF = (function type2CFF() { // sort the array by the unicode value charstrings.sort(function type2CFFGetCharStringsSort(a, b) { - return a.unicode - b.unicode + return a.unicode - b.unicode; }); return charstrings; },