Got questions, comments, patches, etc.?
Contact Jason Woofenden
gitweb
/
peach-cgt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
save card number in jquery card object (card.view)
[peach-cgt.git]
/
client.coffee
diff --git
a/client.coffee
b/client.coffee
index
1e2c966
..
da53a24
100644
(file)
--- a/
client.coffee
+++ b/
client.coffee
@@
-61,6
+61,7
@@
instantiate_card = (card) ->
card.z = next_card_z()
view = $ $ "<div class=\"card #{card_class}\" style=\"left: #{transform_x(card.x)}px; top: #{transform_y(card.y)}px; z-index: #{card.z}\"><span class=\"cardtext\">#{text}</span></div>"
card.z = next_card_z()
view = $ $ "<div class=\"card #{card_class}\" style=\"left: #{transform_x(card.x)}px; top: #{transform_y(card.y)}px; z-index: #{card.z}\"><span class=\"cardtext\">#{text}</span></div>"
+ view.data card.number
button_box = $ $ '<div/>'
flip_button = new_button "flip over"
mark_button = new_button "mark"
button_box = $ $ '<div/>'
flip_button = new_button "flip over"
mark_button = new_button "mark"