Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions consts.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
export const NOOP = () => undefined;
// Use zero-width so that there is a text node even for empty strings
// eslint-disable-next-line no-restricted-syntax
export const ZERO_WIDTH_SPACE = '\u200B';
export const SIGNAL_DATA_ATTR = 'data-attr-signal';
export const SIGNAL_DATA_ATTR_SELECTOR = `[${SIGNAL_DATA_ATTR}]`;
3 changes: 1 addition & 2 deletions list.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import { DisposableState, DisposableComputed } from './disposable.js';

const ZERO_WIDTH_SPACE = '\u200B';
import { ZERO_WIDTH_SPACE } from './consts.js';

export class ListComputed extends DisposableComputed {
static REF_PREFIX = '__list_signal';
Expand Down
12 changes: 6 additions & 6 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading