Преглед изворни кода

Remove some unused variables

These miseed the lint rule as they were merged between the last rebase
and deploy.

GitOrigin-RevId: 16b1117d56f2fc824509b9a0f340dba2ede9902f
Andrew Rumble пре 1 година
родитељ
комит
c227c1e2d9
1 измењених фајлова са 3 додато и 3 уклоњено
  1. 3 3
      services/web/frontend/js/features/source-editor/extensions/history-ot.ts

+ 3 - 3
services/web/frontend/js/features/source-editor/extensions/history-ot.ts

@@ -41,7 +41,7 @@ export const shareDocState = StateField.define<HistoryOTShareDoc | null>({
     return null
     return null
   },
   },
 
 
-  update(value, transaction) {
+  update(value) {
     // this state is constant
     // this state is constant
     return value
     return value
   },
   },
@@ -134,7 +134,7 @@ class ChangeDeletedWidget extends WidgetType {
     return widget
     return widget
   }
   }
 
 
-  eq(old: ChangeDeletedWidget) {
+  eq() {
     return true
     return true
   }
   }
 }
 }
@@ -407,7 +407,7 @@ class PositionMapper {
         })
         })
         this.offsets.toCM6.push({
         this.offsets.toCM6.push({
           pos: change.range.pos,
           pos: change.range.pos,
-          map: pos => deletePos - oldOffset,
+          map: () => deletePos - oldOffset,
         })
         })
         this.offsets.toCM6.push({
         this.offsets.toCM6.push({
           pos: change.range.pos + deleteLength,
           pos: change.range.pos + deleteLength,