Obey my own code style
This commit is contained in:
parent
a49a545161
commit
7c1b4f4fc9
1 changed files with 2 additions and 2 deletions
|
@ -30,7 +30,7 @@ var PRESENCE_CLASS = {
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
function presence_class_for_member(presence_state, last_active_ago) {
|
function presenceClassForMember(presence_state, last_active_ago) {
|
||||||
// offline is split into two categories depending on whether we have
|
// offline is split into two categories depending on whether we have
|
||||||
// a last_active_ago for them.
|
// a last_active_ago for them.
|
||||||
if (presence_state == 'offline') {
|
if (presence_state == 'offline') {
|
||||||
|
@ -96,7 +96,7 @@ module.exports = React.createClass({
|
||||||
},
|
},
|
||||||
|
|
||||||
render: function() {
|
render: function() {
|
||||||
const presenceClass = presence_class_for_member(
|
const presenceClass = presenceClassForMember(
|
||||||
this.props.presenceState, this.props.presenceLastActiveAgo
|
this.props.presenceState, this.props.presenceLastActiveAgo
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue