diff options
author | scgilardi <scgilardi@gmail.com> | 2008-10-08 04:19:48 +0000 |
---|---|---|
committer | scgilardi <scgilardi@gmail.com> | 2008-10-08 04:19:48 +0000 |
commit | a8474065a444f5b1306674df607be62d17a62b72 (patch) | |
tree | 195b72be187c4757f19396339cedd8cfed548762 /src/clojure/contrib/miglayout | |
parent | e12c8d9b0d8bea8e4222d31e8597c56a4c174963 (diff) |
miglayout: fix typos
Diffstat (limited to 'src/clojure/contrib/miglayout')
-rw-r--r-- | src/clojure/contrib/miglayout/miglayout.clj | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/clojure/contrib/miglayout/miglayout.clj b/src/clojure/contrib/miglayout/miglayout.clj index 6a34ab17..9baf40c0 100644 --- a/src/clojure/contrib/miglayout/miglayout.clj +++ b/src/clojure/contrib/miglayout/miglayout.clj @@ -30,14 +30,14 @@ - container is the container for the subsequent components - an optional map mapping any or all of the keys :layout, :column or :row to a string that specifies the corresponding constraints for - the whole layout. + the whole layout - a series of compononents, each followed by zero or more component - constraints. + constraints Component constraints may be supplied as strings, keywords, vectors, or maps. The set of constraints for a single component is presented to MiGLayout as a single string with each constraint and its arguments - separated from any subsequent constraint by a commas. Keywords appear + separated from any subsequent constraint by a comma. Keywords appear without their leading colons. Component constraints: @@ -47,7 +47,7 @@ - A keyword specifies a single constraint without arguments - A vector specifies a single constraint with zero or more arguments - A map specifiess one or more constraints as keys, each mapped to a - single argument." + single argument" [container & args] (let [[f & r :as a] args [constraints args] (if (map? f) [f r] [nil a]) |