mirror of
https://github.com/marcrobledo/RomPatcher.js.git
synced 2025-06-27 16:25:54 +00:00
small refactor
This commit is contained in:
parent
844cfcb5a6
commit
3b13994737
1 changed files with 5 additions and 4 deletions
|
@ -43,10 +43,11 @@ IPS.prototype.getDescription=function(){
|
|||
if(this.EBPmetadata){
|
||||
var description='';
|
||||
for(var key in this.EBPmetadata){
|
||||
if(key!=='patcher'){
|
||||
const keyPretty=key.charAt(0).toUpperCase() + key.slice(1);
|
||||
description+=keyPretty+': '+this.EBPmetadata[key]+'\n';
|
||||
}
|
||||
if(key==='patcher')
|
||||
continue;
|
||||
|
||||
const keyPretty=key.charAt(0).toUpperCase() + key.slice(1);
|
||||
description+=keyPretty+': '+this.EBPmetadata[key]+'\n';
|
||||
}
|
||||
return description.trim();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue