From ee492a73baeb66f226a2bcbc61317035243d2da3 Mon Sep 17 00:00:00 2001 From: Vse Mozhet Byt Date: Wed, 18 Jan 2017 07:06:04 +0200 Subject: [PATCH] [guide] comment out ellipses --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index ec1044a8..a448e91b 100644 --- a/README.md +++ b/README.md @@ -289,7 +289,7 @@ Other Style Guides const has = Object.prototype.hasOwnProperty; // cache the lookup once, in module scope. /* or */ import has from 'has'; - … + // ... console.log(has.call(object, key)); ``` @@ -2915,7 +2915,7 @@ Other Style Guides // bad $(this).trigger('listingUpdated', listing.id); - ... + // ... $(this).on('listingUpdated', (e, listingId) => { // do something with listingId @@ -2928,7 +2928,7 @@ Other Style Guides // good $(this).trigger('listingUpdated', { listingId: listing.id }); - ... + // ... $(this).on('listingUpdated', (e, data) => { // do something with data.listingId