Skip to content
This repository has been archived by the owner on Mar 13, 2018. It is now read-only.

Commit

Permalink
Merge pull request #36 from tommycli/master
Browse files Browse the repository at this point in the history
Add isLightDescendant extern. Fix a typo.
  • Loading branch information
jklein24 committed Nov 4, 2015
2 parents 9417581 + 765ae85 commit d4465d6
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions polymer.externs.js
Original file line number Diff line number Diff line change
Expand Up @@ -437,6 +437,13 @@ PolymerElement.prototype.translate3d = function(x, y, z, node) {};
*/
PolymerElement.prototype.importHref = function(href, onload, onerror) {};

/**
* Checks whether an element is in this element's light DOM tree.
* @param {HTMLElement=} node The element to be checked.
* @return {boolean} true if node is in this element's light DOM tree.
*/
PolymerElement.prototype.isLightDescendant = function(node) {};

/**
* Delete an element from an array.
* @param {!Array|string} array Path to array from which to remove the item (or
Expand Down

0 comments on commit d4465d6

Please sign in to comment.