slight optimisation
This commit is contained in:
parent
e541c2ae2c
commit
7ec0288c85
|
@ -19,7 +19,7 @@ Discourse.Presence = Em.Mixin.create({
|
|||
*/
|
||||
blank: function(name) {
|
||||
var prop;
|
||||
prop = this.get(name);
|
||||
prop = this[name] || this.get(name);
|
||||
if (!prop) return true;
|
||||
|
||||
switch (typeof prop) {
|
||||
|
|
Loading…
Reference in New Issue