<commit_before>'use strict';

if ('serviceWorker' in navigator) {
    navigator.serviceWorker.register('../serviceworker-loader.js', {
        scope: "https.livelykernel.github.io/lively4-core"
    }).then(function(registration) {
        // Registration was successful
        alert('ServiceWorker registration successful with scope: ', registration.scope);
        navigator.serviceWorker.ready.then(function() {
        	alert('READY');
		});
    }).catch(function(err) {
        // registration failed
        alert('ServiceWorker registration failed: ', err);
    });
}<commit_msg>draft ace editor<commit_after>'use strict';

if ('serviceWorker' in navigator) {
    navigator.serviceWorker.register('../serviceworker-loader.js', {
        scope: "https://livelykernel.github.io/lively4-core"
    }).then(function(registration) {
        // Registration was successful
        alert('ServiceWorker registration successful with scope: ', registration.scope);
        navigator.serviceWorker.ready.then(function() {
        	alert('READY');
		});
    }).catch(function(err) {
        // registration failed
        alert('ServiceWorker registration failed: ', err);
    });
}
{'fraction_non_alphanumeric': 0.1427357689039932, 'fraction_numerical': 0.0016992353440951572, 'mean_word_length': 3.237410071942446, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 1, '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': '727188', 'n_tokens_mistral': 315, 'n_tokens_neox': 307, 'n_words': 58}