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

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