default width and height

This commit is contained in:
Jonas Enlund 2014-02-21 14:06:28 +02:00
parent 8fd3b8b51f
commit c783d09b04
1 changed files with 2 additions and 2 deletions

View File

@ -35,8 +35,8 @@
(defn main [{:keys [width height]}]
[:svg
{:width width
:height height
{:width (or width 800)
:height (or height 600)
:style {:border "1px solid black"}}
[:text {:style {:-webkit-user-select "none"
:-moz-user-select "none"}