<commit_before>'use strict';


angular.module('emuwebApp')
	.directive('showMenu', function ($animate) {
		return {
			restrict: 'A',
			link: function postLink(scope, element, attrs) {
				scope.$watch(attrs.showMenu, function (newVal) {
					if (newVal) {
						$animate.addClass(element, '.slideInMenu');
					} else {
						$animate.removeClass(element, '.slideInMenu');
					}
				})
			}
		};
	});

// simple animation to add slideLeft class
angular.module('emuwebApp').animation(".slideInMenu", function () {
	return {
		addClass: function (element, className) {
			element.addClass('slideLeft');
		},
		removeClass: function (element, className) {
			element.removeClass('slideLeft');
		}
	}
});<commit_msg>perspectives back but hack<commit_after>'use strict';


angular.module('emuwebApp')
	.directive('showMenu', function ($animate) {
		return {
			restrict: 'A',
			link: function postLink(scope, element, attrs) {
				scope.$watch(attrs.showMenu, function (newVal) {
					if (newVal) {
						// $animate.addClass(element, '.slideInMenu');
						$animate.addClass(element, 'slideLeft');
					} else {
						// $animate.removeClass(element, '.slideInMenu');
						$animate.removeClass(element, 'slideLeft');
					}
				})
			}
		};
	});

// simple animation to add slideLeft class
angular.module('emuwebApp').animation(".slideInMenu", function () {
	return {
		addClass: function (element, className) {
			alert("sdfsdf")
			element.addClass('slideLeft');
		},
		removeClass: function (element, className) {
			element.removeClass('slideLeft');
		}
	}
});
{'fraction_non_alphanumeric': 0.16485623003194888, 'fraction_numerical': 0.0, 'mean_word_length': 3.774390243902439, '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': '403511', 'n_tokens_mistral': 587, 'n_tokens_neox': 485, 'n_words': 94}