Index: Source/devtools/front_end/externs.js |
diff --git a/Source/devtools/front_end/externs.js b/Source/devtools/front_end/externs.js |
index ec7fa0273f2e2227d5ecf1c1e5682b59fe4b3d59..acc89281af421399180fc5a8039327105e4acb99 100644 |
--- a/Source/devtools/front_end/externs.js |
+++ b/Source/devtools/front_end/externs.js |
@@ -307,12 +307,21 @@ Adb.Browser; |
/** @typedef {{id: string, adbModel: string, adbSerial: string, browsers: !Array.<!Adb.Browser>, adbPortStatus: !Array.<number>, adbConnected: boolean}} */ |
Adb.Device; |
-/* jsdifflib API */ |
-var difflib = {}; |
-difflib.stringAsLines = function(text) { return []; } |
-/** @constructor */ |
-difflib.SequenceMatcher = function(baseText, newText) { } |
-difflib.SequenceMatcher.prototype.get_opcodes = function() { return []; } |
+/** |
+ * @constructor |
+ */ |
+function diff_match_patch() |
+{ |
+} |
+ |
+diff_match_patch.prototype = { |
+ /** |
+ * @param {string} text1 |
+ * @param {string} text2 |
+ * @return {!Array.<!{0: number, 1: string}>} |
+ */ |
+ diff_main: function(text1, text2) { } |
+} |
/** @constructor */ |
function Path2D() {} |