Skip to content

Commit

Permalink
Update packages/@ember/-internals/browser-environment/index.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
chancancode authored Jun 21, 2022
1 parent 92c041b commit 4e9408e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/@ember/-internals/browser-environment/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export const location = hasDom ? self.location : null;
export const history = hasDom ? self.history : null;
export const userAgent = hasDom ? self.navigator.userAgent : 'Lynx (textmode)';
export const isChrome = hasDom ? typeof chrome === 'object' && !(typeof opera === 'object') : false;
export const isFirefox = hasDom ? /firefox|fxios/i.test(userAgent) : false;
export const isFirefox = hasDom ? /Firefox|FxiOS/.test(userAgent) : false;
export const isIE = hasDom
? typeof MSInputMethodContext !== 'undefined' && typeof documentMode !== 'undefined'
: false;

0 comments on commit 4e9408e

Please sign in to comment.