Skip to content

Instantly share code, notes, and snippets.

@cpoDesign
Created October 11, 2017 21:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cpoDesign/76224e9b76899610b5ac83cfaed97396 to your computer and use it in GitHub Desktop.
Save cpoDesign/76224e9b76899610b5ac83cfaed97396 to your computer and use it in GitHub Desktop.
if (_angular_core.ɵglobal['Node']) {
nodeContains = _angular_core.ɵglobal['Node'].prototype.contains || function (node) {
return !!(this.compareDocumentPosition(node) & 16);
};
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment