Skip to content

Commit

Permalink
Update externs.
Browse files Browse the repository at this point in the history
  • Loading branch information
Steven Orvell committed Oct 19, 2017
1 parent 092b210 commit 8683b27
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 38 deletions.
29 changes: 0 additions & 29 deletions closure.log

This file was deleted.

7 changes: 3 additions & 4 deletions externs/closure-types.js
Original file line number Diff line number Diff line change
Expand Up @@ -749,12 +749,11 @@ Polymer_ElementMixin._parseTemplateContent = function(template, templateInfo, no
*/
Polymer_ElementMixin.finalize = function(){};
/**
* @param {string} is Tag name for this element
* @param {!HTMLTemplateElement} template Template to process
* @param {string} cssText Text containing styling to process
* @param {string} baseURI Base URI to rebase CSS paths against
* @return {string}
*/
Polymer_ElementMixin._processStyleText = function(is, template, baseURI){};
Polymer_ElementMixin._processStyleText = function(cssText, baseURI){};
/**
* @param {string} is Tag name (or type extension name) for this element
* @param {string=} ext For type extensions, the tag name that was extended
Expand Down Expand Up @@ -799,7 +798,7 @@ Polymer_DirMixin.prototype.disconnectedCallback = function(){};
/**
* @override
*/
Polymer_DirMixin._processStyleText = function(is, template, baseURI){};
Polymer_DirMixin._processStyleText = function(cssText, baseURI){};
/**
* @param {string} text CSS text to replace DIR
* @return {string}
Expand Down
10 changes: 5 additions & 5 deletions lib/utils/style-gather.html
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
* @memberof Polymer.StyleGather
* @param {string} moduleIds List of dom-module id's within which to
* search for css.
* @return {array} Array of contained <style> elements
* @return {Array} Array of contained <style> elements
* @this {StyleGather}
*/
stylesFromModules(moduleIds) {
Expand All @@ -63,7 +63,7 @@
*
* @memberof Polymer.StyleGather
* @param {string} moduleId dom-module id to gather styles from
* @return {array} Array of contained styles.
* @return {Array} Array of contained styles.
* @this {StyleGather}
*/
stylesFromModule(moduleId) {
Expand Down Expand Up @@ -92,7 +92,7 @@
* @memberof Polymer.StyleGather
* @param {HTMLTemplateElement} template Template to gather styles from
* @param {string} baseURI baseURI for style content
* @return {array} Array of styles
* @return {Array} Array of styles
* @this {StyleGather}
*/
stylesFromTemplate(template, baseURI) {
Expand Down Expand Up @@ -126,7 +126,7 @@
*
* @memberof Polymer.StyleGather
* @param {string} moduleId Id of `dom-module` to gather CSS from
* @return {array} Array of contained styles.
* @return {Array} Array of contained styles.
* @this {StyleGather}
*/
stylesFromModuleImports(moduleId) {
Expand All @@ -138,7 +138,7 @@
* @memberof Polymer.StyleGather
* @this {StyleGather}
* @param {!HTMLElement} module dom-module element that could contain `<link rel="import" type="css">` styles
* @return {array} Array of contained styles
* @return {Array} Array of contained styles
*/
_stylesFromModuleImports(module) {
const styles = [];
Expand Down

0 comments on commit 8683b27

Please sign in to comment.