Skip to content

Commit c3f08a1

Browse files
committed
Do code cleanups
Do code cleanups before pull request
1 parent 64b5f89 commit c3f08a1

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

client/utils/codemirror-search.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,6 @@ function parseString(string) {
279279
return string.replace(/\\(.)/g, function (_, ch) {
280280
if (ch == 'n') return '\n';
281281
if (ch == 'r') return '\r';
282-
console.log(ch);
283282
return ch;
284283
});
285284
}
@@ -309,13 +308,11 @@ function parseQuery(query, state) {
309308

310309
return new RegExp(emptyQuery, 'g');
311310
}
312-
console.log('2->'+ regexp);
313311
return regexp;
314312

315313
}
316314

317315
function startSearch(cm, state, query) {
318-
console.log('startSearch');
319316
state.queryText = query;
320317
state.lastQuery = query;
321318
state.query = parseQuery(query, state);

0 commit comments

Comments
 (0)