revisiontony
|
5afcd4e60c
|
Add files via upload
Minor Improvements Applied:
Nullish Coalescing Operator (??) - Line 17
Changed: this.widgets_values?.[0] || defaultUrl
To: this.widgets_values?.[0] ?? defaultUrl
Benefit: More precise - only uses default if value is null or undefined, not for empty strings or 0
Iframe Error Handling - Lines 38-40
Added: iframe.addEventListener("error", () => { console.error(...) })
Benefit: Logs to console if iframe fails to load, helps debugging
URL Validation - Lines 56-63
Added: try { new URL(url); iframe.src = url; } catch { console.error(...) }
Benefit: Validates URL format before attempting to load, prevents invalid URL errors
Improved Height Calculation - Line 70
Changed: const safeHeight = size[1] - 90;
To: const safeHeight = Math.max(size[1] - 90, 100);
Benefit: Ensures minimum height of 100px, prevents negative/zero heights on small nodes
Cleanup Handler - Lines 83-86
Added: this.onRemoved = function() { ... }
Benefit: Cancels animation timer and clears iframe when node is deleted, prevents memory leaks
|
2025-12-15 23:03:19 -08:00 |
|
revisiontony
|
ef66f4889b
|
Add files via upload
|
2025-12-15 22:29:36 -08:00 |
|
revisiontony
|
7e9868e290
|
Add files via upload
|
2025-12-15 22:29:04 -08:00 |
|
revisiontony
|
2bdd08e613
|
Add files via upload
|
2025-12-15 21:53:09 -08:00 |
|
revisiontony
|
817b0f660b
|
Add files via upload
|
2025-12-15 21:36:43 -08:00 |
|
revisiontony
|
257b9dc0ba
|
Delete ComfyUI_Lora_Frame directory
|
2025-12-15 21:35:40 -08:00 |
|
revisiontony
|
8bc82a30b2
|
Add files via upload
|
2025-12-15 20:50:57 -08:00 |
|
revisiontony
|
b42aaf7dd4
|
Update README.md
|
2025-12-15 20:47:37 -08:00 |
|
revisiontony
|
6c6b12a749
|
Update README.md
|
2025-12-15 11:15:36 -08:00 |
|
revisiontony
|
7d0c8adc71
|
Update README.md
|
2025-12-15 02:53:42 -08:00 |
|
revisiontony
|
29e795b781
|
Add files via upload
|
2025-12-15 02:50:52 -08:00 |
|
revisiontony
|
958f55ab55
|
Rename Workflow - Style Picker .json to Workflow.json
|
2025-12-15 02:22:40 -08:00 |
|
revisiontony
|
00fb61bf92
|
Rename My Flow - Zimage v2.json to Zimage Workflow.json
|
2025-12-15 02:22:13 -08:00 |
|
revisiontony
|
3da7fe0d77
|
Rename My Flow - Style Picker .json to Workflow - Style Picker .json
|
2025-12-15 02:21:42 -08:00 |
|
revisiontony
|
40c1c798b8
|
Add files via upload
|
2025-12-15 02:19:52 -08:00 |
|
revisiontony
|
997a2fe202
|
Update README.md
|
2025-12-14 22:58:48 -08:00 |
|
revisiontony
|
d85896fd64
|
CONTRIBUTING.md
|
2025-12-14 22:56:39 -08:00 |
|
revisiontony
|
3a15711219
|
Add files via upload
|
2025-12-14 22:51:43 -08:00 |
|
revisiontony
|
43fdb24420
|
Delete setup_guide.png
|
2025-12-14 22:51:14 -08:00 |
|
revisiontony
|
22577c88b1
|
Add files via upload
|
2025-12-14 22:50:31 -08:00 |
|
revisiontony
|
046f013cab
|
Add files via upload
|
2025-12-14 22:48:18 -08:00 |
|
revisiontony
|
b5e3b77f2c
|
Add files via upload
|
2025-12-14 22:46:42 -08:00 |
|
revisiontony
|
338ddc802a
|
Update README.md
|
2025-12-14 22:44:20 -08:00 |
|
revisiontony
|
6579fff425
|
Initial commit
|
2025-12-14 22:43:52 -08:00 |
|