<commit_before>/**
 * Init script for admin functionality
 *
 * Created by <NAME> from Ubrainians for imCode
 * 07.08.17.
 */
Imcms.require(["imcms-admin-panel-builder", "imcms"], function (panelBuilder, imcms) {
    panelBuilder.buildPanel({active: imcms.isEditMode ? 'edit' : 'public'});
});<commit_msg>IMCMS-233 - Apply new UI to the admin panel and editors: - Implemented editors load when in edit mode.<commit_after>/**
 * Init script for admin functionality
 *
 * Created by <NAME> from Ubrainians for imCode
 * 07.08.17.
 */
Imcms.require(["imcms-admin-panel-builder", "imcms"], function (panelBuilder, imcms) {
    panelBuilder.buildPanel({
        active: imcms.isEditMode ? 'edit' : 'public'
    });
    imcms.isEditMode && imcms.require("imcms-editors-initializer", function (editorsInit) {
        editorsInit.initEditors();
    });
});
{'fraction_non_alphanumeric': 0.14976415094339623, 'fraction_numerical': 0.01768867924528302, 'mean_word_length': 4.053571428571429, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '3096301', 'n_tokens_mistral': 295, 'n_tokens_neox': 266, 'n_words': 68}