issues
search
jessev14
/
custom-character-sheet-sections
GNU General Public License v3.0
0
stars
5
forks
source link
Update custom-character-sheet-sections.js
#14
Closed
ThatOverPowered
closed
1 year ago
ThatOverPowered
commented
1 year ago
Added more detailed comments to enhance code readability.
Utilized a
processItemType
function to eliminate code duplication when handling different item types.
Employed
Array.from(new Set(...))
to remove duplicates from custom sections.
Utilized arrow functions for clarity.
Added a second parameter
newItemType
to the
processItemType
function for specifying the new item type when necessary.
processItemType
function to eliminate code duplication when handling different item types.Array.from(new Set(...))
to remove duplicates from custom sections.newItemType
to theprocessItemType
function for specifying the new item type when necessary.