Cosmetic changes.

This commit is contained in:
Vikhyat Korrapati
2014-06-10 06:53:18 +05:30
parent d4cf0a58e3
commit 67a2b2598d
5 changed files with 8 additions and 6 deletions

View File

@@ -8,6 +8,8 @@
@module Discourse
**/
var RESERVED_BADGE_COUNT = 100;
Discourse.AdminBadgeController = Discourse.ObjectController.extend({
/**
Whether this badge has been selected.
@@ -31,5 +33,5 @@ Discourse.AdminBadgeController = Discourse.ObjectController.extend({
@property readOnly
@type {Boolean}
**/
readOnly: Ember.computed.lt('model.id', 100)
readOnly: Ember.computed.lt('model.id', RESERVED_BADGE_COUNT)
});