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.
		
		
		
		
		
			
		
			
				
	
	
		
			32 lines
		
	
	
		
			752 B
		
	
	
	
		
			JavaScript
		
	
			
		
		
	
	
			32 lines
		
	
	
		
			752 B
		
	
	
	
		
			JavaScript
		
	
| /*
 | |
|  * vim: ts=4:sw=4:expandtab
 | |
|  */
 | |
| (function () {
 | |
|   'use strict';
 | |
|   window.Whisper = window.Whisper || {};
 | |
| 
 | |
|   Whisper.InstallChoiceView = Whisper.View.extend({
 | |
|     templateName: 'install-choice',
 | |
|     className: 'install install-choice',
 | |
|     events: {
 | |
|       'click .new': 'onClickNew',
 | |
|       'click .import': 'onClickImport'
 | |
|     },
 | |
|     initialize: function() {
 | |
|       this.render();
 | |
|     },
 | |
|     render_attributes: {
 | |
|       installWelcome: i18n('installWelcome'),
 | |
|       installTagline: i18n('installTagline'),
 | |
|       installNew: i18n('installNew'),
 | |
|       installImport: i18n('installImport')
 | |
|     },
 | |
|     onClickNew: function() {
 | |
|       this.trigger('install-new');
 | |
|     },
 | |
|     onClickImport: function() {
 | |
|       this.trigger('install-import');
 | |
|     }
 | |
|   });
 | |
| })();
 |