<commit_before>/*
**  ComponentJS -- Component System for JavaScript <http://componentjs.com>
**  Copyright (c) 2009-2013 <NAME> <http://engelschall.com>
**
**  This Source Code Form is subject to the terms of the Mozilla Public
**  License, v. 2.0. If a copy of the MPL was not distributed with this
**  file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/

/* global alert: true */
/* global less: true */
/* global app: true */

/*  bootstrap component system  */
ComponentJS.symbol('cs')
cs.bootstrap()

/*  configure component system debugging  */
cs.debug(0)
if (cs.plugin('debugger')) {
    if (cs.debug_instrumented()) {
        cs.debug(9)
        cs.debug_window({
            enable:    true,
            natural:   true,
            autoclose: false,
            name:      'ComponentJS Tracing',
            width:     800,
            height:    800
        })
    }
}

/*  create application namespaces  */
cs.ns('app.lib')
cs.ns('app.ui.comp')
cs.ns('app.ui.widget')

/*  once the DOM is ready...  */
$(document).ready(function () {
    /*  we really need Google Chrome's feature set  */
    if (window.chrome === undefined) {
        alert('You can only view this application using Google Chrome.')
        return;
    }

    /*  load stylesheets  */
    less.env = 'production'
    less.async = true
    less.dumpLineNumbers = 'mediaQuery'
    $('head > link[rel="stylesheet/less"]').each(function () {
        less.sheets.push(this)
    })
    less.refresh(true)

    /*  load markup templates  */
    $.markup.load(function () {
        /*  fire up application components  */
        cs.create('/sv', app.sv)
        cs('/sv').state('visible', function () {
            cs.create('/ui/panel', {}, app.ui.comp.panel)
            cs('/ui/panel').state(typeof document !== 'undefined' ? 'visible' : 'prepared')
        })
    })
})<commit_msg>Removed unnecessary namespace component<commit_after>/*
**  ComponentJS -- Component System for JavaScript <http://componentjs.com>
**  Copyright (c) 2009-2013 <NAME> <http://engelschall.com>
**
**  This Source Code Form is subject to the terms of the Mozilla Public
**  License, v. 2.0. If a copy of the MPL was not distributed with this
**  file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/

/* global alert: true */
/* global less: true */
/* global app: true */

/*  bootstrap component system  */
ComponentJS.symbol('cs')
cs.bootstrap()

/*  configure component system debugging  */
cs.debug(0)
if (cs.plugin('debugger')) {
    if (cs.debug_instrumented()) {
        cs.debug(9)
        cs.debug_window({
            enable:    true,
            natural:   true,
            autoclose: false,
            name:      'ComponentJS Tracing',
            width:     800,
            height:    800
        })
    }
}

/*  create application namespaces  */
cs.ns('app.lib')
cs.ns('app.ui.comp')
cs.ns('app.ui.widget')

/*  once the DOM is ready...  */
$(document).ready(function () {
    /*  we really need Google Chrome's feature set  */
    if (window.chrome === undefined) {
        alert('You can only view this application using Google Chrome.')
        return;
    }

    /*  load stylesheets  */
    less.env = 'production'
    less.async = true
    less.dumpLineNumbers = 'mediaQuery'
    $('head > link[rel="stylesheet/less"]').each(function () {
        less.sheets.push(this)
    })
    less.refresh(true)

    /*  load markup templates  */
    $.markup.load(function () {
        /*  fire up application components  */
        cs.create('/sv', app.sv)
        cs('/sv').state('visible', function () {
            cs.create('/panel', app.ui.comp.panel)
            cs('/panel').state(typeof document !== 'undefined' ? 'visible' : 'prepared')
        })
    })
})
{'fraction_non_alphanumeric': 0.15706666666666666, 'fraction_numerical': 0.010666666666666666, 'mean_word_length': 2.2645778938207135, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 11, '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': '5965358', 'n_tokens_mistral': 1178, 'n_tokens_neox': 1127, 'n_words': 297}