MCPcopy
hub / github.com/sansan0/TrendRadar / applyTimelineEditorChanges

Function applyTimelineEditorChanges

docs/assets/script.js:4627–4634  ·  view source on GitHub ↗
(editor, lines)

Source from the content-addressed store, hash-verified

4625}
4626
4627function applyTimelineEditorChanges(editor, lines) {
4628 editor.value = lines.join('\n');
4629 currentTimeline = editor.value;
4630 updateBackdrop('timeline-editor', 'timeline-backdrop');
4631 debounceSaveTimeline();
4632 clearTimeout(window._tlRenderTimer);
4633 window._tlRenderTimer = setTimeout(() => syncTimelineToUI(), 300);
4634}
4635
4636function removeTimelineField(presetName, periodKey, field) {
4637 const editor = document.getElementById('timeline-editor');

Callers 2

removeTimelineFieldFunction · 0.85

Calls 3

updateBackdropFunction · 0.85
debounceSaveTimelineFunction · 0.85
syncTimelineToUIFunction · 0.85

Tested by

no test coverage detected