arielsalminen / feature.js

Feature.js is a fast, simple and lightweight browser feature detection library in 1kb.
https://featurejs.com/
3.17k stars 115 forks source link

Be more pessimistic about the presence of window.navigator #63

Closed meowsus closed 5 years ago

meowsus commented 5 years ago

By defining defaulting to an empty object in case of the lack of presence of the window.navigator object we can simplify some tests and make them less error prone.

Closes #9

arielsalminen commented 5 years ago

Will be merging this in for the 1.1.0 release.