From 829c7a0a9c9fb1fcf79a55ac8a9e1ca1f10faf4b Mon Sep 17 00:00:00 2001 From: Amit Raj Date: Wed, 8 May 2024 01:34:57 +0530 Subject: [PATCH] Removed few comments --- packages/interactivity/src/vdom.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/interactivity/src/vdom.ts b/packages/interactivity/src/vdom.ts index b5ba6c8e36122f..4f5fe1424411fb 100644 --- a/packages/interactivity/src/vdom.ts +++ b/packages/interactivity/src/vdom.ts @@ -138,8 +138,8 @@ export function toVdom( root ) { return obj; } // Splitting the directive name into directive type and input. - const directiveType = directiveMatch[ 1 ] || ''; // The directive type part of the directive name. - const directiveInput = directiveMatch[ 2 ] || 'default'; // The directive input part of the directive name, defaulting to 'default' if not present. + const directiveType = directiveMatch[ 1 ] || ''; + const directiveInput = directiveMatch[ 2 ] || 'default'; // Creating or updating the array for the specific directive type in the directives object. obj[ directiveType ] = obj[ directiveType ] || [];