projects
/
vchess.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Avoid direct references to (Dark) variant name in BaseGame, Analyse and Board
[vchess.git]
/
client
/
src
/
views
/
Analyse.vue
diff --git
a/client/src/views/Analyse.vue
b/client/src/views/Analyse.vue
index
7259632
..
d1c6d59
100644
(file)
--- a/
client/src/views/Analyse.vue
+++ b/
client/src/views/Analyse.vue
@@
-37,7
+37,6
@@
export default {
},
vr: null, //"variant rules" object initialized from FEN
curFen: ""
},
vr: null, //"variant rules" object initialized from FEN
curFen: ""
- //people: [], //players + observers //TODO later: interactive analyze...
};
},
watch: {
};
},
watch: {
@@
-50,13
+49,8
@@
export default {
},
created: function() {
this.gameRef.vname = this.$route.params["vname"];
},
created: function() {
this.gameRef.vname = this.$route.params["vname"];
- if (this.gameRef.vname == "Dark") {
- alert(this.st.tr["Analyse in Dark mode makes no sense!"]);
- history.back(); //or this.$router.go(-1)
- } else {
- this.gameRef.fen = this.$route.query["fen"].replace(/_/g, " ");
- this.initialize();
- }
+ this.gameRef.fen = this.$route.query["fen"].replace(/_/g, " ");
+ this.initialize();
},
methods: {
initialize: async function() {
},
methods: {
initialize: async function() {