Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- (defn ^:export init []
- (if (and js/document
- (.-getElementById js/document))
- (let [theForm (.getElementById js/document "draftForm")]
- (set! (.-onsubmit theForm) calculate))))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement