aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJinwei Zhao <[email protected]>2016-04-04 14:00:39 +0800
committerJinwei Zhao <[email protected]>2017-01-13 15:07:45 +0800
commite002d09d2b6b2317fec6caa8836b20e6709c5da3 (patch)
tree1e1623524986fc63abcab7b10912dffe55dc1da9 /deprecated/ZJW/javascripts/site.js
parentdbcebe1def5c355120c61b575390d1d9ac355f67 (diff)
downloadjinwei.me-e002d09d2b6b2317fec6caa8836b20e6709c5da3.tar.gz
jinwei.me
Diffstat (limited to 'deprecated/ZJW/javascripts/site.js')
-rw-r--r--deprecated/ZJW/javascripts/site.js12
1 files changed, 12 insertions, 0 deletions
diff --git a/deprecated/ZJW/javascripts/site.js b/deprecated/ZJW/javascripts/site.js
new file mode 100644
index 0000000..5570df0
--- /dev/null
+++ b/deprecated/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);
Powered by cgit v1.2.3 (git 2.41.0)