You cannot select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
	
	
		
			29 lines
		
	
	
		
			644 B
		
	
	
	
		
			JavaScript
		
	
			
		
		
	
	
			29 lines
		
	
	
		
			644 B
		
	
	
	
		
			JavaScript
		
	
/* global storage, Whisper */
 | 
						|
 | 
						|
// eslint-disable-next-line func-names
 | 
						|
(function() {
 | 
						|
  'use strict';
 | 
						|
 | 
						|
  Whisper.Registration = {
 | 
						|
    markEverDone() {
 | 
						|
      storage.put('chromiumRegistrationDoneEver', '');
 | 
						|
    },
 | 
						|
    markDone() {
 | 
						|
      this.markEverDone();
 | 
						|
      storage.put('chromiumRegistrationDone', '');
 | 
						|
    },
 | 
						|
    isDone() {
 | 
						|
      return storage.get('chromiumRegistrationDone') === '';
 | 
						|
    },
 | 
						|
    everDone() {
 | 
						|
      return (
 | 
						|
        storage.get('chromiumRegistrationDoneEver') === '' ||
 | 
						|
        storage.get('chromiumRegistrationDone') === ''
 | 
						|
      );
 | 
						|
    },
 | 
						|
    remove() {
 | 
						|
      storage.remove('chromiumRegistrationDone');
 | 
						|
    },
 | 
						|
  };
 | 
						|
})();
 |