Skip to content
This repository was archived by the owner on Jan 6, 2025. It is now read-only.

Commit 2c11fd7

Browse files
null-referenceCaerusKaru
authored andcommitted
docs: fix minor grammer and use single-quotes in examples (#883)
Update "essential" to "essentially" and replace double-quotes with single-quotes in code examples to remain consistent
1 parent 3cd5bc1 commit 2c11fd7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/documentation/ObservableMedia.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
The injectable **ObservableMedia** service will provide mediaQuery **activations** notifications for all
22
[registered BreakPoints](https://github.com/angular/flex-layout/wiki/Custom-Breakpoints).
33

4-
This service is essential an Observable that exposes both features to subscribe to mediaQuery
4+
This service is essentially an Observable that exposes both features to subscribe to mediaQuery
55
changes and a validator method `.isActive()` to test if a mediaQuery (or alias) is
66
currently active.
77

@@ -45,7 +45,7 @@ import {MediaChange, ObservableMedia} from '@angular/flex-layout';
4545
})
4646
export class MyDemo implements OnDestroy {
4747
watcher: Subscription;
48-
activeMediaQuery = "";
48+
activeMediaQuery = '';
4949

5050
constructor(media: ObservableMedia) {
5151
this.watcher = media.subscribe((change: MediaChange) => {
@@ -94,7 +94,7 @@ import {Component} from '@angular/core';
9494
import {Subscription} from 'rxjs/Subscription';
9595
import {filter} from 'rxjs/operators/filter';
9696

97-
import {MediaChange, ObservableMedia} from "@angular/flex-layout";
97+
import {MediaChange, ObservableMedia} from '@angular/flex-layout';
9898

9999
@Component({
100100
selector : 'responsive-component'

0 commit comments

Comments
 (0)