Przeglądaj źródła

Merge pull request #12213 from overleaf/em-camel-case-spelling

Camel case variables in spelling

GitOrigin-RevId: 68e0e3c97381c2aeab4c606f978a62edd6fdc732
Eric Mc Sween 3 lat temu
rodzic
commit
119d986b4a
1 zmienionych plików z 2 dodań i 2 usunięć
  1. 2 2
      services/spelling/test/stress/js/stressTest.js

+ 2 - 2
services/spelling/test/stress/js/stressTest.js

@@ -54,7 +54,7 @@ const generateIncorrectWords = function (n) {
   return words
 }
 
-const make_request = function (correctWords, incorrectWords, callback) {
+const makeRequest = function (correctWords, incorrectWords, callback) {
   let i, j, w
   let i1
   let j1
@@ -142,7 +142,7 @@ const make_request = function (correctWords, incorrectWords, callback) {
 const q = async.queue(
   (task, callback) =>
     setTimeout(
-      () => make_request(task.correct, task.incorrect, callback),
+      () => makeRequest(task.correct, task.incorrect, callback),
       Math.random() * 100
     ),