瀏覽代碼

Decaf cleanup: unused variable

Eric Mc Sween 6 年之前
父節點
當前提交
8c70e72bfa
共有 1 個文件被更改,包括 1 次插入 和 3 次删除
  1. 1 3
      services/document-updater/app/js/DiffCodec.js

+ 1 - 3
services/document-updater/app/js/DiffCodec.js

@@ -3,13 +3,11 @@
     handle-callback-err,
     new-cap,
     no-throw-literal,
-    no-unused-vars,
 */
-let DiffCodec
 const { diff_match_patch } = require('../lib/diff_match_patch')
 const dmp = new diff_match_patch()
 
-module.exports = DiffCodec = {
+module.exports = {
   ADDED: 1,
   REMOVED: -1,
   UNCHANGED: 0,