Skip to content
Browse files

number_formatting.md and indexes.md consistency

  • Loading branch information...
1 parent e741dbc commit 79020b44ce7e0309ee853928c616b002a850c6cd @groue committed
Showing with 4 additions and 4 deletions.
  1. +4 −4 Guides/sample_code/number_formatting.md
View
8 Guides/sample_code/number_formatting.md
@@ -17,7 +17,7 @@ Mustache is a simple template language. This is why there are so many [other Mus
If your goal is to design your templates so that they are compatible with those, the best way to format numbers is to have your data objects provide those formatted numbers.
-### 1st technique: NSDictionary
+### 1st genuine Mustache technique: NSDictionary
Let's render the simple template:
@@ -49,7 +49,7 @@ NSDictionary *dictionary = [NSDictionary dictionaryWithObjectsAndKeys:
NSString *rendering = [template renderObject:dictionary];
```
-### 2nd technique: GRMustache-targetted properties
+### 2nd genuine Mustache technique: specific properties
Often, data comes from your model objects, not from a hand-crafted NSDictionary.
@@ -91,8 +91,8 @@ model.value = 0.5;
NSString *rendering = [template renderObject:model];
```
-GRMustache filters
-------------------
+GRMustache solution: filters
+----------------------------
**[Download the code](../../../../tree/master/Guides/sample_code/number_formatting)**

0 comments on commit 79020b4

Please sign in to comment.
Something went wrong with that request. Please try again.