Commit 3107d8730cd89cc15e5757d6be7b742c8b847378
1 parent
10b3ebf5e3
Exists in
master
agrego unit-test de abm chofer, pre commit
Showing
3 changed files
with
5 additions
and
3 deletions
Show diff stats
src/js/app.js
src/js/controller.js
| ... | ... | @@ -19,7 +19,7 @@ angular.module('appWrapperDemo') |
| 19 | 19 | $rootScope.$broadcast('usarTeclado', true); |
| 20 | 20 | }; |
| 21 | 21 | |
| 22 | - $rootScope.$on('focus', function(event) { | |
| 22 | + $rootScope.$on('focus', function() { | |
| 23 | 23 | if(!$scope.usarTeclado) { |
| 24 | 24 | return; |
| 25 | 25 | } |
| ... | ... | @@ -29,7 +29,7 @@ angular.module('appWrapperDemo') |
| 29 | 29 | $scope.$apply(); |
| 30 | 30 | } |
| 31 | 31 | }); |
| 32 | - $rootScope.$on('blur', function(event) { | |
| 32 | + $rootScope.$on('blur', function() { | |
| 33 | 33 | $scope.timeout = $timeout(function() { |
| 34 | 34 | $scope.mostrarTeclado = false; |
| 35 | 35 | if(!$scope.$$phase) { |
unit-test.html
| ... | ... | @@ -15,5 +15,8 @@ |
| 15 | 15 | <script src="node_modules/foca-abm-vehiculo/dist/foca-abm-vehiculo.min.js"></script> |
| 16 | 16 | <script src="node_modules/foca-abm-vehiculo/dist/foca-abm-vehiculo.spec.js"></script> |
| 17 | 17 | |
| 18 | + <!-- foca-abm-chofer --> | |
| 19 | + <script src="node_modules/foca-abm-chofer/dist/foca-abm-chofer.min.js"></script> | |
| 20 | + <script src="node_modules/foca-abm-chofer/dist/foca-abm-chofer.spec.js"></script> | |
| 18 | 21 | </body> |
| 19 | 22 | </html> |