Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Side by Side Diff: static/js/vendor/element-closest.min.js

Issue 29624561: Issue 6104 - Minified code in help center repository (Closed) Base URL: https://hg.adblockplus.org/help.eyeo.com
Patch Set: Created Nov. 29, 2017, 2:25 p.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
OLDNEW
1 /*! @source https://github.com/jonathantneal/closest/blob/master/element-closest .js */ 1 /*! @source https://github.com/jonathantneal/closest/blob/master/element-closest .js */
2 !function(e){"function"!=typeof e.matches&&(e.matches=e.msMatchesSelector||e.moz MatchesSelector||e.webkitMatchesSelector||function(e){for(var t=this,o=(t.docume nt||t.ownerDocument).querySelectorAll(e),n=0;o[n]&&o[n]!==t;)++n;return Boolean( o[n])}),"function"!=typeof e.closest&&(e.closest=function(e){for(var t=this;t&&1 ===t.nodeType;){if(t.matches(e))return t;t=t.parentNode}return null})}(window.El ement.prototype); 2 !function(e){"function"!=typeof e.matches&&(e.matches=e.msMatchesSelector||e.moz MatchesSelector||e.webkitMatchesSelector||function(e){for(var t=this,o=(t.docume nt||t.ownerDocument).querySelectorAll(e),n=0;o[n]&&o[n]!==t;)++n;return Boolean( o[n])}),"function"!=typeof e.closest&&(e.closest=function(e){for(var t=this;t&&1 ===t.nodeType;){if(t.matches(e))return t;t=t.parentNode}return null})}(window.El ement.prototype);
3 //# sourceMappingURL=element-closest.min.js.map
OLDNEW

Powered by Google App Engine
This is Rietveld