Cleanup Github reply.data.content before atob()
This commit is contained in:
parent
c033904693
commit
da275c72ab
1 changed files with 1 additions and 1 deletions
|
@ -226,7 +226,7 @@ var configuratorApp = (function(){
|
||||||
timeLeft: Math.floor(txt.meta['X-RateLimit-Reset'] - Date.now()/1000),
|
timeLeft: Math.floor(txt.meta['X-RateLimit-Reset'] - Date.now()/1000),
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
loaded_items[fname] = function(){ self.fileLoaded(fname, isGithub ? atob(txt.data.content) : txt); };
|
loaded_items[fname] = function(){ self.fileLoaded(fname, isGithub ? atob(txt.data.content.replace(/\s/g, '')) : txt); };
|
||||||
success_count++;
|
success_count++;
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
Reference in a new issue