developit / developit/undom

Add Attribute class

Aperta
#14 1 commento 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
JavaScript
Stelle
690
Fork
25
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

One more thing is to add Attribute, which _should not_ inherit from `Node`, so this would be enough

```js
class Attribute {
constructor (name, value, ns) {
this.nodeType = 2
this.name = name
this.value = value
this.namespaceURI = ns
}
}
```

I can PR with fixes and updates addressed in couple of issues, do you want such PR?

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.