mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
Moved a bunch of tests to QUnit. Added basic Discourse.Site support to test suite.
This commit is contained in:
@@ -18,8 +18,7 @@ Discourse.Presence = Em.Mixin.create({
|
||||
@return {Boolean}
|
||||
*/
|
||||
blank: function(name) {
|
||||
var prop;
|
||||
prop = this[name] || this.get(name);
|
||||
var prop = this[name] || this.get(name);
|
||||
if (!prop) return true;
|
||||
|
||||
switch (typeof prop) {
|
||||
|
||||
Reference in New Issue
Block a user