todo-webclient/client/column.ls

17 lines
179 B
Plaintext

UUID = require "uuid/v4"
Column = (title, args) ->
self = {
title: title
id: UUID!
}
for key, value of (args || {})
self[key] = value
self
module.exports = Column