Skip to content

Commit

Permalink
chore(platform): fix typos in comments (angular#4415)
Browse files Browse the repository at this point in the history
  • Loading branch information
devversion authored and kara committed May 11, 2017
1 parent 1caa63e commit f15619c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/lib/core/platform/platform.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@ export class Platform {
EDGE = /(edge)/i.test(navigator.userAgent);
TRIDENT = /(msie|trident)/i.test(navigator.userAgent);

// EdgeHTML and Trident mock Blink specific things and need to excluded from this check.
// EdgeHTML and Trident mock Blink specific things and need to be excluded from this check.
BLINK = !!(window.chrome || hasV8BreakIterator) && !!CSS && !this.EDGE && !this.TRIDENT;

// Webkit is part of the userAgent in EdgeHTML Blink and Trident, so we need to
// ensure that Webkit runs standalone and is not use as another engines base.
// Webkit is part of the userAgent in EdgeHTML, Blink and Trident. Therefore we need to
// ensure that Webkit runs standalone and is not used as another engine's base.
WEBKIT = /AppleWebKit/i.test(navigator.userAgent) && !this.BLINK && !this.EDGE && !this.TRIDENT;

/** Browsers and Platform Types */
Expand Down

0 comments on commit f15619c

Please sign in to comment.