projects
/
vchess.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
Fix Eightpieces
[vchess.git]
/
client
/
src
/
utils
/
afterRawLoad.js
1
export default function
afterRawLoad
(
text
) {
2
return
(
3
text
4
// Next two lines fix a weird issue after last update (2019-11)
5
.
replace
(
/\\n/g
,
" "
)
6
.
replace
(
/\\"/g
,
'"'
)
7
.
replace
(
'export default "'
,
""
)
8
.
replace
(
/";$/
,
""
)
9
);
10
}