Remove code not being used
parent
e981e7d605
commit
0d8fe7498c
10
js/h5p.js
10
js/h5p.js
|
@ -396,16 +396,6 @@ H5P.newRunnable = function (library, contentId, $attachTo, skipResize) {
|
|||
instance.conentId = contentId;
|
||||
}
|
||||
|
||||
// Make xAPI events bubble
|
||||
// if (parent !== null && parent.trigger !== undefined) {
|
||||
// instance.on('xAPI', parent.trigger);
|
||||
// }
|
||||
|
||||
// Automatically call resize on resize event if defined
|
||||
if (typeof instance.resize === 'function') {
|
||||
H5P.on(instance, 'resize', instance.resize);
|
||||
}
|
||||
|
||||
if ($attachTo !== undefined) {
|
||||
instance.attach($attachTo);
|
||||
|
||||
|
|
Loading…
Reference in New Issue