Remove code not being used

d6
Svein-Tore Griff With 2015-02-18 15:08:55 +01:00
parent e981e7d605
commit 0d8fe7498c
1 changed files with 0 additions and 10 deletions

View File

@ -396,16 +396,6 @@ H5P.newRunnable = function (library, contentId, $attachTo, skipResize) {
instance.conentId = contentId; 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) { if ($attachTo !== undefined) {
instance.attach($attachTo); instance.attach($attachTo);