projects
/
KiwiIRC.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cba6f47
)
member.js formatting + comment
author
Darren
<darren@darrenwhitlen.com>
Sun, 20 Apr 2014 21:28:58 +0000
(22:28 +0100)
committer
Darren
<darren@darrenwhitlen.com>
Sun, 20 Apr 2014 21:28:58 +0000
(22:28 +0100)
client/src/models/member.js
patch
|
blob
|
blame
|
history
diff --git
a/client/src/models/member.js
b/client/src/models/member.js
index 7d65cee3d99e8eb6351a5673c1ff1530771fa7a9..b66ff9c8c2c4209191e5099721de86bbe6c6983b 100644
(file)
--- a/
client/src/models/member.js
+++ b/
client/src/models/member.js
@@
-134,6
+134,7
@@
_kiwi.model.Member = Backbone.Model.extend({
},
\r
\r
\r
+
\r
/**
\r
* Format this nick into readable format (eg. nick [ident@hostname])
\r
*/
\r
@@
-148,6
+149,9
@@
_kiwi.model.Member = Backbone.Model.extend({
\r
return display;
\r
},
\r
+
\r
+
\r
+ // Helper to quickly get user mask details
\r
getMaskParts: function () {
\r
return {
\r
nick: this.get('nick') || '',
\r
@@
-155,6
+159,8
@@
_kiwi.model.Member = Backbone.Model.extend({
hostname: this.get('hostname') || ''
\r
};
\r
},
\r
+
\r
+
\r
/**
\r
* With the modes set on the user, make note if we have some sort of op status
\r
*/
\r