diff options
author | Kyle Gunger <kgunger12@gmail.com> | 2022-08-25 16:10:17 -0400 |
---|---|---|
committer | Kyle Gunger <kgunger12@gmail.com> | 2022-08-25 16:10:17 -0400 |
commit | 1fd40d997854e0f23c22ef7d06c0a0a0e5140d89 (patch) | |
tree | d91c71668b6b6d561b8181343e09b6e3d3459a2e /scripts/cards/card.js | |
parent | 9ec343c02d6eb9a9a9f58fef826d71abb84b6384 (diff) |
Touch support
Diffstat (limited to 'scripts/cards/card.js')
-rw-r--r-- | scripts/cards/card.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/cards/card.js b/scripts/cards/card.js index 69312e9..e49aeba 100644 --- a/scripts/cards/card.js +++ b/scripts/cards/card.js @@ -15,6 +15,10 @@ class Card { this.e.style.setProperty("--top", "0px"); this.e.card = this; + this.getData = () => { + return data; + }; + this.id = id; this.deck = deck; } |