Skip to content
Permalink
Browse files
chore: minor tweaks
  • Loading branch information
yyx990803 committed Aug 1, 2018
1 parent c28f792 commit b3c5e642295b4c0722e76fb9ba3e8bf1b8ce43bc
Showing 2 changed files with 2 additions and 2 deletions.
@@ -19,7 +19,7 @@ const isAttr = makeMap(
)

const unsafeAttrCharRE = /[>/="'\u0009\u000a\u000c\u0020]/
export const isSSRUnsafeAttr = name => {
export const isSSRUnsafeAttr = (name: string): boolean => {
return unsafeAttrCharRE.test(name)
}

@@ -337,7 +337,7 @@ describe('Directive v-model checkbox', () => {
expect(vm.$el.children[1].textContent).toBe('false')
}).then(done)
})

// #7811
it('type should not be overwritten by v-bind', () => {
const vm = new Vue({

0 comments on commit b3c5e64

Please sign in to comment.