diff --git a/doc/api/core/operators/share.md b/doc/api/core/operators/share.md index dd7e38fcc..228f4fd00 100644 --- a/doc/api/core/operators/share.md +++ b/doc/api/core/operators/share.md @@ -52,10 +52,9 @@ var interval = Rx.Observable.interval(1000); var source = interval .take(2) - .do( - function (x) { - console.log('Side effect'); - }); + .do(function (x) { + console.log('Side effect'); + }); var published = source.share();