(root)/mod/hvp/amd/src/contenthubregistration.js – Rev 1
|
Ultima modificación |
Ver Log
|
Rev |
Autor |
Línea Nro. |
Línea |
1 |
efrain |
1 |
define([], function () {
|
|
|
2 |
return {
|
|
|
3 |
init: function () {
|
|
|
4 |
// Moodle complains if you pass in settings through init (js_call_amd) since they are too large
|
|
|
5 |
const settings = H5PSettings;
|
|
|
6 |
settings.container = document.getElementById('h5p-hub-registration');
|
|
|
7 |
H5PHub.createRegistrationUI(settings);
|
|
|
8 |
},
|
|
|
9 |
};
|
|
|
10 |
});
|