projects
/
vchess.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update npm packages
[vchess.git]
/
client
/
src
/
views
/
Analyse.vue
diff --git
a/client/src/views/Analyse.vue
b/client/src/views/Analyse.vue
index
9dcf033
..
175cc15
100644
(file)
--- a/
client/src/views/Analyse.vue
+++ b/
client/src/views/Analyse.vue
@@
-104,12
+104,12
@@
export default {
"raw-loader!@/translations/rules/" +
this.gameRef.vname + "/" +
this.st.lang + ".pug"
"raw-loader!@/translations/rules/" +
this.gameRef.vname + "/" +
this.st.lang + ".pug"
- )
+ ).default
+ .replace('export default "', "")
+ .replace(/";$/, "")
// Next two lines fix a weird issue after last update (2019-11)
.replace(/\\n/g, " ")
.replace(/\\"/g, '"')
// Next two lines fix a weird issue after last update (2019-11)
.replace(/\\n/g, " ")
.replace(/\\"/g, '"')
- .replace('module.exports = "', "")
- .replace(/"$/, "")
.replace(/(fen:)([^:]*):/g, replaceByDiag);
},
loadGame: function(orientation) {
.replace(/(fen:)([^:]*):/g, replaceByDiag);
},
loadGame: function(orientation) {