I am looking at the documentation on using AMD Modals for Javascript dialog boxes (https://docs.moodle.org/dev/AMD_Modal). I am trying to run the example that is present on the page, however, I'm getting a few errors in my console:
Uncaught Error: No define call for core/custom_interaction_events
Uncaught Error: No define call for core/modal
It appears that these two modules aren't loading. I have cleared the cache through Moodle and through the browser. What am I missing? Are these modules part of moodle?
Amy