Remove dead code
This commit is contained in:
parent
7250aaca1c
commit
5992e9b2aa
@ -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);
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user