Viewing File: /usr/local/cpanel/base/frontend/jupiter/tools/index.dist.js

/*
# tools/index.dist.js                                 Copyright 2022 cPanel, L.L.C.
#                                                           All rights reserved.
# copyright@cpanel.net                                         http://cpanel.net
# This code is subject to the cPanel license. Unauthorized copying is prohibited
*/

/* global require: false */

// Loads the application with the pre-built combined files

/*
 *  This is essentially a wrapper function that redirects to the main delegated_lists file
 *  it could be tweaked to run delegated_lists differently in distribution form.
 *  'app' is defined dynamically and overriden by the config in cjt2-dist/config.js
 *
 */

require([
    "frameworksBuild",
    "locale!cjtBuild",
    "app/index.cmb",
], function() {
    "use strict";
    require(["cjt/startup"], function(STARTUP) {
        STARTUP
            .startApplication();
    });
});
Back to Directory File Manager