Skip to content
This repository was archived by the owner on Aug 5, 2024. It is now read-only.

Commit 230c9f6

Browse files
committed
run tsc over the source typescript
1 parent 798e3e3 commit 230c9f6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

typescript/built/diff_match_patch.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -387,7 +387,7 @@ var diff_match_patch = /** @class */ (function () {
387387
*/
388388
diff_match_patch.prototype.diff_linesToChars_ = function (text1, text2) {
389389
var lineArray = []; // e.g. lineArray[4] == 'Hello\n'
390-
var lineHash = {}; // e.g. lineHash['Hello\n'] == 4
390+
var lineHash = Object.create(null); // e.g. lineHash['Hello\n'] == 4
391391
// '\x00' is a valid character, but various debuggers don't like it.
392392
// So we'll insert a junk entry to avoid generating a null character.
393393
lineArray[0] = '';

0 commit comments

Comments
 (0)