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.
		
		
		
		
		
			
		
			
				
	
	
		
			25 lines
		
	
	
		
			623 B
		
	
	
	
		
			JavaScript
		
	
			
		
		
	
	
			25 lines
		
	
	
		
			623 B
		
	
	
	
		
			JavaScript
		
	
| (function() {
 | |
|   'use strict';
 | |
|   Whisper.Registration = {
 | |
|     markEverDone: function() {
 | |
|       storage.put('chromiumRegistrationDoneEver', '');
 | |
|     },
 | |
|     markDone: function() {
 | |
|       this.markEverDone();
 | |
|       storage.put('chromiumRegistrationDone', '');
 | |
|     },
 | |
|     isDone: function() {
 | |
|       return storage.get('chromiumRegistrationDone') === '';
 | |
|     },
 | |
|     everDone: function() {
 | |
|       return (
 | |
|         storage.get('chromiumRegistrationDoneEver') === '' ||
 | |
|         storage.get('chromiumRegistrationDone') === ''
 | |
|       );
 | |
|     },
 | |
|     remove: function() {
 | |
|       storage.remove('chromiumRegistrationDone');
 | |
|     },
 | |
|   };
 | |
| })();
 |