diff options
Diffstat (limited to 'src/Formatters.js')
| -rw-r--r-- | src/Formatters.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Formatters.js b/src/Formatters.js index 74126feb..661dd701 100644 --- a/src/Formatters.js +++ b/src/Formatters.js @@ -8,7 +8,7 @@ extend(angularFormatter, { 'list':formater( function(obj) { return obj ? obj.join(", ") : obj; }, function(value) { - return value ? _(_(value.split(',')).map(jQuery.trim)).select(_.identity) : value; + return value ? _(_(value.split(',')).map(jQuery.trim)).select(_.identity) : []; } ) }); |
