Skip to content

Commit 449f95c

Browse files
nickmessingyyx990803
authored andcommitted
Add underscore to allowed event names first character (#88)
1 parent 0e028b6 commit 449f95c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/group-props.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
var makeMap = require('./make-map')
22
var isTopLevel = makeMap('class,staticClass,style,key,ref,refInFor,slot,scopedSlots')
33
var isNestable = makeMap('domProps,on,nativeOn,hook')
4-
var nestableRE = /^(domProps|on|nativeOn|hook)([\-A-Z])/
4+
var nestableRE = /^(domProps|on|nativeOn|hook)([\-_A-Z])/
55
var dirRE = /^v-/
66
var xlinkRE = /^xlink([A-Z])/
77

0 commit comments

Comments
 (0)