1//En Localhost 2/**/ 3var BaseUrl = "/"; 4/**/ 5 6//En produccion 7/** / 8var BaseUrl = "/wp-content/administrador/"; 9var Proxy = "/wp-content/administrador/api/Servicios/Proxy"; 10/**/ 11 12var myApp = angular.module('PegasoWeb', ['ngMaterial', 'ngMessages', 'material.svgAssetsCache', 'ui.bootstrap', 'blockUI','angular-toArrayFilter']).config(function ($mdThemingProvider) { 13 $mdThemingProvider.theme('default').primaryPalette('green'); 14}); 15 16/* 17myApp.config(function ($mdThemingProvider) { 18 $mdThemingProvider.theme('white') 19 .primaryPalette('white') 20 .accentPalette('blank'); 21}); 22*/ 23 24myApp.filter("toHtml", ['$sce', function ($sce) { 25 return function (htmlCode) { 26 return $sce.trustAsHtml(htmlCode); 27 } 28}]); 29 30 31 32myApp.run(function ($rootScope, $http) { 33 34 $rootScope.User = {}; 35 var flag = 0; 36 37 $rootScope.CerrarSesion = function () { 38 window.location.href = BaseUrl + "Administrador/cerrarsession"; 39 /*$http.post(BaseUrl + "Administrador/CerrarSesion") 40 .success(function (data, status, headers, config) { 41 if (data != "" && data != null) { 42 if (data == 0) { 43 window.location.href = BaseUrl + "Administrador/login"; 44 } else { 45 $scope.showCustomToast(enmMessage.codadmin_9998); 46 } 47 } else { 48 $scope.showCustomToast(enmMessage.codadmin_9998); 49 } 50 }) 51 .error(function (data, status, header, config) { 52 $scope.showCustomToast(enmMessage.codadmin_9998); 53 });*/ 54 }; 55 /*$("#opcionesusuario").click(function(ev) { 56 ev.preventDefault(); 57 $('body') 58 });*/ 59 $rootScope.opcionesusuario = function () { 60 if (flag == 0) { 61 $("#opcionesusuario").animate({ top: '62px' }); 62 flag = 1; 63 } else { 64 $("#opcionesusuario").animate({ top: '-50%' }); 65 flag = 0; 66 } 67 } 68});
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.