From 626a085dc7fc87961a1758b836882ca083e72cce Mon Sep 17 00:00:00 2001 From: Daniel Freedman Date: Mon, 17 Apr 2017 12:19:23 -0700 Subject: [PATCH] [ci skip] remove outdated externs file --- externs/closure-upstream-externs.js | 74 ----------------------------- 1 file changed, 74 deletions(-) delete mode 100644 externs/closure-upstream-externs.js diff --git a/externs/closure-upstream-externs.js b/externs/closure-upstream-externs.js deleted file mode 100644 index 09fd330f44..0000000000 --- a/externs/closure-upstream-externs.js +++ /dev/null @@ -1,74 +0,0 @@ -/** - * @fileoverview Externs to upstream to closure compiler - * @externs - */ - -/** @record */ -function CustomElement(){} -/** @type {!Array|undefined} */ -CustomElement.observedAttributes; -/** @type {function()|undefined} */ -CustomElement.prototype.connectedCallback; -/** @type {function()|undefined} */ -CustomElement.prototype.disconnectedCallback; -/** @type {function(string, ?string, ?string, ?string)|undefined} */ -CustomElement.prototype.attributeChangedCallback; - -/** @type {boolean} */ -Event.prototype.composed; - -/** - * @return {!Array} - */ -Event.prototype.composedPath = function(){}; - -/** - * @param {!{mode: string}} options - * @return {!ShadowRoot} - */ -HTMLElement.prototype.attachShadow = function(options){}; - -/** - * @constructor - * @extends {HTMLElement} - */ -function HTMLSlotElement(){} - -/** - * @param {!{flatten: boolean}=} options - * @return {!Array} - */ -HTMLSlotElement.prototype.assignedNodes = function(options){}; - -/** @type {HTMLSlotElement} */ -Node.prototype.assignedSlot; - -/** @constructor */ -function InputDeviceCapabilities(){} - -/** @type {boolean} */ -InputDeviceCapabilities.prototype.firesTouchEvents; - -/** @type {InputDeviceCapabilities} */ -MouseEvent.prototype.sourceCapabilities; - -const customElements = { - /** - * @param {string} tagName - * @param {!CustomElement} klass - * @param {Object=} options - * @return {!CustomElement} - */ - define(tagName, klass, options){}, - /** - * @param {string} tagName - * @return {CustomElement} - */ - get(tagName){}, - /** - * @param {string} tagName - * @return {Promise} - */ - whenDefined(tagName){} -} -window.customElements = customElements; \ No newline at end of file