chore: rename & property missing (#335)
This commit is contained in:
@@ -313,7 +313,7 @@ describe('compiler: transform', () => {
|
||||
},
|
||||
{
|
||||
type: NodeTypes.JS_CALL_EXPRESSION,
|
||||
// should wrap applyDirectives() around createBlock()
|
||||
// should wrap withDirectives() around createBlock()
|
||||
callee: WITH_DIRECTIVES,
|
||||
arguments: [
|
||||
{ callee: CREATE_BLOCK },
|
||||
|
||||
@@ -857,7 +857,7 @@ describe('compiler: v-for', () => {
|
||||
type: NodeTypes.JS_SEQUENCE_EXPRESSION,
|
||||
expressions: [
|
||||
{ callee: OPEN_BLOCK },
|
||||
// should wrap applyDirectives() around createBlock()
|
||||
// should wrap withDirectives() around createBlock()
|
||||
{
|
||||
callee: WITH_DIRECTIVES,
|
||||
arguments: [
|
||||
|
||||
@@ -396,7 +396,7 @@ export interface DynamicSlotFnProperty extends Property {
|
||||
value: SlotFunctionExpression
|
||||
}
|
||||
|
||||
// applyDirectives(createVNode(...), [
|
||||
// withDirectives(createVNode(...), [
|
||||
// [_directive_foo, someValue],
|
||||
// [_directive_bar, someValue, "arg", { mod: true }]
|
||||
// ])
|
||||
|
||||
@@ -97,6 +97,7 @@ export function parse(content: string, options: ParserOptions = {}): RootNode {
|
||||
components: [],
|
||||
directives: [],
|
||||
hoists: [],
|
||||
cached: 0,
|
||||
codegenNode: undefined,
|
||||
loc: getSelection(context, start),
|
||||
cached: 0
|
||||
|
||||
Reference in New Issue
Block a user