Printing out the taxons baby

This commit is contained in:
Will Marshall
2014-04-25 12:56:45 +10:00
parent 776a8db7ae
commit b413acfa2e
3 changed files with 11 additions and 2 deletions

View File

@@ -0,0 +1,6 @@
Darkswarm.filter "printArray", ->
(array, attr = 'name')->
array ?= []
array.map (a)->
a[attr]
.join(", ")