Including a thirdpartylibrary to an Atto subplugin

Including a thirdpartylibrary to an Atto subplugin

by Thomas Mellemseter -
Number of replies: 0

Hi, I am currently working on a Atto subplugin and need a thirdparty library (javascript).
I have followed the steps in order to make it appear in Moodle, but have not found any documentation on how to reference the object provided by the library.
I am using a YUI module and I am currently loading the lib via cdn links which make it pointless including the lib into Moodle.

So how can I do it properly, accessing the lib object in the `yui/src/button/js/button.js`?

Average of ratings: -