<commit_before>#!/bin/bash

set -e
set -x

test -d vendor || mkdir vendor
cd vendor
test -e jquery-2.1.4.min.js ||
	wget -c http://code.jquery.com/jquery-2.1.4.min.js
test -d jquery-ui || {
        wget -c http://jqueryui.com/resources/download/jquery-ui-1.11.4.zip
	unzip jquery-ui-1.11.4.zip
	mv jquery-ui-1.11.4 jquery-ui
	rm -f jquery-ui-1.11.4.zip
	}
test -e lodash.min.js ||
	wget -c  http://jointjs.com/js/vendor/lodash/lodash.min.js
test -e backbone-min.js ||
	wget -c  http://jointjs.com/js/vendor/backbone/backbone-min.js
test -e joint.min.js ||
	wget -c http://jointjs.com/downloads/joint.min.js
test -e joint.min.css ||
	wget -c http://jointjs.com/downloads/joint.min.css
test -e i18next-1.10.1.min.js || {
        wget -c https://raw.githubusercontent.com/i18next/i18next/1.10.1/release/i18next-1.10.1.min.js
test -e FileSaver.min.js ||
        wget -c https://raw.githubusercontent.com/eligrey/FileSaver.js/master/FileSaver.min.js<commit_msg>fix syntax error in install-jslibs.sh<commit_after>#!/bin/bash

set -e
set -x

test -d vendor || mkdir vendor
cd vendor
test -e jquery-2.1.4.min.js ||
	wget -c http://code.jquery.com/jquery-2.1.4.min.js
test -d jquery-ui || {
        wget -c http://jqueryui.com/resources/download/jquery-ui-1.11.4.zip
	unzip jquery-ui-1.11.4.zip
	mv jquery-ui-1.11.4 jquery-ui
	rm -f jquery-ui-1.11.4.zip
	}
test -e lodash.min.js ||
	wget -c  http://jointjs.com/js/vendor/lodash/lodash.min.js
test -e backbone-min.js ||
	wget -c  http://jointjs.com/js/vendor/backbone/backbone-min.js
test -e joint.min.js ||
	wget -c http://jointjs.com/downloads/joint.min.js
test -e joint.min.css ||
	wget -c http://jointjs.com/downloads/joint.min.css
test -e i18next-1.10.1.min.js ||
        wget -c https://raw.githubusercontent.com/i18next/i18next/1.10.1/release/i18next-1.10.1.min.js
test -e FileSaver.min.js ||
        wget -c https://raw.githubusercontent.com/eligrey/FileSaver.js/master/FileSaver.min.js
{'fraction_non_alphanumeric': 0.17838676318510857, 'fraction_numerical': 0.04343329886246122, 'mean_word_length': 2.764591439688716, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 6, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1021506', 'n_tokens_mistral': 875, 'n_tokens_neox': 828, 'n_words': 139}