From 0d8fe7498c1c4bbf32ff832c90b0639edf35a571 Mon Sep 17 00:00:00 2001 From: Svein-Tore Griff With Date: Wed, 18 Feb 2015 15:08:55 +0100 Subject: [PATCH] Remove code not being used --- js/h5p.js | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/js/h5p.js b/js/h5p.js index 84a2921..58f6459 100644 --- a/js/h5p.js +++ b/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);