<commit_before><!doctype html>
<html>
    <head>
        <title>(M)inimal App Template</title>
        <link href="http://fonts.googleapis.com/css?family=Roboto:400,700" rel="stylesheet" type="text/css">
        <meta name="viewport" content="initial-scale=1, maximum-scale=1">
        <link href="/font/typicons.min.css" rel="stylesheet" type="text/css">
        <link href='/style.css' rel="stylesheet" type="text/css">
        <script src="/m.js"></script>
        <script src='/fastclick.js'></script>
        <script>
            if ('addEventListener' in document) {
                document.addEventListener('DOMContentLoaded', function() {
                    FastClick.attach(document.body);
                }, false);
            }

            M.ready(function () {
                /**
                 * Initialize all menus and modal open buttons
                 */
                M.menu.scan();
                M.modal.scan();

                /**
                 * Common variables
                 */
                var action = M.action,
                    id = M.id,
                    swCls = M.switchClass,
                    behavior = M.behavior

                /**
                 * Initialize all actions
                 */
                action.scan();

                /**
                 * Action for clearing content filter
                 */
                action('clear-content-filter', function () {
                    id('content-filter').value = '';
                    M.behavior.trigger('content-filter-back');
                });

                /**
                 * Attach behavior to content filter for back button
                 */
                behavior.live('content-filter-back', id('content-filter'), function (filter) {
                    swCls(id('content-back'), ['disabled'],
                        filter.value.length === 0 ? 'disabled' : null);
                });

                /**
                 * Attach behavior to grid / list buttons
                 */
                action('display-type', function (data) {
                    swCls(id('content'), ['grid', 'list'], data.displayType, 'display-');
                    swCls(id('display-type-grid'), ['hide'], data.displayType === 'grid' ? null : 'hide');
                    swCls(id('display-type-list'), ['hide'], data.displayType === 'list' ? null : 'hide');
                });

                action.trigger('display-type', {displayType: 'grid'});

                /**
                 * Attach behavior to content maximize / minimize buttons
                 */
                action('content-resize', function (data) {
                    swCls(document.body, ['maximize'], data.contentSize === 'max' ? 'maximize' : null, 'content-');
                });

                /**
                 * If you're developing a menu out, keep it open
                 */
                M.menu.show('app');
            });
        </script>
        <script>
            function initialize() {
              var mapOptions = {
                zoom: 7,
                center: new google.maps.LatLng(34.397, -117.644),
                disableDefaultUI: true
              };
<commit_msg>Modals and menus<commit_after><!doctype html>
<html>
    <head>
        <title>(M)inimal App Template</title>
        <link href="http://fonts.googleapis.com/css?family=Roboto:400,700" rel="stylesheet" type="text/css">
        <meta name="viewport" content="initial-scale=1, maximum-scale=1">
        <link href="/font/typicons.min.css" rel="stylesheet" type="text/css">
        <link href='/style.css' rel="stylesheet" type="text/css">
        <script src="/m.js"></script>
        <script src='/fastclick.js'></script>
        <script>
            if ('addEventListener' in document) {
                document.addEventListener('DOMContentLoaded', function() {
                    FastClick.attach(document.body);
                }, false);
            }

            M.ready(function () {
                /**
                 * Initialize all menus and modal open buttons
                 */
                M.menu.scan();
                M.modal.scan();

                /**
                 * Common variables
                 */
                var action = M.action,
                    id = M.id,
                    swCls = M.switchClass,
                    behavior = M.behavior

                /**
                 * Initialize all actions
                 */
                action.scan();

                /**
                 * Action for clearing content filter
                 */
                action('clear-content-filter', function () {
                    id('content-filter').value = '';
                    M.behavior.trigger('content-filter-back');
                });

                /**
                 * Attach behavior to content filter for back button
                 */
                behavior.live('content-filter-back', id('content-filter'), function (filter) {
                    swCls(id('content-back'), ['disabled'],
                        filter.value.length === 0 ? 'disabled' : null);
                });

                /**
                 * Attach behavior to grid / list buttons
                 */
                action('display-type', function (data) {
                    swCls(id('content'), ['grid', 'list'], data.displayType, 'display-');
                    swCls(id('display-type-grid'), ['hide'], data.displayType === 'grid' ? null : 'hide');
                    swCls(id('display-type-list'), ['hide'], data.displayType === 'list' ? null : 'hide');
                });

                action.trigger('display-type', {displayType: 'grid'});

                /**
                 * Attach behavior to content maximize / minimize buttons
                 */
                action('content-resize', function (data) {
                    swCls(document.body, ['maximize'], data.contentSize === 'max' ? 'maximize' : null, 'content-');
                });

                /**
                 * If you're working on a menu, keep it open over refreshes
                 */
                // M.menu.show('app');
            });
        </script>
        <script>
            function initialize() {
              var mapOptions = {
                zoom: 7,
                center: new google.maps.LatLng(34.397, -117.644),
                disableDefaultUI: true
              };

{'fraction_non_alphanumeric': 0.1387211642669144, 'fraction_numerical': 0.006502554575011612, 'mean_word_length': 1.2322045611610228, 'pattern_counts': {'":': 0, '<': 35, '<?xml version=': 0, '>': 35, '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': '710967', 'n_tokens_mistral': 1653, 'n_tokens_neox': 1511, 'n_words': 320}