refactor: stabilize event file management and ID synchronization
- Updated 'process_ae_obj__event_file_props' to synchronize generic 'for_id' with specific object IDs (e.g., 'event_presenter_id'). - Standardized 'element_manage_event_file_li_direct.svelte' to use specific ID filtering. - Fixed missing 'prevent_default' in 'ae_comp__hosted_files_clip_video.svelte'. - Resolved miscellaneous type and syntax errors identified by svelte-check.
This commit is contained in:
@@ -83,6 +83,13 @@
|
||||
};
|
||||
|
||||
// *** Functions and Logic
|
||||
function prevent_default<T extends Event>(fn: (event: T) => void) {
|
||||
return function (event: T) {
|
||||
event.preventDefault();
|
||||
fn(event);
|
||||
};
|
||||
}
|
||||
|
||||
function handle_clip_video(event: Event) {
|
||||
console.log('*** handle_clip_video() ***');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user