Skip to content

Commit

Permalink
Removed few comments
Browse files Browse the repository at this point in the history
  • Loading branch information
amitraj2203 committed May 7, 2024
1 parent cdaa80a commit 829c7a0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/interactivity/src/vdom.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 ] || [];
Expand Down

0 comments on commit 829c7a0

Please sign in to comment.