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