]> git.parisson.com Git - pdf.js.git/commitdiff
Fix lint warnings.
authorKalervo Kujala <kkujala@>
Fri, 23 Sep 2011 17:56:21 +0000 (20:56 +0300)
committerKalervo Kujala <kkujala@>
Fri, 23 Sep 2011 17:56:21 +0000 (20:56 +0300)
fonts.js

index 65375108307c2614cb9351c711f9a9c316a05bc0..bc1ad5569bf21acb8b456516eff8e71a0c3a9847 100644 (file)
--- 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;
     },