From a7daef380a250226f5aefdd6b1b20c83011f763e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=A9ry=20Debongnie?= Date: Fri, 27 May 2022 09:24:37 +0200 Subject: [PATCH] [REF] runtime: rename handler.ts -> event_handling.ts --- src/runtime/{handler.ts => event_handling.ts} | 0 src/runtime/index.ts | 2 +- tests/blockdom/event_catcher.test.ts | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) rename src/runtime/{handler.ts => event_handling.ts} (100%) diff --git a/src/runtime/handler.ts b/src/runtime/event_handling.ts similarity index 100% rename from src/runtime/handler.ts rename to src/runtime/event_handling.ts diff --git a/src/runtime/index.ts b/src/runtime/index.ts index 40cac53d..6f596ed7 100644 --- a/src/runtime/index.ts +++ b/src/runtime/index.ts @@ -11,7 +11,7 @@ import { toggler, comment, } from "./blockdom"; -import { mainEventHandler } from "./handler"; +import { mainEventHandler } from "./event_handling"; export type { Reactive } from "./reactivity"; config.shouldNormalizeDom = false; diff --git a/tests/blockdom/event_catcher.test.ts b/tests/blockdom/event_catcher.test.ts index 9bb3bf95..daf745cc 100644 --- a/tests/blockdom/event_catcher.test.ts +++ b/tests/blockdom/event_catcher.test.ts @@ -1,6 +1,6 @@ import { config, createBlock, createCatcher, mount } from "../../src/runtime/blockdom"; import { makeTestFixture } from "./helpers"; -import { mainEventHandler } from "../../src/runtime/handler"; +import { mainEventHandler } from "../../src/runtime/event_handling"; //------------------------------------------------------------------------------ // Setup and helpers