Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit ee492a7

Browse files
vsemozhetbytljharb
authored andcommitted
[guide] comment out ellipses
1 parent 41fa95e commit ee492a7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,7 @@ Other Style Guides
289289
const has = Object.prototype.hasOwnProperty; // cache the lookup once, in module scope.
290290
/* or */
291291
import has from 'has';
292-
292+
// ...
293293
console.log(has.call(object, key));
294294
```
295295

@@ -2915,7 +2915,7 @@ Other Style Guides
29152915
// bad
29162916
$(this).trigger('listingUpdated', listing.id);
29172917

2918-
...
2918+
// ...
29192919

29202920
$(this).on('listingUpdated', (e, listingId) => {
29212921
// do something with listingId
@@ -2928,7 +2928,7 @@ Other Style Guides
29282928
// good
29292929
$(this).trigger('listingUpdated', { listingId: listing.id });
29302930

2931-
...
2931+
// ...
29322932

29332933
$(this).on('listingUpdated', (e, data) => {
29342934
// do something with data.listingId

0 commit comments

Comments
 (0)