I need some help understanding Liferay 7 themes, specifically to use jQuery plugins. As I am having the same issue as in this thread: https://web.liferay.com/community/forums/-/message_boards/view_message/79089004
"is not a function" is occuring whenever I call the plugin function I tried to install. I am tring all the possible placements for this:
crossposting from the Liferay Forums
Not that the cleanest solution, but if you simply want to keep loading your modules as globals, you might be able to do the following:
Setting the amd flag to false before loading your umd-wrapped plugins should do the trick and they should keep loading all the same.
Additionally, if you're hosting the file, you could actually replace &&define.amd by &&false or something similar in the plugin umd definition to make sure it will laod as a global as well.
Let me know if that works for you!