Skip to content

Commit

Permalink
removed unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
yazz committed Jan 9, 2025
1 parent 6a6b779 commit a8db20c
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions public/go.html
Original file line number Diff line number Diff line change
Expand Up @@ -13895,7 +13895,6 @@ <h1 style='width:100%;vertical-align:top;display:inline-block;font-size:100px; t
let foundLine = null
let foundFile = null
let lineNumberOfSearchItem = null
let surroundingLines = null

for (let fileSourceRecord of yz.uiDb.uiDbTableData["ui_table_command_source_files"].data) {
console.log("Searching " + fileSourceRecord.source_file_name)
Expand Down Expand Up @@ -13935,12 +13934,10 @@ <h1 style='width:100%;vertical-align:top;display:inline-block;font-size:100px; t
foundLine = linesOfFile[lineNumberOfSearchItem - 1]
console.log(" foundOnLine: " + lineNumberOfSearchItem + ":" + foundLine)

surroundingLines = sqlui("select * from ui_table_command_source_file_lines where source_file_name = ? and source_line_number >= ? and source_line_number <= ?",[foundFile, startLine, endLine])

break
}
}
return { found: found , fileName: foundFile, lineNumber: lineNumberOfSearchItem, lineText: foundLine , context: surroundingLines }
return { found: found , fileName: foundFile, lineNumber: lineNumberOfSearchItem, lineText: foundLine }
},
getCallStack: function ( ) {
// Create an Error object to get the stack trace
Expand Down

0 comments on commit a8db20c

Please sign in to comment.