move num artists to top of js file
This commit is contained in:
parent
932003bff3
commit
59d6a8d977
|
@ -4,6 +4,7 @@ total = 0
|
||||||
cardNames = []
|
cardNames = []
|
||||||
k = 12
|
k = 12
|
||||||
extra = 3
|
extra = 3
|
||||||
|
num_artists = k + extra * extra
|
||||||
artDict = {}
|
artDict = {}
|
||||||
totalCorrect = 0
|
totalCorrect = 0
|
||||||
totalSeen = 0
|
totalSeen = 0
|
||||||
|
@ -142,7 +143,7 @@ function createNewArtistMap() {
|
||||||
samples[key] = value
|
samples[key] = value
|
||||||
newTotal += value.length
|
newTotal += value.length
|
||||||
i++
|
i++
|
||||||
if (i >= k + extra * extra) {
|
if (i >= num_artists) {
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user