Skip to content

Commit dab6352

Browse files
committed
chore: bump to v0.1.7
1 parent 2239924 commit dab6352

File tree

5 files changed

+7
-4
lines changed

5 files changed

+7
-4
lines changed

.bmp.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
version: 0.1.6
1+
version: 0.1.7
22
commit: 'chore: bump to v%.%.%'
33
files:
44
README.md: Cell v%.%.%

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<img src="https://kt3k.github.io/cell/cell-logo.svg" width="70" alt="cell" />
22

3-
# Cell v0.1.6
3+
# Cell v0.1.7
44

55
> Event-driven DOM programming in a new style
66

deno.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@kt3k/cell",
3-
"version": "0.1.6",
3+
"version": "0.1.7",
44
"exports": {
55
".": "./mod.ts"
66
},

mod.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*! Cell v0.1.6 | Copyright 2024 Yoshiya Hinosawa and Capsule contributors | MIT license */
1+
/*! Cell v0.1.7 | Copyright 2024 Yoshiya Hinosawa and Capsule contributors | MIT license */
22
import { documentReady, logEvent } from "./util.ts";
33

44
interface Initializer {

util.ts

+3
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ const boldColor = (color: string): string =>
3333
const defaultEventColor = "#f012be";
3434

3535
declare const __DEV__: boolean;
36+
declare const DEBUG_IGNORE: undefined | Set<string>;
3637

3738
export function logEvent({
3839
component,
@@ -43,6 +44,8 @@ export function logEvent({
4344
if (typeof __DEV__ === "boolean" && !__DEV__) return;
4445
const event = e.type;
4546

47+
if (typeof DEBUG_IGNORE === "object" && DEBUG_IGNORE?.has(event)) return;
48+
4649
console.groupCollapsed(
4750
`${module}> %c${event}%c on %c${component}`,
4851
boldColor(color || defaultEventColor),

0 commit comments

Comments
 (0)