From 5f52ac601cd861eac31d7e19b1c3a4103211d02d Mon Sep 17 00:00:00 2001 From: StoyanDimitrov Date: Mon, 7 Sep 2015 15:59:26 +0300 Subject: [PATCH 1/2] Enhance custom filter function sintax --- source/api/filters.md | 1 + 1 file changed, 1 insertion(+) diff --git a/source/api/filters.md b/source/api/filters.md index 235865d980..849f7a6ebc 100644 --- a/source/api/filters.md +++ b/source/api/filters.md @@ -139,6 +139,7 @@ Or, just pass in a custom filter function: ``` html
``` +Where [myCustomFilterFunction] is regular [vm] method accepting three arguments [user], [index] and [users] from the example above. ### orderBy From 7e4a107b9d138297c7e260e8c24069792cf4cc31 Mon Sep 17 00:00:00 2001 From: StoyanDimitrov Date: Tue, 8 Sep 2015 10:36:45 +0300 Subject: [PATCH 2/2] Markup change Square brackets changed to backticks to match the document style --- source/api/filters.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/api/filters.md b/source/api/filters.md index 849f7a6ebc..8799002c23 100644 --- a/source/api/filters.md +++ b/source/api/filters.md @@ -139,7 +139,7 @@ Or, just pass in a custom filter function: ``` html
``` -Where [myCustomFilterFunction] is regular [vm] method accepting three arguments [user], [index] and [users] from the example above. +Where `myCustomFilterFunction` is regular `vm` method accepting three arguments `user`, `index` and `users` from the example above. ### orderBy