Viewing File: /usr/local/cpanel/whostmgr/docroot/templates/multiphp_ini_editor/index.min.js
define(["angular","jquery","lodash","cjt/core","cjt/modules","ngRoute","uiBootstrap","ngAnimate"],(function(angular,$,_,CJT){return function(){angular.module("App",["cjt2.config.whm.configProvider","ngRoute","ui.bootstrap","ngAnimate","angular-growl","cjt2.whm","whm.multiPhpIniEditor.configService"]);var app=require(["cjt/bootstrap","app/views/basicMode","app/views/editorMode","cjt/directives/actionButtonDirective"],(function(BOOTSTRAP){var app=angular.module("App");app.value("PAGE",PAGE);app.config(["$routeProvider",function($routeProvider){$routeProvider.when("/basic",{controller:"basicMode",templateUrl:CJT.buildFullPath("multiphp_ini_editor/views/basicMode.ptt"),reloadOnSearch:false});$routeProvider.when("/editor",{controller:"editorMode",templateUrl:CJT.buildFullPath("multiphp_ini_editor/views/editorMode.ptt"),reloadOnSearch:false});$routeProvider.otherwise({redirectTo:"/basic"})}]);app.run(["$rootScope","$location","growlMessages",function($rootScope,$location,growlMessages){$rootScope.$on("$routeChangeStart",(function(){$rootScope.currentRoute=$location.path();growlMessages.destroyAllMessages()}))}]);BOOTSTRAP(document)}));return app}}));
Back to Directory