I use filget.js with ROT.js library (for rouge like games) and it modify Array prototype and it break figlet. This can be easy fixed. The problem is this line:
for(var i in fonts){
me.parseFont(fonts[i], fontData[i]);
}
the loop should use hasOwnProperty to filter out stuff from prototype.
I use filget.js with ROT.js library (for rouge like games) and it modify Array prototype and it break figlet. This can be easy fixed. The problem is this line:
the loop should use hasOwnProperty to filter out stuff from prototype.