chore: revert prettier

This commit is contained in:
Evan You
2019-10-22 11:52:29 -04:00
parent b5886189ba
commit af57ad110f
9 changed files with 97 additions and 109 deletions

View File

@@ -35,7 +35,9 @@ function toNumber(val: string): number | string {
// We are exporting the v-model runtime directly as vnode hooks so that it can
// be tree-shaken in case v-model is never used.
export const vModelText: ObjectDirective<HTMLInputElement | HTMLTextAreaElement> = {
export const vModelText: ObjectDirective<
HTMLInputElement | HTMLTextAreaElement
> = {
beforeMount(el, { value, modifiers: { lazy, trim, number } }, vnode) {
el.value = value
const assign = getModelAssigner(vnode)