slight optimisation

This commit is contained in:
Sam 2013-03-19 18:12:05 -07:00
parent e541c2ae2c
commit 7ec0288c85
1 changed files with 1 additions and 1 deletions

View File

@ -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) {