<commit_before>angular.module( 'App.Game.MediaBar' ).directive( 'gjGameMediaBarLightboxItem', function( $window, $timeout, Screen, GameMediaBarLightboxConfig )
{
	return {
		restrict: 'E',
		require: '^^gjGameMediaBarLightbox',
		scope: {
			item: '=',
			maxHeight: '=',
			maxWidth: '=',
			itemIndex: '=',
			activeIndex: '=',
			mediaBarCtrl: '=mediaBar',
		},
		templateUrl: '/app/components/game/media-bar/lightbox/item/item.html',
		bindToController: true,
		controllerAs: 'ctrl',
		controller: function( $scope, $element )
		{
			var _this = this;
			var elem = $element[0];

			this.lightboxCtrl = $scope.$parent.ctrl;

			this.isActive = false;
			this.isNext = false;
			this.isPrev = false;

			this.maxWidth = undefined;
			this.maxHeight = undefined;

			this.play = function()
			{
				this.mediaBarCtrl.isPlaying = this.itemIndex;
			};<commit_msg>Remove unneeded scope inputs for media bar lightbox items.<commit_after>angular.module( 'App.Game.MediaBar' ).directive( 'gjGameMediaBarLightboxItem', function( $window, $timeout, Screen, GameMediaBarLightboxConfig )
{
	return {
		restrict: 'E',
		require: '^^gjGameMediaBarLightbox',
		scope: {
			item: '=',
			itemIndex: '=',
			activeIndex: '=',
			mediaBarCtrl: '=mediaBar',
		},
		templateUrl: '/app/components/game/media-bar/lightbox/item/item.html',
		bindToController: true,
		controllerAs: 'ctrl',
		controller: function( $scope, $element )
		{
			var _this = this;
			var elem = $element[0];

			this.lightboxCtrl = $scope.$parent.ctrl;

			this.isActive = false;
			this.isNext = false;
			this.isPrev = false;

			this.maxWidth = undefined;
			this.maxHeight = undefined;

			this.play = function()
			{
				this.mediaBarCtrl.isPlaying = this.itemIndex;
			};
{'fraction_non_alphanumeric': 0.15034562211981567, 'fraction_numerical': 0.001152073732718894, 'mean_word_length': 3.825, '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': '1463125', 'n_tokens_mistral': 696, 'n_tokens_neox': 596, 'n_words': 114}