flow.js: drop dead window.HiveTerminal (#406 step 2 follow-up)
Per @argus on PR #412: after the common.js step (#410) `appendText` uses the direct `termLinkify` import and `termCreate` is called directly in flow.js — nothing reads `window.HiveTerminal` anywhere. Drop the line + the stale comment alongside.
This commit is contained in:
parent
06c23e0bdc
commit
918dccfedd
1 changed files with 1 additions and 6 deletions
|
|
@ -11,18 +11,13 @@
|
|||
// runs purely on the broker stream + an initial /api/state fetch
|
||||
// (compose autocomplete needs the live container list).
|
||||
|
||||
import { create as termCreate, linkify as termLinkify } from '@hive/shared/terminal.js';
|
||||
import { create as termCreate } from '@hive/shared/terminal.js';
|
||||
import {
|
||||
$, el,
|
||||
Panel, NOTIF,
|
||||
appendLinkified,
|
||||
} from './common.js';
|
||||
|
||||
// Common helpers (mdNode in common.js) probe `window.marked` at use
|
||||
// time. Flow page doesn't actually call mdNode (it has no file-preview
|
||||
// path); we set it anyway so any future preview-on-flow lands hot.
|
||||
window.HiveTerminal = { create: termCreate, linkify: termLinkify };
|
||||
|
||||
(() => {
|
||||
Panel.bind();
|
||||
NOTIF.bind();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue