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.
		
		
		
		
		
			
		
			
				
	
	
		
			23 lines
		
	
	
		
			656 B
		
	
	
	
		
			JavaScript
		
	
			
		
		
	
	
			23 lines
		
	
	
		
			656 B
		
	
	
	
		
			JavaScript
		
	
/*
 | 
						|
 * vim: ts=4:sw=4:expandtab
 | 
						|
 */
 | 
						|
(function () {
 | 
						|
    'use strict';
 | 
						|
    Whisper.Registration = {
 | 
						|
        markDone: function () {
 | 
						|
            storage.put('chromiumRegistrationDoneEver', '');
 | 
						|
            storage.put('chromiumRegistrationDone', '');
 | 
						|
        },
 | 
						|
        isDone: function () {
 | 
						|
            return storage.get('chromiumRegistrationDone') === '';
 | 
						|
        },
 | 
						|
        everDone: function() {
 | 
						|
            return storage.get('chromiumRegistrationDoneEver') === '' ||
 | 
						|
                   storage.get('chromiumRegistrationDone') === '';
 | 
						|
        },
 | 
						|
        remove: function() {
 | 
						|
            storage.remove('chromiumRegistrationDone');
 | 
						|
        }
 | 
						|
    };
 | 
						|
}());
 |