Remove superfluous method

This commit is contained in:
Talia 2025-02-17 13:54:01 +01:00
parent 8ec8218e90
commit 4d85f8db1d

View file

@ -360,16 +360,6 @@ export class DomHtmlRenderer extends DomRenderer {
return document.createElement(name.replace(/([a-z])([A-Z])/g, "$1-$2"), options)
}
/** Creates a new HTML node
* @param {String} name
* @param {Array} args
*/
node(name, args) {
const element = this.createElement(name)
this.constructor.apply(element, args)
return element
}
/** @type {Object<string,SpecialAttributeDescriptor>} */
static specialAttributes = {
value: {