mirror of
https://github.com/richardharrington/robotwar.git
synced 2024-05-28 23:41:31 +00:00
now allowing robot name input to be comma-separated (was just space-separated before)
This commit is contained in:
parent
d03d64bd6a
commit
feabfe3145
|
@ -13,7 +13,7 @@
|
|||
"takes a string parameter from the browser and returns a seqence
|
||||
of program keys"
|
||||
[programs-str]
|
||||
(map keyword (split programs-str #"\s+")))
|
||||
(map keyword (split programs-str #"[,\s]\s*")))
|
||||
|
||||
(defn get-programs
|
||||
"gets a sequence of programs from the source-code
|
||||
|
|
Loading…
Reference in New Issue
Block a user