Last change
on this file since 57e58a3 was 57e58a3, checked in by ste08 <sjovanoska@…>, 4 months ago |
Initial commit
|
-
Property mode
set to
100644
|
File size:
303 bytes
|
Rev | Line | |
---|
[57e58a3] | 1 | const { h, Fragment } = require('vue')
|
---|
| 2 |
|
---|
| 3 | function jsx(type, props, key) {
|
---|
| 4 | const { children } = props
|
---|
| 5 | delete props.children
|
---|
| 6 | if (arguments.length > 2) {
|
---|
| 7 | props.key = key
|
---|
| 8 | }
|
---|
| 9 | return h(type, props, children)
|
---|
| 10 | }
|
---|
| 11 |
|
---|
| 12 | exports.jsx = jsx
|
---|
| 13 | exports.jsxs = jsx
|
---|
| 14 | exports.jsxDEV = jsx
|
---|
| 15 | exports.Fragment = Fragment
|
---|
Note:
See
TracBrowser
for help on using the repository browser.