Permalink
Browse files

Merge branch 'develop' of github.com:daveray/seesaw into develop

  • Loading branch information...
2 parents eaf8800 + e905927 commit db231a490f31b4ce9fa79b5c125abbb5260bce92 @daveray committed Dec 19, 2012
Showing with 18 additions and 14 deletions.
  1. +18 −14 README.md
View
@@ -44,25 +44,29 @@ Install `lein` as described and then:
Add Seesaw to `project.clj`
- (defproject hello-seesaw "1.0.0-SNAPSHOT"
- :description "FIXME: write"
- :dependencies [[org.clojure/clojure "1.3.0"]
- [seesaw "x.y.z"]])
+```clojure
+(defproject hello-seesaw "1.0.0-SNAPSHOT"
+ :description "FIXME: write"
+ :dependencies [[org.clojure/clojure "1.3.0"]
+ [seesaw "x.y.z"]])
+```
_Replace the Seesaw version with whatever the latest version tag is. See below!_
Now edit the generated `src/hello_seesaw/core.clj` file:
- (ns hello-seesaw.core
- (:use seesaw.core))
-
- (defn -main [& args]
- (invoke-later
- (-> (frame :title "Hello",
- :content "Hello, Seesaw",
- :on-close :exit)
- pack!
- show!)))
+```clojure
+(ns hello-seesaw.core
+ (:use seesaw.core))
+
+(defn -main [& args]
+ (invoke-later
+ (-> (frame :title "Hello",
+ :content "Hello, Seesaw",
+ :on-close :exit)
+ pack!
+ show!)))
+```
Now run it:

0 comments on commit db231a4

Please sign in to comment.