Viewing File: /usr/local/cpanel/base/frontend/jupiter/site_publisher/index.min.js
define(["angular","cjt/core","cjt/modules","ngRoute","uiBootstrap"],(function(o,t){return function(){return o.module("App",["ngRoute","ui.bootstrap","angular-growl","cjt2.cpanel"]),require(["cjt/bootstrap","uiBootstrap","cjt/views/applicationController","app/views/publishController"],(function(e){var n=o.module("App");n.firstLoad={publish:!0},n.value("PAGE",CPANEL.PAGE),n.controller("BaseController",["$rootScope","$scope","$route","$location",function(o,t,e,n){t.loading=!1,o.$on("$routeChangeStart",(function(){t.loading=!0})),o.$on("$routeChangeSuccess",(function(){t.loading=!1})),o.$on("$routeChangeError",(function(){t.loading=!1})),t.current_route_matches=function(o){return n.path().match(o)},t.go=function(o){n.path(o)}}]),n.config(["$routeProvider","$locationProvider",function(o,e){o.when("/publish",{controller:"publishController",templateUrl:t.buildFullPath("site_publisher/views/publishView.html.tt"),resolve:{}}),o.otherwise({redirectTo:"/publish"})}]),e("#content","App")}))}}));
Back to Directory
File Manager