formatting

This commit is contained in:
Michael Bradley, Jr 2018-10-24 14:45:22 -05:00
parent a594b14f27
commit 754266da17
2 changed files with 3 additions and 2 deletions

View File

@ -18,7 +18,8 @@ export function hashCode(str) {
export function ansiToHtml(text) {
const convert = new Convert();
return convert.toHtml(text.replace(/\n/g,'<br>'))
return convert.toHtml(text.replace(/\n/g,'<br>'));
}
export function getQueryToken(location) {
return qs.parse(location.search, {ignoreQueryPrefix: true}).token;