Skip to content

Commit 615dc76

Browse files
committed
[whitespace] remove dots, they look bad
1 parent 369fdb8 commit 615dc76

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -786,7 +786,7 @@
786786
}
787787
788788
// good
789-
function test(){
789+
function test() {
790790
console.log('test');
791791
}
792792
@@ -797,7 +797,7 @@
797797
});
798798
799799
// good
800-
dog.set('attr',{
800+
dog.set('attr', {
801801
age: '1 year',
802802
breed: 'Bernese Mountain Dog'
803803
});
@@ -808,7 +808,7 @@
808808
```javascript
809809
// bad
810810
if(isJedi) {
811-
fight();
811+
fight ();
812812
}
813813

814814
// good
@@ -817,7 +817,7 @@
817817
}
818818

819819
// bad
820-
function fight() {
820+
function fight () {
821821
console.log ('Swooosh!');
822822
}
823823

@@ -834,7 +834,7 @@
834834
var x=y+5;
835835

836836
// good
837-
var x=∙y∙+5;
837+
var x = y + 5;
838838
```
839839
840840
- End files with a single newline character.

0 commit comments

Comments
 (0)