<commit_before>function FavoritesAssistant() {
	/* this is the creator function for your scene assistant object. It will be passed all the 
	   additional parameters (after the scene name) that were passed to pushScene. The reference
	   to the scene controller (this.controller) has not be established yet, so any initialization
	   that needs the scene controller should be done in the setup function below. */
	scene_helpers.addCommonSceneMethods(this);
	
	/*
		this connects App to this property of the appAssistant
	*/
	App = Spaz.getAppObj();
}
FavoritesAssistant.prototype.aboutToActivate = function(callback){
	callback.defer();
};
FavoritesAssistant.prototype.setup = function() {
	var thisA = this;

	this.scroller = this.controller.getSceneScroller();
	this.initAppMenu({ 'items':LOGGEDIN_APPMENU_ITEMS });
	this.initTwit('DOM');

	this.setupCommonMenus({
		viewMenuItems: [
			{
				items:[
					{label: $L("Favorites"), command:'scroll-top', 'class':"palm-header left", width:260},
					{label: $L('Compose'),  icon:'compose', command:'compose', shortcut:'N'}
					
				]
			}

		],
		cmdMenuItems: [
			{},
			{
				/*
					So we don't get the hard-to-see disabled look on the selected button,
					we make the current toggle command "IGNORE", which will not trigger an action
				*/
				toggleCmd:'favorites',
				items: [
					{label:$L('My Timeline'), icon:'conversation', command:'filter-timeline-all', shortcut:'T', 'class':"palm-header left"},
					{label:'@',	icon:'at', command:'filter-timeline-replies'}, 
					{label:$L('DM'), icon: 'dms', secondaryIconPath:'', command:'filter-timeline-dms'},
					{label:$L('Favorites'), iconPath:'images/theme/menu-icon-favorite.png', command:'favorites', shortcut:'F'},
					{label:$L('Search'),    icon:'search', command:'search', shortcut:'S'}
				]
			},
			{}
		]
	});
	
	
	
	/* this function is for setup tasks that have to happen when the scene is first created */
		
	/* use Luna.View.render to render view templates and add them to the scene, if needed. */
	
	/* setup widgets here */
	
	/* add event handlers to listen to events from widgets */
	
	this.setupInlineSpinner('activity-spinner-favorites');<commit_msg>Added friends and followers button to cmd menu<commit_after>function FavoritesAssistant() {
	/* this is the creator function for your scene assistant object. It will be passed all the 
	   additional parameters (after the scene name) that were passed to pushScene. The reference
	   to the scene controller (this.controller) has not be established yet, so any initialization
	   that needs the scene controller should be done in the setup function below. */
	scene_helpers.addCommonSceneMethods(this);
	
	/*
		this connects App to this property of the appAssistant
	*/
	App = Spaz.getAppObj();
}
FavoritesAssistant.prototype.aboutToActivate = function(callback){
	callback.defer();
};
FavoritesAssistant.prototype.setup = function() {
	var thisA = this;

	this.scroller = this.controller.getSceneScroller();
	this.initAppMenu({ 'items':LOGGEDIN_APPMENU_ITEMS });
	this.initTwit('DOM');

	this.setupCommonMenus({
		viewMenuItems: [
			{
				items:[
					{label: $L("Favorites"), command:'scroll-top', 'class':"palm-header left", width:260},
					{label: $L('Compose'),  icon:'compose', command:'compose', shortcut:'N'}
					
				]
			}

		],
		cmdMenuItems: [
			{},
			{
				/*
					So we don't get the hard-to-see disabled look on the selected button,
					we make the current toggle command "IGNORE", which will not trigger an action
				*/
				toggleCmd:'favorites',
				items: [
					{label:$L('My Timeline'), icon:'conversation', command:'filter-timeline-all', shortcut:'T', 'class':"palm-header left"},
					{label:'@',	icon:'at', command:'filter-timeline-replies'}, 
					{label:$L('DM'), icon: 'dms', secondaryIconPath:'', command:'filter-timeline-dms'},
					{label:$L('Favorites'), iconPath:'images/theme/menu-icon-favorite.png', command:'favorites', shortcut:'F'},
					{label:$L('Friends and Followers'), iconPath:'images/theme/menu-icon-friends-followers.png', command:'friends-followers', shortcut:'L'},
					{label:$L('Search'),    icon:'search', command:'search', shortcut:'S'}
				]
			},
			{}
		]
	});
	
	
	
	/* this function is for setup tasks that have to happen when the scene is first created */
		
	/* use Luna.View.render to render view templates and add them to the scene, if needed. */
	
	/* setup widgets here */
	
	/* add event handlers to listen to events from widgets */
	
	this.setupInlineSpinner('activity-spinner-favorites');
{'fraction_non_alphanumeric': 0.1408760730794629, 'fraction_numerical': 0.0013207131851199648, 'mean_word_length': 3.9934065934065934, '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': '914355', 'n_tokens_mistral': 1590, 'n_tokens_neox': 1355, 'n_words': 392}