mirror of
https://github.com/Hopiu/angular.js.git
synced 2026-03-17 07:40:22 +00:00
docs(tutorial/step9): formatted Unicode character line
Add tick and cross mark corresponding to their respective unicodes.
This commit is contained in:
parent
52519d45b9
commit
5f24bb0267
1 changed files with 1 additions and 2 deletions
|
|
@ -37,8 +37,7 @@ angular.module('phonecatFilters', []).filter('checkmark', function() {
|
|||
</pre>
|
||||
|
||||
The name of our filter is "checkmark". The `input` evaluates to either `true` or `false`, and we
|
||||
return one of two unicode characters we have chosen to represent true or false (`\u2713` and
|
||||
`\u2718`).
|
||||
return one of the two unicode characters we have chosen to represent true (`\u2713` -> ✓) or false (`\u2718` -> ✘).
|
||||
|
||||
Now that our filter is ready, we need to register the `phonecatFilters` module as a dependency for
|
||||
our main `phonecat` module.
|
||||
|
|
|
|||
Loading…
Reference in a new issue