aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJinweiClarkChao <[email protected]>2014-09-23 22:34:14 +0800
committerJinwei Zhao <[email protected]>2017-01-13 15:07:44 +0800
commitb214f38d2c24a890ce36512a0c8bab965e27a508 (patch)
tree1522b651444407cbf120798e79be4657f1b472ab /Code/ZJW/javascripts/site.js
parente13882d1656b143533cec307a19425e0a56ec999 (diff)
downloadjinwei.me-b214f38d2c24a890ce36512a0c8bab965e27a508.tar.gz
README
Diffstat (limited to 'Code/ZJW/javascripts/site.js')
-rw-r--r--Code/ZJW/javascripts/site.js12
1 files changed, 12 insertions, 0 deletions
diff --git a/Code/ZJW/javascripts/site.js b/Code/ZJW/javascripts/site.js
new file mode 100644
index 0000000..5570df0
--- /dev/null
+++ b/Code/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)