diff --git a/aio/content/guide/comparing-observables.md b/aio/content/guide/comparing-observables.md index 9cb663cd56..5e7b9b0ca4 100644 --- a/aio/content/guide/comparing-observables.md +++ b/aio/content/guide/comparing-observables.md @@ -89,11 +89,11 @@ promise.then(() => { The following code snippets illustrate how the same kind of operation is defined using observables and promises. - - - - + + + + +
- OperationObservablePromise
OperationObservablePromise
Creation @@ -141,10 +141,11 @@ Using observables to handle events and asynchronous operations can have the adva Here are some code samples that illustrate how the same kind of operation is defined using observables and the events API. - - - + + + + +
- ObservableEvents API
ObservableEvents API
Creation & cancellation @@ -203,10 +204,11 @@ button.removeEventListener(‘click’, handler); An observable produces values over time. An array is created as a static set of values. In a sense, observables are asynchronous where arrays are synchronous. In the following examples, ➞ implies asynchronous value delivery. - - - + + + + +
- ObservableArray
ObservableArray
Given