function generateDecklistLayout(parsedInput) {
  const decksheetFormat = $('#decksheetformatselector input[name=decksheetformat]:checked').prop('id').replace('decksheet-', '');
  if (decksheetFormat === 'wotc') {
    return generateStandardDecklist(parsedInput);
  } else if (decksheetFormat === 'scg') {
    return generateSCGDecklist(parsedInput);
  }
}
// Calls the appropriate decklist function based on user selection and returns resulting jsPDF object
Calls the appropriate decklist function based on user selection and returns resulting jsPDF object
Calls the appropriate decklist function based on user selection and returns resulting jsPDF object
function generateDecklistLayout(parsedInput) {
  const decksheetFormat = $('#decksheetformatselector input[name=decksheetformat]:checked').prop('id').replace('decksheet-', '');
  if (decksheetFormat === 'wotc') {
    return generateStandardDecklist(parsedInput);
  } else if (decksheetFormat === 'scg') {
    return generateSCGDecklist(parsedInput);
  }
}
function generateDecklistLayout ( parsedInput ) { const decksheetFormat = $ ( '#decksheetformatselector input[name=decksheetformat]:checked' ) . prop ( 'id' ) . replace ( 'decksheet-' , '' ) ; if ( decksheetFormat === 'wotc' ) { return generateStandardDecklist ( parsedInput ) ; } else if ( decksheetFormat === 'scg' ) { return generateSCGDecklist ( parsedInput ) ; } }
Calls the appropriate decklist function based on user selection and returns resulting jsPDF object
Calls the appropriate decklist function based on user selection and returns resulting jsPDF object