<commit_before>/* jshint node: true */
'use strict';

var es = require('event-stream'),
    path = require('path'),
    gutil = require('gulp-util'),
    fs = require('fs'),
    PluginError = gutil.PluginError;

var preloadPlugin = function (destination, opt) {
    if (!destination) {
        throw new PluginError('gulp-preload-image', 'Missing destination option for gulp-preload-image');
    }
    opt = opt || {};
    var _preloader = "body:after { content:";

    return es.through(function write(file) {
        _preloader = _preloader + ' url(' +
            path.relative(path.dirname(destination), file.path) +
        ')';

        this.emit('data', file)
    }, function end(){
        console.log(opt);
        _preloader = _preloader + "; display: none;}";
        if (opt.append) {
            fs.appendFileSync(destination, _preloader);<commit_msg>Remove debugging data :-O<commit_after>/* jshint node: true */
'use strict';

var es = require('event-stream'),
    path = require('path'),
    gutil = require('gulp-util'),
    fs = require('fs'),
    PluginError = gutil.PluginError;

var preloadPlugin = function (destination, opt) {
    if (!destination) {
        throw new PluginError('gulp-preload-image', 'Missing destination option for gulp-preload-image');
    }
    opt = opt || {};
    var _preloader = "body:after { content:";

    return es.through(function write(file) {
        _preloader = _preloader + ' url(' +
            path.relative(path.dirname(destination), file.path) +
        ')';

        this.emit('data', file)
    }, function end(){
        _preloader = _preloader + "; display: none;}";
        if (opt.append) {
            fs.appendFileSync(destination, _preloader);
{'fraction_non_alphanumeric': 0.1528588098016336, 'fraction_numerical': 0.0, 'mean_word_length': 2.83668903803132, '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': '2570543', 'n_tokens_mistral': 519, 'n_tokens_neox': 520, 'n_words': 119}