You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
let latestNodeId = 1
|
|
|
|
export default function TextNode (text) {
|
|
this.instanceId = ''
|
|
this.nodeId = latestNodeId++
|
|
this.parentNode = null
|
|
this.nodeType = 3
|
|
this.text = text
|
|
}
|
|
|