body width height 100%

This commit is contained in:
Mahdi Dibaiee 2014-02-10 16:14:03 +03:30
parent 81b8fa218d
commit 5dd2f70f63

View File

@ -12,7 +12,7 @@ function sizeAndPos() {
'width' : w, 'width' : w,
'height' : h 'height' : h
}); });
alert($(window).height()); alert(window.devicePixelRatio);
c.clearRect(0,0, width(), height()); c.clearRect(0,0, width(), height());
c.putImageData(data, 0, 0); c.putImageData(data, 0, 0);
} }