Skip to content

Commit

Permalink
remove unused js
Browse files Browse the repository at this point in the history
  • Loading branch information
connorjclark committed Dec 9, 2019
1 parent 7d50227 commit 9f47880
Showing 1 changed file with 0 additions and 20 deletions.
20 changes: 0 additions & 20 deletions lighthouse-core/lib/cdt/SDK.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,26 +54,6 @@ function upperBound(object, comparator, left, right) {
return r;
}

/**
* @param {number} line
* @param {number} column
*/
SDK.TextSourceMap.prototype.findExactEntry = function(line, column) {
// findEntry takes compiled locations and returns original locations.
const entry = this.findEntry(line, column);
// without an exact hit, we return no match
const hitMyBattleShip = entry && entry.lineNumber === line;
if (!entry || !hitMyBattleShip) {
return {
sourceColumnNumber: null,
sourceLineNumber: null,
name: null,
sourceURL: null,
};
}
return entry;
};

// Add `lastColumnNumber` to mappings.
SDK.TextSourceMap.prototype.computeLastGeneratedColumns = function() {
const mappings = this.mappings();
Expand Down

0 comments on commit 9f47880

Please sign in to comment.