UNPKG

vue

Version:

Reactive, component-oriented view layer for modern web interfaces.

17 lines (14 loc) 250 B
let latestNodeId = 1 function TextNode (text) { this.instanceId = '' this.nodeId = latestNodeId++ this.parentNode = null this.nodeType = 3 this.text = text } export default { TextNode, instances: {}, modules: {}, components: {} }