Searched refs:diagonalPath (Results 1 – 1 of 1) sorted by relevance
129 for (var diagonalPath = -1*editLength; diagonalPath <= editLength; diagonalPath+=2) {131 var addPath = bestPath[diagonalPath-1],132 removePath = bestPath[diagonalPath+1];133 oldPos = (removePath ? removePath.newPos : 0) - diagonalPath;136 bestPath[diagonalPath-1] = undefined;142 bestPath[diagonalPath] = undefined;158 var oldPos = this.extractCommon(basePath, newString, oldString, diagonalPath);163 bestPath[diagonalPath] = basePath;180 extractCommon: function(basePath, newString, oldString, diagonalPath) { argument184 oldPos = newPos - diagonalPath;