X_PREFIX_ID_NOT_SUPPORTED,
X_MODULE_MODE_NOT_SUPPORTED,
- // Sepcial value for higher-order compilers to pick up the last code
+ // Special value for higher-order compilers to pick up the last code
// to avoid collision of error codes. This should always be kept as the last
// item.
__EXTEND_POINT__
}
describe('compiler-dom: transform v-on', () => {
- it('should support muliple modifiers w/ prefixIdentifiers: true', () => {
+ it('should support multiple modifiers w/ prefixIdentifiers: true', () => {
const [prop] = parseVOnProperties(`<div @click.stop.prevent="test"/>`, {
prefixIdentifiers: true
})
}
// inject runtime directive
// by returning the helper symbol via needRuntime
- // the import will replaced a resovleDirective call.
+ // the import will replaced a resolveDirective call.
if (!isInvalidType) {
baseResult.needRuntime = context.helper(directiveToUse)
}
const isNonKeyModifier = /*#__PURE__*/ makeMap(
// event propagation management
`stop,prevent,self,` +
- // system modifers + exact
+ // system modifiers + exact
`ctrl,shift,alt,meta,exact,` +
// mouse
`left,middle,right`
expect(serialize(root)).toBe(`<div><span>1</span></div>`)
})
- it('should be able to trigger events with muliple listeners', async () => {
+ it('should be able to trigger events with multiple listeners', async () => {
const count = ref(0)
const count2 = ref(1)