UNPKG
xmlplus
Version:
latest (1.7.32)
1.7.32
1.7.30
1.7.29
1.7.28
1.7.27
1.7.26
1.7.25
1.7.24
1.7.23
1.7.22
1.7.21
1.7.20
1.7.18
1.7.14
1.7.13
1.7.12
1.7.11
1.7.10
1.7.9
1.7.6
1.7.5
1.7.4
1.7.3
1.7.2
1.7.0
1.6.19
1.6.18
1.6.17
1.6.16
1.6.15
1.6.14
1.6.13
1.6.12
1.6.2
1.6.1
1.6.0
1.5.24
1.5.23
1.5.22
1.5.21
1.5.20
1.5.19
1.5.18
1.5.17
1.5.16
1.5.15
1.5.14
1.5.13
1.5.12
1.5.11
1.5.10
1.5.9
1.5.8
1.5.7
1.5.6
1.5.5
1.5.4
1.5.3
1.5.1
1.5.0
1.3.0
1.2.0
1.1.0
1.0.0
A JavaScript framwork for developing projects efficiently.
xmlplus.cn
qudou/xmlplus
xmlplus
/
example
/
docs
/
02-naming
/
02
/
index.js
11 lines
•
303 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
xmlplus("xp", function (xp, $_) { $_().imports({ Index: { css: "#animal h1 { background: green; }", xml: "
<
div
id
=
'animal'
>
\
<
h1
id
=
'dog'
>
dog
</
h1
>
\
<
h1
id
=
'cat'
>
cat
</
h1
>
\
</
div
>
" } }); });