Skip to content

Commit

Permalink
fix dom-module related errors
Browse files Browse the repository at this point in the history
  • Loading branch information
Steven Orvell committed May 25, 2017
1 parent bc504f6 commit 0744364
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
7 changes: 6 additions & 1 deletion externs/webcomponents-externs.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,12 @@ let HTMLImports = {
/**
* @param {function()} callback
*/
whenReady(callback){}
whenReady(callback){},
/**
* @param {Element} element
* @returns {Document} document
*/
importForElement(element){}
};

window.HTMLImports = HTMLImports;
Expand Down
1 change: 1 addition & 0 deletions lib/elements/dom-module.html
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@
* @memberof Polymer
* @summary Custom element that provides a registry of relocatable DOM content
* by `id` that is agnostic to bundling.
* @unrestricted
*/
class DomModule extends HTMLElement {

Expand Down
2 changes: 1 addition & 1 deletion lib/utils/resolve-url.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
*
* @memberof Polymer.ResolveUrl
* @param {string} url Input URL to resolve
* @param {string=} baseURI Base URI to resolve the URL against
* @param {?string=} baseURI Base URI to resolve the URL against
* @return {string} resolved URL
*/
function resolveUrl(url, baseURI) {
Expand Down

0 comments on commit 0744364

Please sign in to comment.