Skip to content

Commit 487fd92

Browse files
committed
Cleanup test things from CardModel
1 parent 42d9417 commit 487fd92

File tree

1 file changed

+2
-10
lines changed

1 file changed

+2
-10
lines changed

src/components/CardModel.vue

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@
3636
<Value v-else :value="card.properties.MANA_COST" type="mana_cost" orElse="0"></Value>
3737
</div>
3838
<div style="float: right; padding-right: 5px;" class="btn-group">
39-
<Value :click="[card.properties, 'ATTACK', 10]" :value="card.properties.ATTACK" type="attack" alwaysShow></Value>
40-
<Value :click="[card.properties, 'ATTACK', -10]" :value="card.properties.HEALTH" type="health" alwaysShow></Value>
39+
<Value :value="card.properties.ATTACK" type="attack" alwaysShow></Value>
40+
<Value :value="card.properties.HEALTH" type="health" alwaysShow></Value>
4141
</div>
4242
</div>
4343
<div style="clear: both;">
@@ -91,14 +91,6 @@ export default {
9191
Value
9292
},
9393
methods: {
94-
testChange() {
95-
this.card.properties.MANA_COST = this.card.properties.MANA_COST + 10;
96-
},
97-
98-
changeProp(map, prop, diff) {
99-
console.log("change map " + prop + " by " + diff);
100-
map[prop] += diff;
101-
},
10294
/**
10395
* Resolves fetching an image file from the file system.
10496
*

0 commit comments

Comments
 (0)