From 3107d8730cd89cc15e5757d6be7b742c8b847378 Mon Sep 17 00:00:00 2001
From: --global <--global>
Date: Mon, 11 Feb 2019 15:54:15 -0300
Subject: [PATCH] agrego unit-test de abm chofer, pre commit
---
src/js/app.js | 1 -
src/js/controller.js | 4 ++--
unit-test.html | 3 +++
3 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/src/js/app.js b/src/js/app.js
index 73211ad..f586953 100644
--- a/src/js/app.js
+++ b/src/js/app.js
@@ -14,7 +14,6 @@ angular.module('appWrapperDemo', [
// MODULOS FOCA
'focaAbmPreciosCondiciones',
- 'focaAbmSectores',
'focaAbmVehiculo',
'focaAbmChofer',
'focaAbmVendedorCobrador',
diff --git a/src/js/controller.js b/src/js/controller.js
index 49e78e8..0c72727 100644
--- a/src/js/controller.js
+++ b/src/js/controller.js
@@ -19,7 +19,7 @@ angular.module('appWrapperDemo')
$rootScope.$broadcast('usarTeclado', true);
};
- $rootScope.$on('focus', function(event) {
+ $rootScope.$on('focus', function() {
if(!$scope.usarTeclado) {
return;
}
@@ -29,7 +29,7 @@ angular.module('appWrapperDemo')
$scope.$apply();
}
});
- $rootScope.$on('blur', function(event) {
+ $rootScope.$on('blur', function() {
$scope.timeout = $timeout(function() {
$scope.mostrarTeclado = false;
if(!$scope.$$phase) {
diff --git a/unit-test.html b/unit-test.html
index baab6e2..732afcf 100644
--- a/unit-test.html
+++ b/unit-test.html
@@ -15,5 +15,8 @@
+
+
+