Notifier.isEnabled()
This commit is contained in:
parent
fccc822063
commit
f9ffbd12dd
|
@ -11,6 +11,7 @@ Scholar.Notifier = new function(){
|
|||
this.trigger = trigger;
|
||||
this.disable = disable;
|
||||
this.enable = enable;
|
||||
this.isEnabled = isEnabled;
|
||||
|
||||
function registerColumnTree(ref){
|
||||
return _register('columnTree', ref);
|
||||
|
@ -77,6 +78,11 @@ Scholar.Notifier = new function(){
|
|||
}
|
||||
|
||||
|
||||
function isEnabled(){
|
||||
return !_disabled;
|
||||
}
|
||||
|
||||
|
||||
function _register(type, ref){
|
||||
var len = 2;
|
||||
var tries = 10;
|
||||
|
|
Loading…
Reference in New Issue
Block a user