<commit_before>
HelpAssistant = Class.create({
	initialize: function() {
	},
	
	setup: function() {
		var content = this.controller.get('help');
		var version = content.down('.help-app-version');
		version.update('v' + Whendle.version + version.innerHTML);
		
		var items = content.querySelectorAll('div.palm-row');
		var controller = this.controller;
		items[0].observe('click', function() {
			controller.serviceRequest('palm://com.palm.applicationManager', {
				method: 'open',
				parameters: {
					id: 'com.palm.app.browser',
						params: {
							target: Whendle.homepage
						}
					}
				})
		});
		
		items[1].observe('click', function() {
			controller.serviceRequest('palm://com.palm.applicationManager', {
				method: 'launch',
				parameters: {
					id: 'com.palm.app.email',
						params: {
							recipients: [{
								role: 1,
								value: Whendle.email
							}],
							summary: 'Regarding Whendle v{#version}...'.interpolate(Whendle)
						}
					}
				})
		});
	},
	
	cleanup: function(event) {
	}	
});
<commit_msg>fix version substitution string in help scene<commit_after>
HelpAssistant = Class.create({
	initialize: function() {
	},
	
	setup: function() {
		var content = this.controller.get('help');
		var version = content.down('.help-app-version');
		version.update('v' + Whendle.version + version.innerHTML);
		
		var items = content.querySelectorAll('div.palm-row');
		var controller = this.controller;
		items[0].observe('click', function() {
			controller.serviceRequest('palm://com.palm.applicationManager', {
				method: 'open',
				parameters: {
					id: 'com.palm.app.browser',
						params: {
							target: Whendle.homepage
						}
					}
				})
		});
		
		items[1].observe('click', function() {
			controller.serviceRequest('palm://com.palm.applicationManager', {
				method: 'launch',
				parameters: {
					id: 'com.palm.app.email',
						params: {
							recipients: [{
								role: 1,
								value: Whendle.email
							}],
							summary: 'Regarding Whendle v#{version}...'.interpolate(Whendle)
						}
					}
				})
		});
	},
	
	cleanup: function(event) {
	}	
});

{'fraction_non_alphanumeric': 0.16729678638941398, 'fraction_numerical': 0.002835538752362949, 'mean_word_length': 2.7871198568872986, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1547551', 'n_tokens_mistral': 919, 'n_tokens_neox': 672, 'n_words': 112}