Skip to content

Commit

Permalink
add return comment
Browse files Browse the repository at this point in the history
  • Loading branch information
AbhiShake1 committed Jun 27, 2024
1 parent dba8b23 commit 76899f9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/alpinejs/src/utils/get-utlilties.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@ import { getElementBoundUtilities } from "../directives";
import { interceptor } from "../interceptor";
import { onElRemoved } from "../mutation";

/// Get the utilities for a given element.
/// Gets the utilities for a given element.
/// @param el - The element to get the utilities for.
/// @returns The utilities for the given element.
export function getUtilities(el) {
let [utilities, cleanup] = getElementBoundUtilities(el)
const utils = { interceptor, ...utilities }
Expand Down

0 comments on commit 76899f9

Please sign in to comment.