Skip to content

Commit a263457

Browse files
authored
Rename files
1 parent 23965c3 commit a263457

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/build/patches.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -75,10 +75,10 @@ function handleMixin(node: Node, mixins: Record<string, any>) {
7575
const name = child.values[0] as string;
7676
switch (child.name) {
7777
case "event":
78-
handleEventChild(child, event, name);
78+
handleEvent(child, event, name);
7979
break;
8080
case "property":
81-
handlePropertyChild(child, property, name);
81+
handleProperty(child, property, name);
8282
break;
8383
default:
8484
throw new Error(`Unknown node name: ${child.name}`);
@@ -93,7 +93,7 @@ function handleMixin(node: Node, mixins: Record<string, any>) {
9393
* @param child The child node to handle.
9494
* @param event The event array to update.
9595
*/
96-
function handleEventChild(child: Node, event: Event[], name: string) {
96+
function handleEvent(child: Node, event: Event[], name: string) {
9797
event.push({
9898
name,
9999
type: child.properties.type as string,
@@ -105,7 +105,7 @@ function handleEventChild(child: Node, event: Event[], name: string) {
105105
* @param child The child node to handle.
106106
* @param property The property object to update.
107107
*/
108-
function handlePropertyChild(child: Node, property: Properties, name: string) {
108+
function handleProperty(child: Node, property: Properties, name: string) {
109109
property[name] = {
110110
name,
111111
exposed: child.properties?.exposed as string,

0 commit comments

Comments
 (0)