mirror of
https://github.com/kkapsner/CanvasBlocker
synced 2025-07-04 20:46:39 +02:00
Code linting.
This commit is contained in:
parent
cde71f8a62
commit
ef38abe545
24 changed files with 642 additions and 559 deletions
|
@ -1,8 +1,10 @@
|
|||
(function(){
|
||||
var canvas = document.createElement('canvas');
|
||||
"use strict";
|
||||
|
||||
var canvas = document.createElement("canvas");
|
||||
canvas.width = 11;
|
||||
canvas.height = 13;
|
||||
var gl = canvas.getContext('webgl');
|
||||
var gl = canvas.getContext("webgl");
|
||||
|
||||
// paint it completely black
|
||||
gl.clearColor(0, 0, 0, 1);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue