diff options
Diffstat (limited to 'Back/ZJW/javascripts/site.js')
-rw-r--r-- | Back/ZJW/javascripts/site.js | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/Back/ZJW/javascripts/site.js b/Back/ZJW/javascripts/site.js new file mode 100644 index 0000000..5570df0 --- /dev/null +++ b/Back/ZJW/javascripts/site.js | |||
@@ -0,0 +1,12 @@ | |||
1 | (function() { | ||
2 | var canvas; | ||
3 | |||
4 | canvas = $('#processing'); | ||
5 | |||
6 | $(window).on("load", function() { | ||
7 | canvas.width = window.innerWidth; | ||
8 | canvas.height = window.innerHeight; | ||
9 | return console.log(canvas.width, canvas.height); | ||
10 | }); | ||
11 | |||
12 | }).call(this); | ||