UNPKG
@dolphinweex/dof-weex-vue-precompiler
Version:
latest (0.1.9)
0.1.9
0.1.8
0.1.7
0.1.6
0.1.5
0.1.4
0.1.3
0.1.2
0.1.1
0.1.0
a precompiler for weex-vue-render.
@dolphinweex/dof-weex-vue-precompiler
/
src
/
components
/
a.js
16 lines
(15 loc)
•
259 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
exports
.
processA
=
function
(
el, attrsMap, attrsList, attrs, staticClass
) {
const
finalClass = staticClass +
' weex-ct weex-a'
el.
staticClass
=
`"
${finalClass}
"`
attrs.
push
({
name
:
`weex-type`
,
value
:
'"a"'
}) el.
plain
=
false
}