Use camelCase
This commit is contained in:
parent
dffcefb81f
commit
284df27435
5 changed files with 5 additions and 5 deletions
|
@ -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() {
|
||||||
|
|
|
@ -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);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
|
@ -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);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
|
@ -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);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue