<commit_before>define(function (require, exports) {
    "use strict";

    var FileSystemStats     = require("filesystem/FileSystemStats"),
        FileSystemError     = require("filesystem/FileSystemError");

    /**
     * Callback to notify FileSystem of watcher changes
     * @type {?function(string, FileSystemStats=)}
     */
    var _changeCallback;

    /**
     * Callback to notify FileSystem if watchers stop working entirely
     * @type {?function()}
     */
    var _offlineCallback;

    function _mapError(err) {
        if (!err) {
            return null;
        }
        switch (err.code) {
            case "ERR_INVALID_PARAMS":
                return FileSystemError.INVALID_PARAMS;
            case "ENOENT":
                return FileSystemError.NOT_FOUND;
            case "ERR_CANT_READ":
                return FileSystemError.NOT_READABLE;
            case "ERR_CANT_WRITE":
                return FileSystemError.NOT_WRITABLE;
            case "ERR_UNSUPPORTED_ENCODING":
                return FileSystemError.UNSUPPORTED_ENCODING;
            case "ENOSPC":
                return FileSystemError.OUT_OF_SPACE;
            case "EEXIST":
                return FileSystemError.ALREADY_EXISTS;
        }
        return FileSystemError.UNKNOWN;
    }

    var socket = require("/socket.io/socket.io.js").connect("/brackets");

    socket.on("greeting", function (data) {
        if (data === "hi") {
            console.log("Socket.io connected!");
        }
    });

    /**
     * Display an open-files dialog to the user and call back asynchronously with
     * either a FileSystmError string or an array of path strings, which indicate
     * the entry or entries selected.
     *
     * @param {boolean} allowMultipleSelection<commit_msg>requireJS optimiszation<commit_after>define(function (require, exports) {
    "use strict";

    var FileSystemStats     = require("filesystem/FileSystemStats"),
        FileSystemError     = require("filesystem/FileSystemError");

    /**
     * Callback to notify FileSystem of watcher changes
     * @type {?function(string, FileSystemStats=)}
     */
    var _changeCallback;

    /**
     * Callback to notify FileSystem if watchers stop working entirely
     * @type {?function()}
     */
    var _offlineCallback;

    function _mapError(err) {
        if (!err) {
            return null;
        }
        switch (err.code) {
            case "ERR_INVALID_PARAMS":
                return FileSystemError.INVALID_PARAMS;
            case "ENOENT":
                return FileSystemError.NOT_FOUND;
            case "ERR_CANT_READ":
                return FileSystemError.NOT_READABLE;
            case "ERR_CANT_WRITE":
                return FileSystemError.NOT_WRITABLE;
            case "ERR_UNSUPPORTED_ENCODING":
                return FileSystemError.UNSUPPORTED_ENCODING;
            case "ENOSPC":
                return FileSystemError.OUT_OF_SPACE;
            case "EEXIST":
                return FileSystemError.ALREADY_EXISTS;
        }
        return FileSystemError.UNKNOWN;
    }

    var socket = require("socket.io").connect("/brackets");

    socket.on("greeting", function (data) {
        if (data === "hi") {
            console.log("Socket.io connected!");
        }
    });

    /**
     * Display an open-files dialog to the user and call back asynchronously with
     * either a FileSystmError string or an array of path strings, which indicate
     * the entry or entries selected.
     *
     * @param {boolean} allowMultipleSelection
{'fraction_non_alphanumeric': 0.09249858996051889, 'fraction_numerical': 0.0, 'mean_word_length': 2.095113438045375, 'pattern_counts': {'":': 14, '<': 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': '176241', 'n_tokens_mistral': 983, 'n_tokens_neox': 949, 'n_words': 232}