chore: fix typo in vBind.ts (#91)

This commit is contained in:
taiyop 2019-10-05 23:26:32 +09:00 committed by Evan You
parent eaf4f67c62
commit a84a2b252d

View File

@ -14,7 +14,7 @@ export const transformBind: DirectiveTransform = (dir, context) => {
context.onError(createCompilerError(ErrorCodes.X_V_BIND_NO_EXPRESSION, loc)) context.onError(createCompilerError(ErrorCodes.X_V_BIND_NO_EXPRESSION, loc))
} }
// .prop is no longer necessary due to new patch behavior // .prop is no longer necessary due to new patch behavior
// .sync is replced by v-model:arg // .sync is replaced by v-model:arg
if (modifiers.includes('camel')) { if (modifiers.includes('camel')) {
if (arg.type === NodeTypes.SIMPLE_EXPRESSION) { if (arg.type === NodeTypes.SIMPLE_EXPRESSION) {
if (arg.isStatic) { if (arg.isStatic) {