Commit 39da45880f4fc3cfa57200998b6d589b5659490c
1 parent
8cf02a3814
Exists in
master
and in
2 other branches
quitados console.log
Showing
1 changed file
with
5 additions
and
4 deletions
Show diff stats
src/js/controller.js
| ... | ... | @@ -19,7 +19,6 @@ angular.module('focaHojaRuta') |
| 19 | 19 | function init() { |
| 20 | 20 | hojaRutaService.getHojaRuta(loginData.chofer) |
| 21 | 21 | .then(function (res) { |
| 22 | - console.log(res.data); | |
| 23 | 22 | abrilModalHojasDeRuta(res.data); |
| 24 | 23 | }); |
| 25 | 24 | } |
| ... | ... | @@ -70,7 +69,9 @@ angular.module('focaHojaRuta') |
| 70 | 69 | } |
| 71 | 70 | ); |
| 72 | 71 | modalInstance.result |
| 73 | - .then(function (data) { console.log(data); }) | |
| 72 | + .then(function () { | |
| 73 | + // console.log(data); | |
| 74 | + }) | |
| 74 | 75 | .catch(function (e) { console.info(e); }); |
| 75 | 76 | }; |
| 76 | 77 | $scope.salir = function () { |
| ... | ... | @@ -140,8 +141,8 @@ angular.module('focaHojaRuta') |
| 140 | 141 | }, |
| 141 | 142 | } |
| 142 | 143 | ); |
| 143 | - modalInstance.result.then(function (data) { | |
| 144 | - console.log(data); | |
| 144 | + modalInstance.result.then(function () { | |
| 145 | + // console.log(data); | |
| 145 | 146 | }); |
| 146 | 147 | }; |
| 147 | 148 | $scope.articulosDescargados = function (articulosRemito) { |