Commit 81cefcb
fix: restore Music Blocks loading regression after RequireJS changes (sugarlabs#5632)
- Add robust load guard in index.html for createjs
- Enhance activity.js initialize() to wait for critical globals (Tone, libgif, etc.)
- Make Activity constructor defensive against missing GIFAnimator
- Fix potential ReferenceError in index.html doSearch() call
Co-authored-by: Walter Bender <walter@sugarlabs.org>1 parent e22947d commit 81cefcb
2 files changed
+32
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
548 | 548 | | |
549 | 549 | | |
550 | 550 | | |
| 551 | + | |
| 552 | + | |
| 553 | + | |
| 554 | + | |
| 555 | + | |
| 556 | + | |
| 557 | + | |
551 | 558 | | |
552 | 559 | | |
553 | 560 | | |
| |||
608 | 615 | | |
609 | 616 | | |
610 | 617 | | |
611 | | - | |
| 618 | + | |
| 619 | + | |
| 620 | + | |
| 621 | + | |
| 622 | + | |
| 623 | + | |
612 | 624 | | |
613 | 625 | | |
614 | 626 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
306 | 306 | | |
307 | 307 | | |
308 | 308 | | |
309 | | - | |
310 | 309 | | |
311 | 310 | | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
312 | 315 | | |
313 | 316 | | |
314 | 317 | | |
| |||
485 | 488 | | |
486 | 489 | | |
487 | 490 | | |
| 491 | + | |
| 492 | + | |
| 493 | + | |
| 494 | + | |
| 495 | + | |
488 | 496 | | |
489 | 497 | | |
490 | 498 | | |
| |||
7786 | 7794 | | |
7787 | 7795 | | |
7788 | 7796 | | |
7789 | | - | |
| 7797 | + | |
| 7798 | + | |
| 7799 | + | |
| 7800 | + | |
| 7801 | + | |
| 7802 | + | |
| 7803 | + | |
| 7804 | + | |
| 7805 | + | |
7790 | 7806 | | |
7791 | 7807 | | |
7792 | 7808 | | |
| |||
7810 | 7826 | | |
7811 | 7827 | | |
7812 | 7828 | | |
7813 | | - | |
| 7829 | + | |
7814 | 7830 | | |
7815 | 7831 | | |
7816 | 7832 | | |
| |||
0 commit comments