Unic-X/Anilist-Post-Ext

3 calls instead of one(refactored)

Unic-X opened this issue ยท 2 comments

image
Total of 3 calls are being made instead of 1 ๐Ÿ˜ฅ๐Ÿ˜ฅ๐Ÿ˜ฅ๐Ÿ˜ฅ๐Ÿ˜ฅ๐Ÿ˜ฅ๐Ÿ˜ฅ๐Ÿ˜ฅ๐Ÿ˜ฅ๐Ÿ˜ฅ๐Ÿ˜ฅ๐Ÿ˜ฅ๐Ÿ˜ฅ๐Ÿ˜ฅ

...
function toAnimeName(w) {
  ** const instanceOfClass=alogund(); **
  if (instanceOfClass instanceof AnimePahe) {
  ....

mfw fixed