<commit_before>/**
 * A user interface (i.e. a desktop environment).
 * @param {Object} data The interface's data.
 * @param {String} name The interface's name.
 * @constructor
 * @augments {Webos.Model}
 * @since 1.0alpha1
 */
Webos.UserInterface = function WUserInterface(data, name) {
	this._name = name;
	this._booterData = null;

	Webos.Model.call(this);

	this.hydrate(data);
};
Webos.UserInterface.prototype = {
	/**
	 * Update this UI's data.
	 * @param  {Object} data The new data.
	 */
	hydrate: function (data) {
		data = data || {};

		data.default = (data.default) ? true : false;

		return Webos.Model.prototype.hydrate.call(this, data);
	},<commit_msg>Fixed a bug in IE.<commit_after>/**
 * A user interface (i.e. a desktop environment).
 * @param {Object} data The interface's data.
 * @param {String} name The interface's name.
 * @constructor
 * @augments {Webos.Model}
 * @since 1.0alpha1
 */
Webos.UserInterface = function WUserInterface(data, name) {
	this._name = name;
	this._booterData = null;

	Webos.Model.call(this);

	this.hydrate(data);
};
Webos.UserInterface.prototype = {
	/**
	 * Update this UI's data.
	 * @param  {Object} data The new data.
	 */
	hydrate: function (data) {
		data = data || {};

		data['default'] = (data['default']) ? true : false;

		return Webos.Model.prototype.hydrate.call(this, data);
	},
{'fraction_non_alphanumeric': 0.15985130111524162, 'fraction_numerical': 0.0044609665427509295, 'mean_word_length': 3.7062937062937062, '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': '6108785', 'n_tokens_mistral': 486, 'n_tokens_neox': 451, 'n_words': 120}