mirror of
https://github.com/kkapsner/CanvasBlocker
synced 2025-07-04 20:46:39 +02:00
Simplified require and further linting.
This commit is contained in:
parent
01c1145e28
commit
dcb878392e
15 changed files with 86 additions and 78 deletions
|
@ -20,8 +20,12 @@
|
|||
show(document.getElementById("top"), topTest());
|
||||
show(document.getElementById("iframe"), iframeTest());
|
||||
}
|
||||
document.querySelector("#top button").addEventListener("click", function(){show(document.getElementById("top"), topTest());});
|
||||
document.querySelector("#iframe button").addEventListener("click", function(){show(document.getElementById("iframe"), iframeTest());});
|
||||
document.querySelector("#top button").addEventListener("click", function(){
|
||||
show(document.getElementById("top"), topTest());
|
||||
});
|
||||
document.querySelector("#iframe button").addEventListener("click", function(){
|
||||
show(document.getElementById("iframe"), iframeTest());
|
||||
});
|
||||
}());
|
||||
|
||||
function draw(canvas){
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue