We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 41fa95e commit ee492a7Copy full SHA for ee492a7
1 file changed
README.md
@@ -289,7 +289,7 @@ Other Style Guides
289
const has = Object.prototype.hasOwnProperty; // cache the lookup once, in module scope.
290
/* or */
291
import has from 'has';
292
- …
+ // ...
293
console.log(has.call(object, key));
294
```
295
@@ -2915,7 +2915,7 @@ Other Style Guides
2915
// bad
2916
$(this).trigger('listingUpdated', listing.id);
2917
2918
- ...
2919
2920
$(this).on('listingUpdated', (e, listingId) => {
2921
// do something with listingId
@@ -2928,7 +2928,7 @@ Other Style Guides
2928
// good
2929
$(this).trigger('listingUpdated', { listingId: listing.id });
2930
2931
2932
2933
$(this).on('listingUpdated', (e, data) => {
2934
// do something with data.listingId
0 commit comments