From ed006ac7c8573f0731e898253ea6114d16efd16f Mon Sep 17 00:00:00 2001 From: Daniel Date: Thu, 28 May 2015 14:31:54 +0200 Subject: [PATCH] Change in number $filter doc I think this is not correct because since 1.3.0-RC.0 sonic-boltification this change: https://github.com/angular/angular.js/commit/2ae10f67fcde3e172f695956301ef796b68a50c2 and null and undefined are passing through --- src/ng/filter/filters.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ng/filter/filters.js b/src/ng/filter/filters.js index fe49719ffa82..52845d042185 100644 --- a/src/ng/filter/filters.js +++ b/src/ng/filter/filters.js @@ -80,7 +80,7 @@ function currencyFilter($locale) { * @description * Formats a number as text. * - * If the input is not a number an empty string is returned. + * If the input is not a number an empty string is returned but null or undefined, these values will be passed through. * * If the input is an infinite (Infinity/-Infinity) the Infinity symbol '∞' is returned. *