diff options
Diffstat (limited to 'node_modules/vue/src/platforms/weex/runtime/text-node.js')
| -rw-r--r-- | node_modules/vue/src/platforms/weex/runtime/text-node.js | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/node_modules/vue/src/platforms/weex/runtime/text-node.js b/node_modules/vue/src/platforms/weex/runtime/text-node.js new file mode 100644 index 00000000..0720a05a --- /dev/null +++ b/node_modules/vue/src/platforms/weex/runtime/text-node.js @@ -0,0 +1,9 @@ +let latestNodeId = 1 + +export default function TextNode (text) { + this.instanceId = '' + this.nodeId = latestNodeId++ + this.parentNode = null + this.nodeType = 3 + this.text = text +} |
