<commit_before>/*jslint vars:true, todo:true, sloppy:true */
angular.module('launcher')
	.directive('indxBoxlistBox',function() {
		return {
			restrict:'E',
			replace:false,
			templateUrl:'templates/box.html',
			link:function($scope, $element) {
				$scope.el = $element;
			},
			scope: { box:"=box" },
			controller: function($scope, client, backbone, utils) {
				var u = utils, sa = function(f) { utils.safeApply($scope,f); };
				$scope.obj_count = $scope.box ? $scope.box.getObjIDs().length : 0;
				$scope.box.on('obj-add', function(result) { 
					console.log('obj add ', result, typeof(result));
					sa(function() { $scope.obj_count++; });
				});
			}
		};
	});<commit_msg>commented out annoying comment<commit_after>/*jslint vars:true, todo:true, sloppy:true */
angular.module('launcher')
	.directive('indxBoxlistBox',function() {
		return {
			restrict:'E',
			replace:false,
			templateUrl:'templates/box.html',
			link:function($scope, $element) {
				$scope.el = $element;
			},
			scope: { box:"=box" },
			controller: function($scope, client, backbone, utils) {
				var u = utils, sa = function(f) { utils.safeApply($scope,f); };
				$scope.obj_count = $scope.box ? $scope.box.getObjIDs().length : 0;
				$scope.box.on('obj-add', function(result) { 
					// console.log('obj add ', result, typeof(result));
					sa(function() { $scope.obj_count++; });
				});
			}
		};
	});
{'fraction_non_alphanumeric': 0.1991404011461318, 'fraction_numerical': 0.0014326647564469914, 'mean_word_length': 3.8339100346020762, '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': '5594789', 'n_tokens_mistral': 574, 'n_tokens_neox': 489, 'n_words': 81}