weex-vue-precompiler
Advanced tools
Comparing version
@@ -47,2 +47,3 @@ const transEvtsMap = { | ||
const evtKeys = Object.keys(evts) | ||
let marked = false | ||
for (let i = 0, l = evtKeys.length; i < l; i++) { | ||
@@ -52,3 +53,4 @@ const key = evtKeys[i] | ||
const evtName = transKey || key | ||
if (transKey) { | ||
if (transKey && !marked) { | ||
marked = true | ||
attrs.push({ | ||
@@ -55,0 +57,0 @@ name: `weex-appear`, |
{ | ||
"name": "weex-vue-precompiler", | ||
"version": "0.1.11", | ||
"version": "0.1.12", | ||
"description": "a precompiler for weex-vue-render.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
18377
0.31%597
0.34%