Remove dead code

This commit is contained in:
Marcin Kulik 2017-02-27 11:32:36 +01:00
parent 7250aaca1c
commit 5992e9b2aa

View File

@ -14,13 +14,4 @@ javascript:
var h = Math.max(document.body.scrollHeight, document.body.offsetHeight);
target.postMessage(['asciicast:size', { width: w, height: h }], '*');
}
function onMessage(e) {
var event = e.data[0];
if (event == 'asciicast:play') {
// player.play(); // TODO
}
}
window.addEventListener("message", onMessage, false);
});