mirror of
https://github.com/richardharrington/robotwar.git
synced 2026-04-20 23:17:04 +00:00
now allowing robot name input to be comma-separated (was just space-separated before)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user