minor corrections for DDF syntax change
This commit is contained in:
parent
6758972a84
commit
2572c95028
@ -30,10 +30,10 @@ function generateDeck(DDF) {
|
|||||||
DDF.sort(function (a,b) {
|
DDF.sort(function (a,b) {
|
||||||
return a.dataIndex - b.dataIndex;
|
return a.dataIndex - b.dataIndex;
|
||||||
});
|
});
|
||||||
DDF.forEach( function (data) {
|
DDF.forEach( function (dataBlock) {
|
||||||
var tempcards = [];
|
var tempcards = [];
|
||||||
cards.forEach( function (current) {
|
cards.forEach( function (current) {
|
||||||
DDF.data.forEach( function (value) {
|
dataBlock.data.forEach( function (value) {
|
||||||
tempcards.push(current+value);
|
tempcards.push(current+value);
|
||||||
} );
|
} );
|
||||||
} );
|
} );
|
||||||
|
Loading…
x
Reference in New Issue
Block a user