chore: fix typos (#1090)

This commit is contained in:
HiiTea
2020-05-01 21:42:58 +08:00
committed by GitHub
parent a6a939f5e0
commit 22717772dd
25 changed files with 42 additions and 42 deletions

View File

@@ -1,6 +1,6 @@
import { render, h } from '@vue/runtime-dom'
describe('customimized built-in elements support', () => {
describe('customized built-in elements support', () => {
let createElement: jest.SpyInstance
afterEach(() => {
createElement.mockRestore()

View File

@@ -114,7 +114,7 @@ describe('vModel', () => {
await nextTick()
expect(spy1).toHaveBeenCalledWith('foo')
// udpate listener
// update listener
toggle.value = false
await nextTick()

View File

@@ -16,7 +16,7 @@ export function patchAttr(
}
} else {
// note we are only checking boolean attributes that don't have a
// correspoding dom prop of the same name here.
// corresponding dom prop of the same name here.
const isBoolean = isSpecialBooleanAttr(key)
if (value == null || (isBoolean && value === false)) {
el.removeAttribute(key)