Hey guys, I think this problem is unfortunately very specific to my use case.
Moodle Version: 3.6.1
Our company uses a system called convertflow for CTA's and they have a script that is generated to load the CTA's. The instruction is to load that script in the head of the page (but it can really be anywhere). My problem is with RequireJS. So this script ConvertFlow gives us has an anonymous define method which means it needs to be loaded using Require.
The first error I pinged ConvertFlow about, they use this to load fonts and said that the script defines a variable 'WebFont'. For some reason the variable is undefined when loading with RequireJS, my inclination is that I need to define that variable using require, but have no idea how to do that if that's what needs to be done.
My AMD is loaded in PHP:
Any help would be appreciated, this is a critical part of our site.