exportHTML.js
// Iterate over pad attributes to find only the comment ones
Iterate over pad attributes to find only the comment ones
Iterate over pad attributes to find only the comment ones
function findAllCommentUsedOn(pad) {
  const commentsUsed = [];
  pad.pool.eachAttrib((key, value) => { if (key === 'comment') commentsUsed.push(value); });
  return commentsUsed;
}
function findAllCommentUsedOn ( pad ) { const commentsUsed = [ ] ; pad . pool . eachAttrib ( ( key , value ) => { if ( key === 'comment' ) commentsUsed . push ( value ) ; } ) ; return commentsUsed ; }
Iterate over pad attributes to find only the comment ones
Iterate over pad attributes to find only the comment ones