浏览代码

Removed semicolon

Dirk-Jan Wassink 6 年之前
父节点
当前提交
f1d6eb5c2a
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/plugins/ThumbnailGenerator/index.js

+ 1 - 1
src/plugins/ThumbnailGenerator/index.js

@@ -107,7 +107,7 @@ module.exports = class ThumbnailGenerator extends Plugin {
 
     // Use the Polyfill for Math.log2() since IE doesn't support log2
     // https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Math/log2#Polyfill
-    var steps = Math.ceil(Math.log(image.width / targetWidth) * Math.LOG2E);
+    var steps = Math.ceil(Math.log(image.width / targetWidth) * Math.LOG2E)
     if (steps < 1) {
       steps = 1
     }