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 343 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
354 diff_match_patch.prototype = { | 354 diff_match_patch.prototype = { |
355 /** | 355 /** |
356 * @param {string} text1 | 356 * @param {string} text1 |
357 * @param {string} text2 | 357 * @param {string} text2 |
358 * @return {!Array.<!{0: number, 1: string}>} | 358 * @return {!Array.<!{0: number, 1: string}>} |
359 */ | 359 */ |
360 diff_main: function(text1, text2) {} | 360 diff_main: function(text1, text2) {} |
361 }; | 361 }; |
362 | 362 |
363 /** @constructor */ | 363 /** @constructor */ |
364 function Path2D() { | |
allada
2017/03/08 00:13:02
This is now bundled in closure.
| |
365 } | |
366 Path2D.prototype = { | |
367 /** | |
368 * @param {number} x | |
369 * @param {number} y | |
370 * @param {number} w | |
371 * @param {number} h | |
372 */ | |
373 rect: function(x, y, w, h) {}, | |
374 /** | |
375 * @param {number} x | |
376 * @param {number} y | |
377 */ | |
378 moveTo: function(x, y) {}, | |
379 /** | |
380 * @param {number} x | |
381 * @param {number} y | |
382 */ | |
383 lineTo: function(x, y) {} | |
384 }; | |
385 | |
386 /** @constructor */ | |
387 var Doc = function() {}; | 364 var Doc = function() {}; |
388 Doc.prototype = { | 365 Doc.prototype = { |
389 /** @type {number} */ | 366 /** @type {number} */ |
390 scrollLeft: 0, | 367 scrollLeft: 0, |
391 /** @type {number} */ | 368 /** @type {number} */ |
392 scrollTop: 0 | 369 scrollTop: 0 |
393 }; | 370 }; |
394 | 371 |
395 /** @constructor */ | 372 /** @constructor */ |
396 var CodeMirror = function(element, config) {}; | 373 var CodeMirror = function(element, config) {}; |
(...skipping 408 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
805 var Terminal = function(params) {}; | 782 var Terminal = function(params) {}; |
806 | 783 |
807 Terminal.prototype = { | 784 Terminal.prototype = { |
808 fit: function() {}, | 785 fit: function() {}, |
809 linkify: function() {}, | 786 linkify: function() {}, |
810 /** @param {!Element} element */ | 787 /** @param {!Element} element */ |
811 open: function(element) {}, | 788 open: function(element) {}, |
812 /** @param {string} eventName * @param {!Function} handler */ | 789 /** @param {string} eventName * @param {!Function} handler */ |
813 on: function(eventName, handler) {} | 790 on: function(eventName, handler) {} |
814 }; | 791 }; |
OLD | NEW |