<commit_before>// Copyright (c) 2015 fixanoid.
// Use of this source code is governed by a license that can be
// found in the LICENSE file.

// Quickster?


// TODO: what about css from shit like bootstrap or jquery ui? Fonts?
// TODO: populate from http://trends.builtwith.com/javascript
// TODO: separate browser specific APIs out: chrome.tabs left


// TODO: carrying all stuff is unfeasible. Should fetch once and save for local usage. Do replace common matches tho
//  	1. For CDNs:
//			- check cache and serve from it if file has been retrieved before
//			- otherwise, get the file, and save in the dynamic db storage
//		2. For non-cdns
//			- match on name and try to replace with latest version from local

// TODO: separate db initialization
// TODO: this matching is stupid
var db = [{
		matchType: 'end-match',
		matches: [ 'angular-1.2.23.min.js' ],
		file: 'angular-1.2.23.min.js'
	}, {
		matchType: 'end-match',
		matches: [ 'angular-1.3.10.min.js' ],
		file: 'angular-1.3.10.min.js'
	}, {
		matchType: 'end-match',
		matches: [ 'angular-animate-1.3.10.min.js' ],
		file: 'angular-animate-1.3.10.min.js'
	}, {
		matchType: 'end-match',
		matches: [ 'angular-resource-1.2.20.min.js' ],
		file: 'angular-resource-1.2.20.min.js'
	}, {
		matchType: 'end-match',
		matches: [ 'angular-route-1.2.20.min.js' ],
		file: 'angular-route-1.2.20.min.js'
	}, {
		matchType: 'end-match',
		matches: [ 'angular-sanitize-1.3.10.min.js' ],
		file: 'angular-sanitize-1.3.10.min.js'
	},<commit_msg>TODOs<commit_after>// Copyright (c) 2015 fixanoid.
// Use of this source code is governed by a license that can be
// found in the LICENSE file.

// Quickster?


// TODO: what about css from shit like bootstrap or jquery ui? Fonts?
// TODO: populate from http://trends.builtwith.com/javascript
// TODO: separate browser specific APIs out: chrome.tabs left

// TODO: carrying all stuff is unfeasible. Should fetch once and save for local usage. Do replace common matches tho
//  	1. For CDNs:
//			- check cache and serve from it if file has been retrieved before
//			- otherwise, get the file, and save in the dynamic db storage
//		2. For non-cdns
//			- match on name and try to replace with latest version from local

// TODO: separate db initialization
var db = [{
		matchType: 'end-match',
		matches: [ 'angular-1.2.23.min.js' ],
		file: 'angular-1.2.23.min.js'
	}, {
		matchType: 'end-match',
		matches: [ 'angular-1.3.10.min.js' ],
		file: 'angular-1.3.10.min.js'
	}, {
		matchType: 'end-match',
		matches: [ 'angular-animate-1.3.10.min.js' ],
		file: 'angular-animate-1.3.10.min.js'
	}, {
		matchType: 'end-match',
		matches: [ 'angular-resource-1.2.20.min.js' ],
		file: 'angular-resource-1.2.20.min.js'
	}, {
		matchType: 'end-match',
		matches: [ 'angular-route-1.2.20.min.js' ],
		file: 'angular-route-1.2.20.min.js'
	}, {
		matchType: 'end-match',
		matches: [ 'angular-sanitize-1.3.10.min.js' ],
		file: 'angular-sanitize-1.3.10.min.js'
	},
{'fraction_non_alphanumeric': 0.15955284552845528, 'fraction_numerical': 0.036585365853658534, 'mean_word_length': 3.0013550135501355, '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': 2, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4767677', 'n_tokens_mistral': 1164, 'n_tokens_neox': 1067, 'n_words': 305}