0
0
Fork 0
mirror of https://codeberg.org/yeentown/barkey synced 2024-12-18 23:49:59 +00:00

Use camelCase

This commit is contained in:
syuilo 2018-12-09 23:10:02 +09:00
parent dffcefb81f
commit 284df27435
No known key found for this signature in database
GPG key ID: BDC4C49D06AB9D69
5 changed files with 5 additions and 5 deletions
src
client/app
desktop/views/components
mobile/views/components
server/api/endpoints/games/reversi

View file

@ -61,7 +61,7 @@ export default Vue.extend({
this.connection = this.$root.stream.useSharedConnection('main'); this.connection = this.$root.stream.useSharedConnection('main');
this.connection.on('reversiInvited', this.onReversiInvited); this.connection.on('reversiInvited', this.onReversiInvited);
this.connection.on('reversi_no_invites', this.onReversiNoInvites); this.connection.on('reversiNoInvites', this.onReversiNoInvites);
} }
}, },
beforeDestroy() { beforeDestroy() {

View file

@ -111,7 +111,7 @@ export default Vue.extend({
this.connection = this.$root.stream.useSharedConnection('main'); this.connection = this.$root.stream.useSharedConnection('main');
this.connection.on('reversiInvited', this.onReversiInvited); this.connection.on('reversiInvited', this.onReversiInvited);
this.connection.on('reversi_no_invites', this.onReversiNoInvites); this.connection.on('reversiNoInvites', this.onReversiNoInvites);
} }
}, },

View file

@ -51,7 +51,7 @@ export default Vue.extend({
this.connection = this.$root.stream.useSharedConnection('main'); this.connection = this.$root.stream.useSharedConnection('main');
this.connection.on('reversiInvited', this.onReversiInvited); this.connection.on('reversiInvited', this.onReversiInvited);
this.connection.on('reversi_no_invites', this.onReversiNoInvites); this.connection.on('reversiNoInvites', this.onReversiNoInvites);
} }
}, },

View file

@ -83,7 +83,7 @@ export default Vue.extend({
this.connection = this.$root.stream.useSharedConnection('main'); this.connection = this.$root.stream.useSharedConnection('main');
this.connection.on('reversiInvited', this.onReversiInvited); this.connection.on('reversiInvited', this.onReversiInvited);
this.connection.on('reversi_no_invites', this.onReversiNoInvites); this.connection.on('reversiNoInvites', this.onReversiNoInvites);
} }
}, },

View file

@ -66,7 +66,7 @@ export default define(meta, (ps, user) => new Promise(async (res, rej) => {
}); });
if (other == 0) { if (other == 0) {
publishMainStream(user._id, 'reversi_no_invites'); publishMainStream(user._id, 'reversiNoInvites');
} }
} else { } else {
// Fetch child // Fetch child