Skip to content

Commit

Permalink
docs(guide/unit-testing): use whitespace to improve readability
Browse files Browse the repository at this point in the history
☆.。.:・゜☆ Merci (◜௰◝) ☆.。.:・゜☆

Closes angular#9572
  • Loading branch information
LegalizeAdulthood authored and caitp committed Oct 13, 2014
1 parent 353de4f commit a708632
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/content/guide/unit-testing.ngdoc
Original file line number Diff line number Diff line change
Expand Up @@ -268,8 +268,8 @@ logic, further simplifying the application logic.

```js
myModule.filter('length', function() {
return function(text){
return (''+(text||'')).length;
return function(text) {
return ('' + (text || '')).length;
}
});

Expand Down

0 comments on commit a708632

Please sign in to comment.