<commit_before>/// class controlling border rendering
Object {
	property int width;		///< width of the border
	property color color;	///< color of the border

	property BorderMargin left :	BorderMargin	{ name: "left"; }
	property BorderMargin right :	BorderMargin	{ name: "right"; }
	property BorderMargin top :		BorderMargin	{ name: "top"; }
	property BorderMargin bottom :	BorderMargin	{ name: "bottom"; }

	function _update(name, value) {
		switch(name) {
			case 'width': this.parent.style({'border-width': value, 'margin-left': -value, 'margin-top': -value}); break;
			case 'color': this.parent.style('border-color', _globals.core.normalizeColor(value)); break;
		}
		_globals.core.Object.prototype._update.apply(this, arguments)
	}
}
<commit_msg>border style added<commit_after>/// class controlling border rendering
Object {
	property int width;		///< width of the border
	property color color;	///< color of the border
	property string style;	///< style of the border

	property BorderMargin left :	BorderMargin	{ name: "left"; }
	property BorderMargin right :	BorderMargin	{ name: "right"; }
	property BorderMargin top :		BorderMargin	{ name: "top"; }
	property BorderMargin bottom :	BorderMargin	{ name: "bottom"; }

	function _update(name, value) {
		switch(name) {
			case 'width': this.parent.style({'border-width': value, 'margin-left': -value, 'margin-top': -value}); break;
			case 'color': this.parent.style('border-color', _globals.core.normalizeColor(value)); break;
			case 'style': this.parent.style('border-style', value); break
		}
		_globals.core.Object.prototype._update.apply(this, arguments)
	}
}

{'fraction_non_alphanumeric': 0.14215384615384616, 'fraction_numerical': 0.0, 'mean_word_length': 4.530612244897959, 'pattern_counts': {'":': 0, '<': 8, '<?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': '5647340', 'n_tokens_mistral': 523, 'n_tokens_neox': 510, 'n_words': 142}