mirror of
https://github.com/jlengrand/web-components-workshop-deprecated.git
synced 2026-03-10 08:51:23 +00:00
34 lines
2.0 KiB
JavaScript
34 lines
2.0 KiB
JavaScript
export default {
|
|
Document_createElement: window.Document.prototype.createElement,
|
|
Document_createElementNS: window.Document.prototype.createElementNS,
|
|
Document_importNode: window.Document.prototype.importNode,
|
|
Document_prepend: window.Document.prototype['prepend'],
|
|
Document_append: window.Document.prototype['append'],
|
|
DocumentFragment_prepend: window.DocumentFragment.prototype['prepend'],
|
|
DocumentFragment_append: window.DocumentFragment.prototype['append'],
|
|
Node_cloneNode: window.Node.prototype.cloneNode,
|
|
Node_appendChild: window.Node.prototype.appendChild,
|
|
Node_insertBefore: window.Node.prototype.insertBefore,
|
|
Node_removeChild: window.Node.prototype.removeChild,
|
|
Node_replaceChild: window.Node.prototype.replaceChild,
|
|
Node_textContent: Object.getOwnPropertyDescriptor(window.Node.prototype, 'textContent'),
|
|
Element_attachShadow: window.Element.prototype['attachShadow'],
|
|
Element_innerHTML: Object.getOwnPropertyDescriptor(window.Element.prototype, 'innerHTML'),
|
|
Element_getAttribute: window.Element.prototype.getAttribute,
|
|
Element_setAttribute: window.Element.prototype.setAttribute,
|
|
Element_removeAttribute: window.Element.prototype.removeAttribute,
|
|
Element_getAttributeNS: window.Element.prototype.getAttributeNS,
|
|
Element_setAttributeNS: window.Element.prototype.setAttributeNS,
|
|
Element_removeAttributeNS: window.Element.prototype.removeAttributeNS,
|
|
Element_insertAdjacentElement: window.Element.prototype['insertAdjacentElement'],
|
|
Element_prepend: window.Element.prototype['prepend'],
|
|
Element_append: window.Element.prototype['append'],
|
|
Element_before: window.Element.prototype['before'],
|
|
Element_after: window.Element.prototype['after'],
|
|
Element_replaceWith: window.Element.prototype['replaceWith'],
|
|
Element_remove: window.Element.prototype['remove'],
|
|
HTMLElement: window.HTMLElement,
|
|
HTMLElement_innerHTML: Object.getOwnPropertyDescriptor(window.HTMLElement.prototype, 'innerHTML'),
|
|
HTMLElement_insertAdjacentElement: window.HTMLElement.prototype['insertAdjacentElement'],
|
|
};
|