function _executeMain() {

            var index;
            var o;

            for(index = 0; index < cycligent.interfacesToProcess.length; index++){
                o = cycligent.interfacesToProcess[index];
                console.error("The interface '" + o.name + "' failed to process at startup. Missing dependency '" + cycligent.interfaceMissing(o) + "'.");
            }

            for(index = 0; index < cycligent.classesToProcess.length; index++){
                o = cycligent.classesToProcess[index];
                console.error("The class '" + o.name + "' failed to process at startup. Missing dependency '" + cycligent.classMissing(o) + "'.");
            }

            cycligent.timing.event("Initialize application (time first call to timing.event)", 0);

            function mainGo(){
                if (cycligent.test) {
                    cycligent.test.scaffoldingReady = true;
                } else if (appLoadFinished == false) {
                    //noinspection JSUnresolvedFunction
                    main();
                }

                appLoadFinished = true;

                for (var i = 0; i < notifyFunctions.length; i++) {
                    notifyFunctions[i]();
                }
            }

            if(cycligent.config.debug.doNotCatchAllExceptionsOnLocalHost &&
                (window.location.hostname == "localhost" || window.location.hostname == "127.0.0.1")){
                mainGo();
            } else {
                try {
                    mainGo();
                }
                catch (ex) {
                    console.error(ex);
                }
            }
        }
/**
         * Execute main process with error trapping.
         *
         * @private
         */
Execute main process with error trapping.
@private
Execute main process with error trapping . @private
function _executeMain() {
            var index;
            var o;
            for(index = 0; index < cycligent.interfacesToProcess.length; index++){
                o = cycligent.interfacesToProcess[index];
                console.error("The interface '" + o.name + "' failed to process at startup. Missing dependency '" + cycligent.interfaceMissing(o) + "'.");
            }
            for(index = 0; index < cycligent.classesToProcess.length; index++){
                o = cycligent.classesToProcess[index];
                console.error("The class '" + o.name + "' failed to process at startup. Missing dependency '" + cycligent.classMissing(o) + "'.");
            }
            cycligent.timing.event("Initialize application (time first call to timing.event)", 0);
            function mainGo(){
                if (cycligent.test) {
                    cycligent.test.scaffoldingReady = true;
                } else if (appLoadFinished == false) {
                    main();
                }
                appLoadFinished = true;
                for (var i = 0; i < notifyFunctions.length; i++) {
                    notifyFunctions[i]();
                }
            }
            if(cycligent.config.debug.doNotCatchAllExceptionsOnLocalHost &&
                (window.location.hostname == "localhost" || window.location.hostname == "127.0.0.1")){
                mainGo();
            } else {
                try {
                    mainGo();
                }
                catch (ex) {
                    console.error(ex);
                }
            }
        }
function _executeMain ( ) { var index ; var o ; for ( index = 0 ; index < cycligent . interfacesToProcess . length ; index ++ ) { o = cycligent . interfacesToProcess [ index ] ; console . error ( "The interface '" + o . name + "' failed to process at startup. Missing dependency '" + cycligent . interfaceMissing ( o ) + "'." ) ; } for ( index = 0 ; index < cycligent . classesToProcess . length ; index ++ ) { o = cycligent . classesToProcess [ index ] ; console . error ( "The class '" + o . name + "' failed to process at startup. Missing dependency '" + cycligent . classMissing ( o ) + "'." ) ; } cycligent . timing . event ( "Initialize application (time first call to timing.event)" , 0 ) ; function mainGo ( ) { if ( cycligent . test ) { cycligent . test . scaffoldingReady = true ; } else if ( appLoadFinished == false ) { main ( ) ; } appLoadFinished = true ; for ( var i = 0 ; i < notifyFunctions . length ; i ++ ) { notifyFunctions [ i ] ( ) ; } } if ( cycligent . config . debug . doNotCatchAllExceptionsOnLocalHost && ( window . location . hostname == "localhost" || window . location . hostname == "127.0.0.1" ) ) { mainGo ( ) ; } else { try { mainGo ( ) ; } catch ( ex ) { console . error ( ex ) ; } } }
Execute main process with error trapping.
Execute main process with error trapping .
//noinspection JSUnresolvedFunction