The javascript is in ESM format. Totara doesn't support it yet. It still uses the older AMD format.
Since Moodle 3.10 any new JavaScript intended for Moodle core must be written in the ESM format.
The javascript is in ESM format. Totara doesn't support it yet. It still uses the older AMD format.
Since Moodle 3.10 any new JavaScript intended for Moodle core must be written in the ESM format.