| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2011 Google Inc. All rights reserved. | 2 * Copyright (C) 2011 Google Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
| 6 * met: | 6 * met: |
| 7 * | 7 * |
| 8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
| (...skipping 289 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 300 } | 300 } |
| 301 | 301 |
| 302 var Adb = {}; | 302 var Adb = {}; |
| 303 /** @typedef {{id: string, name: string, url: string, adbAttachedForeign: boolea
n}} */ | 303 /** @typedef {{id: string, name: string, url: string, adbAttachedForeign: boolea
n}} */ |
| 304 Adb.Page; | 304 Adb.Page; |
| 305 /** @typedef {{id: string, adbBrowserChromeVersion: string, compatibleVersion: b
oolean, adbBrowserName: string, source: string, adbBrowserVersion: string, pages
: !Array<!Adb.Page>}} */ | 305 /** @typedef {{id: string, adbBrowserChromeVersion: string, compatibleVersion: b
oolean, adbBrowserName: string, source: string, adbBrowserVersion: string, pages
: !Array<!Adb.Page>}} */ |
| 306 Adb.Browser; | 306 Adb.Browser; |
| 307 /** @typedef {{id: string, adbModel: string, adbSerial: string, browsers: !Array
.<!Adb.Browser>, adbPortStatus: !Array.<number>, adbConnected: boolean}} */ | 307 /** @typedef {{id: string, adbModel: string, adbSerial: string, browsers: !Array
.<!Adb.Browser>, adbPortStatus: !Array.<number>, adbConnected: boolean}} */ |
| 308 Adb.Device; | 308 Adb.Device; |
| 309 | 309 |
| 310 /* jsdifflib API */ | 310 /** |
| 311 var difflib = {}; | 311 * @constructor |
| 312 difflib.stringAsLines = function(text) { return []; } | 312 */ |
| 313 /** @constructor */ | 313 function diff_match_patch() |
| 314 difflib.SequenceMatcher = function(baseText, newText) { } | 314 { |
| 315 difflib.SequenceMatcher.prototype.get_opcodes = function() { return []; } | 315 } |
| 316 |
| 317 diff_match_patch.prototype = { |
| 318 /** |
| 319 * @param {string} text1 |
| 320 * @param {string} text2 |
| 321 * @return {!Array.<!{0: number, 1: string}>} |
| 322 */ |
| 323 diff_main: function(text1, text2) { } |
| 324 } |
| 316 | 325 |
| 317 /** @constructor */ | 326 /** @constructor */ |
| 318 function Path2D() {} | 327 function Path2D() {} |
| 319 Path2D.prototype = { | 328 Path2D.prototype = { |
| 320 /** | 329 /** |
| 321 * @param {number} x | 330 * @param {number} x |
| 322 * @param {number} y | 331 * @param {number} y |
| 323 * @param {number} w | 332 * @param {number} w |
| 324 * @param {number} h | 333 * @param {number} h |
| 325 */ | 334 */ |
| (...skipping 333 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 659 * @extends {ESTree.Node} | 668 * @extends {ESTree.Node} |
| 660 * @constructor | 669 * @constructor |
| 661 */ | 670 */ |
| 662 ESTree.TemplateLiteralNode = function() | 671 ESTree.TemplateLiteralNode = function() |
| 663 { | 672 { |
| 664 /** @type {!Array.<!ESTree.Node>} */ | 673 /** @type {!Array.<!ESTree.Node>} */ |
| 665 this.quasis; | 674 this.quasis; |
| 666 /** @type {!Array.<!ESTree.Node>} */ | 675 /** @type {!Array.<!ESTree.Node>} */ |
| 667 this.expressions; | 676 this.expressions; |
| 668 } | 677 } |
| OLD | NEW |