whalesong/examples/window-size.rkt
2011-06-09 17:18:39 -04:00

8 lines
133 B
Racket

#lang planet dyoo/whalesong
(when (in-javascript-context?)
(viewport-width))
(when (in-javascript-context?)
(viewport-height))