<commit_before>import * as AdhHttpModule from "../Http/Module";
import * as AdhInjectModule from "../Inject/Module";
import * as AdhPermissionsModule from "../Permissions/Module";
import * as AdhPreliminaryNamesModule from "../PreliminaryNames/Module";
import * as AdhWebSocketModule from "../WebSocket/Module";

import * as AdhListing from "./Listing";


export var moduleName = "adhListing";

export var register = (angular) => {
    angular
        .module(moduleName, [
            AdhHttpModule.moduleName,
            AdhInjectModule.moduleName,
            AdhPermissionsModule.moduleName,
            AdhPreliminaryNamesModule.moduleName,
            AdhWebSocketModule.moduleName
        ])
        .directive("adhFacets", ["adhConfig", AdhListing.facets])
        .directive("adhListing",
            ["adhConfig", "adhWebSocket", (adhConfig, adhWebSocket) =>
                new AdhListing.Listing().createDirective(adhConfig, adhWebSocket)]);
};<commit_msg>add jquery-based animation for list facets/sorts (see 7c3bb07)<commit_after>import * as AdhHttpModule from "../Http/Module";
import * as AdhInjectModule from "../Inject/Module";
import * as AdhPermissionsModule from "../Permissions/Module";
import * as AdhPreliminaryNamesModule from "../PreliminaryNames/Module";
import * as AdhWebSocketModule from "../WebSocket/Module";

import * as AdhListing from "./Listing";


export var moduleName = "adhListing";

export var register = (angular) => {
    angular
        .module(moduleName, [
            AdhHttpModule.moduleName,
            AdhInjectModule.moduleName,
            AdhPermissionsModule.moduleName,
            AdhPreliminaryNamesModule.moduleName,
            AdhWebSocketModule.moduleName
        ])
        .directive("adhFacets", ["adhConfig", AdhListing.facets])
        .directive("adhListing",
            ["adhConfig", "adhWebSocket", (adhConfig, adhWebSocket) =>
                new AdhListing.Listing().createDirective(adhConfig, adhWebSocket)])
        .animation(".listing-results", () => {
            return {
                enter: (element, done) => {
                    element.hide().slideDown(done);
                },
                leave: (element, done) => {
                    element.slideUp(done);
                }
            };
        });
};
{'fraction_non_alphanumeric': 0.121251629726206, 'fraction_numerical': 0.001738374619730552, 'mean_word_length': 2.5856697819314642, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 10, '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': '3439526', 'n_tokens_mistral': 652, 'n_tokens_neox': 631, 'n_words': 129}