<commit_before>var Reflux=require("reflux");
var actions=require("../actions/databases");
var kde=require("ksana-database");
var kse=require("ksana-search");

var DBListStore=Reflux.createStore({
	databases:[]
	,listenables:actions
	,init:function() {
		kde.listkdb(function(databases){
				this.databases=databases;
		}.bind(this));
	}
	,onList:function(appname) {
		appname=appname||"";
		if (appname) this.searchable=this.databases.filter(function(item){return item.folder===appname});
		else this.searchable=this.databases;
		this.trigger(this.searchable);<commit_msg>add accelon2015_kdb as default folder<commit_after>var Reflux=require("reflux");
var actions=require("../actions/databases");
var kde=require("ksana-database");
var kse=require("ksana-search");

var DBListStore=Reflux.createStore({
	databases:[]
	,listenables:actions
	,init:function() {
		kde.listkdb(function(databases){
				this.databases=databases;
		}.bind(this));
	}
	,onList:function(appname) {
		appname=appname||"";
		if (appname) this.searchable=this.databases.filter(function(item){
			return item.folder===appname|| item.folder==="accelon2015_kdb"});
		else this.searchable=this.databases;
		this.trigger(this.searchable);
{'fraction_non_alphanumeric': 0.17081260364842454, 'fraction_numerical': 0.006633499170812604, 'mean_word_length': 7.324137931034483, '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': '6402815', 'n_tokens_mistral': 455, 'n_tokens_neox': 417, 'n_words': 55}