Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Commit 6eab8ab

Browse files
LegalizeAdulthoodcaitp
authored andcommitted
docs(guide/unit-testing): use whitespace to improve readability
☆.。.:・゜☆ Merci (◜௰◝) ☆.。.:・゜☆ Closes #9572
1 parent 80ce046 commit 6eab8ab

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/content/guide/unit-testing.ngdoc

+2-2
Original file line numberDiff line numberDiff line change
@@ -268,8 +268,8 @@ logic, further simplifying the application logic.
268268

269269
```js
270270
myModule.filter('length', function() {
271-
return function(text){
272-
return (''+(text||'')).length;
271+
return function(text) {
272+
return ('' + (text || '')).length;
273273
}
274274
});
275275

0 commit comments

Comments
 (0)