<commit_before>AUI().add(
	'state-interaction',
	function(A) {
		var Lang = A.Lang,
			isString = Lang.isString,

			getClassName = A.ClassNameManager.getClassName,

			STATE = 'state',

			CSS_STATE_DEFAULT = getClassName(STATE, 'default'),
			CSS_STATE_HOVER = getClassName(STATE, 'hover');
			CSS_STATE_ACTIVE = getClassName(STATE, 'active');

		var StateInteractionPlugin = function() {
			StateInteractionPlugin.superclass.constructor.apply(this, arguments);
		};

		StateInteractionPlugin.NAME = 'stateinteraction';
		StateInteractionPlugin.NS = 'StateInteraction';

		StateInteractionPlugin.ATTRS = {
			active: {
				value: false,
				setter: function(value) {
					var instance = this;

					var action = 'addClass';

					if (!value) {
						action = 'removeClass';
					}

					instance.get('host')[action](instance._CSS_STATE_ACTIVE);
				}
			},

			default: {
				value: false,
				setter: function(value) {
					var instance = this;

					var action = 'addClass';

					if (!value) {
						action = 'removeClass';
					}

					instance.get('host')[action](instance._CSS_STATE_DEFAULT);
				}
			},

			hover: {
				value: false,
				setter: function(value) {
					var instance = this;

					var action = 'addClass';

					if (!value) {
						action = 'removeClass';
					}<commit_msg>IE doesn't like the word "default" as key<commit_after>AUI().add(
	'state-interaction',
	function(A) {
		var Lang = A.Lang,
			isString = Lang.isString,

			getClassName = A.ClassNameManager.getClassName,

			STATE = 'state',

			CSS_STATE_DEFAULT = getClassName(STATE, 'default'),
			CSS_STATE_HOVER = getClassName(STATE, 'hover');
			CSS_STATE_ACTIVE = getClassName(STATE, 'active');

		var StateInteractionPlugin = function() {
			StateInteractionPlugin.superclass.constructor.apply(this, arguments);
		};

		StateInteractionPlugin.NAME = 'stateinteraction';
		StateInteractionPlugin.NS = 'StateInteraction';

		StateInteractionPlugin.ATTRS = {
			active: {
				value: false,
				setter: function(value) {
					var instance = this;

					var action = 'addClass';

					if (!value) {
						action = 'removeClass';
					}

					instance.get('host')[action](instance._CSS_STATE_ACTIVE);
				}
			},

			'default': {
				value: false,
				setter: function(value) {
					var instance = this;

					var action = 'addClass';

					if (!value) {
						action = 'removeClass';
					}

					instance.get('host')[action](instance._CSS_STATE_DEFAULT);
				}
			},

			hover: {
				value: false,
				setter: function(value) {
					var instance = this;

					var action = 'addClass';

					if (!value) {
						action = 'removeClass';
					}
{'fraction_non_alphanumeric': 0.1328006088280061, 'fraction_numerical': 0.0, 'mean_word_length': 3.069659442724458, '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': '4422539', 'n_tokens_mistral': 1087, 'n_tokens_neox': 815, 'n_words': 163}