Got questions, comments, patches, etc.?
Contact Jason Woofenden
gitweb
/
peach-cgt.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
coffeescript, html, less, server
[peach-cgt.git]
/
client.coffee
1
$table = null
2
3
add_card = (text, x, y) ->
4
$table.append $ "<div class=\"card\" style=\"left: #{x}px; top: #{y}px\">#{text}</div>"
5
6
init = ->
7
$table = $ '#table'
8
add_card "card 1", 100, 20
9
add_card "two", 250, 20
10
add_card "third card", 290, 50
11
12
$ ->
13
init()
14