<commit_before>var EpubReflowableModule = function(spineObject, viewerSettingsObject, CFIAnnotations, bindings) {

    var EpubReflowable = {};

    // Rationale: The order of these matters
    <%= alternate_style_tag_selector %>
    <%= reflowable_annotations %>
    <%= reflowable_element_info %>
    <%= reflowable_layout %>
    <%= reflowable_page_number_logic %>
    <%= reflowable_pagination %>
    <%= reflowable_paginator %>
    <%= trigger %>
    <%= reflowable_pagination_view %>

    var reflowableView = new EpubReflowable.ReflowablePaginationView({
        spineItem : spineObject,
        viewerSettings : viewerSettingsObject,
        contentDocumentCFIs : CFIAnnotations,
        bindings : bindings
    });

    // Description: The public interface
    return {

        render : function (goToLastPage, hashFragmentId) {
            return reflowableView.render(goToLastPage, hashFragmentId);
        },
        nextPage : function () {
            return reflowableView.nextPage();
        },
        previousPage : function () {
            return reflowableView.previousPage();
        },
        showPageByHashFragment : function (hashFragmentId) {
            return reflowableView.goToHashFragment(hashFragmentId);
        },
        showPageByNumber : function (pageNumber) {
            return reflowableView.showPageByNumber(pageNumber);
        },
        showPageByCFI : function (CFI) {
            // Is the lack of return intentional?
            reflowableView.showPageByCFI(CFI);
        },
        onFirstPage : function () {
            return reflowableView.onFirstPage();
        },
        onLastPage : function () {
            return reflowableView.onLastPage();
        },
        showPagesView : function () {
            return reflowableView.showView();
        },
        hidePagesView : function () {
            return reflowableView.hideView();
        },
        numberOfPages : function () {
            return reflowableView.pages.get("num_pages");
        },
        currentPage : function () {
            return reflowableView.pages.get("current_page");
        },
        setFontSize : function (fontSize) {
            return reflowableView.setFontSize(fontSize);
        },
        setMargin : function (margin) {
            return reflowableView.setMargin(margin);
        },
        setTheme : function (theme) {
            return reflowableView.setTheme(theme);<commit_msg>Added a missing return statement #7; thanks Asa.<commit_after>var EpubReflowableModule = function(spineObject, viewerSettingsObject, CFIAnnotations, bindings) {

    var EpubReflowable = {};

    // Rationale: The order of these matters
    <%= alternate_style_tag_selector %>
    <%= reflowable_annotations %>
    <%= reflowable_element_info %>
    <%= reflowable_layout %>
    <%= reflowable_page_number_logic %>
    <%= reflowable_pagination %>
    <%= reflowable_paginator %>
    <%= trigger %>
    <%= reflowable_pagination_view %>

    var reflowableView = new EpubReflowable.ReflowablePaginationView({
        spineItem : spineObject,
        viewerSettings : viewerSettingsObject,
        contentDocumentCFIs : CFIAnnotations,
        bindings : bindings
    });

    // Description: The public interface
    return {

        render : function (goToLastPage, hashFragmentId) {
            return reflowableView.render(goToLastPage, hashFragmentId);
        },
        nextPage : function () {
            return reflowableView.nextPage();
        },
        previousPage : function () {
            return reflowableView.previousPage();
        },
        showPageByHashFragment : function (hashFragmentId) {
            return reflowableView.goToHashFragment(hashFragmentId);
        },
        showPageByNumber : function (pageNumber) {
            return reflowableView.showPageByNumber(pageNumber);
        },
        showPageByCFI : function (CFI) {
            return reflowableView.showPageByCFI(CFI);
        },
        onFirstPage : function () {
            return reflowableView.onFirstPage();
        },
        onLastPage : function () {
            return reflowableView.onLastPage();
        },
        showPagesView : function () {
            return reflowableView.showView();
        },
        hidePagesView : function () {
            return reflowableView.hideView();
        },
        numberOfPages : function () {
            return reflowableView.pages.get("num_pages");
        },
        currentPage : function () {
            return reflowableView.pages.get("current_page");
        },
        setFontSize : function (fontSize) {
            return reflowableView.setFontSize(fontSize);
        },
        setMargin : function (margin) {
            return reflowableView.setMargin(margin);
        },
        setTheme : function (theme) {
            return reflowableView.setTheme(theme);
{'fraction_non_alphanumeric': 0.09827302631578948, 'fraction_numerical': 0.00020559210526315788, 'mean_word_length': 2.302783435166327, 'pattern_counts': {'":': 0, '<': 21, '<?xml version=': 0, '>': 21, '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': '3319645', 'n_tokens_mistral': 1353, 'n_tokens_neox': 1273, 'n_words': 229}