Skip to content

Add support for 'is.firefox' #32#38

Open
onaralili wants to merge 1 commit into
joeltankam:masterfrom
onaralili:master
Open

Add support for 'is.firefox' #32#38
onaralili wants to merge 1 commit into
joeltankam:masterfrom
onaralili:master

Conversation

@onaralili
Copy link
Copy Markdown

No description provided.

Comment thread src/is/types.js
return value != null && typeof value === 'object' && 'setInterval' in value;
}

/**
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should not be done here, but rather environment.js as mentioned in the issue.

Comment thread src/is/types.js
* Returns whether the current browser is Firefox
*/
export function isFirefox() {
return typeof InstallTrigger !== 'undefined';
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Use isUndefined from types.js

@joeltankam
Copy link
Copy Markdown
Owner

Please apply the requested changes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants