Sha256: b6c8424afb2019de6ab3d8f8f8e77f2c4c1ea046ecb9e30bfc3ef55fbbbd712a
Contents?: true
Size: 884 Bytes
Versions: 63
Compression:
Stored size: 884 Bytes
Contents
import '../../Object/defineProperty.mjs' import '../../Element.mjs' (function(undefined) { // Detection from https://raw.githubusercontent.com/Financial-Times/polyfill-library/master/polyfills/Element/prototype/nextElementSibling/detect.js var detect = ( 'document' in this && "nextElementSibling" in document.documentElement ) if (detect) return // Polyfill from https://raw.githubusercontent.com/Financial-Times/polyfill-library/master/polyfills/Element/prototype/nextElementSibling/polyfill.js Object.defineProperty(Element.prototype, "nextElementSibling", { get: function(){ var el = this.nextSibling; while (el && el.nodeType !== 1) { el = el.nextSibling; } return el; } }); }).call('object' === typeof window && window || 'object' === typeof self && self || 'object' === typeof global && global || {});
Version data entries
63 entries across 63 versions & 1 rubygems