Commit 322b0c9d115d7e58f0c12f073fb726c5514d8051
1 parent
0e58f4f08f
Exists in
master
ok default value
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
src/js/app.js
... | ... | @@ -6,7 +6,7 @@ angular.module('focaFiltros', []) |
6 | 6 | }; |
7 | 7 | }) |
8 | 8 | .filter('rellenarDigitos', function() { |
9 | - return function(valor, cantidad, caracter) { | |
9 | + return function(valor, cantidad, caracter = 0) { | |
10 | 10 | var ceros = ''; |
11 | 11 | for (var i = 0; i < cantidad; i++) { |
12 | 12 | ceros += caracter; |