1
0
mirror of https://github.com/lancedikson/bowser synced 2024-10-27 20:34:22 +00:00
Commit Graph

151 Commits

Author SHA1 Message Date
Denis Demchenko
24d1ce5e2c Revert "Merge pull request #382 from DarkPurple141/types-update"
This reverts commit 406e39d2fe, reversing
changes made to d238da4906.
2019-12-26 23:26:36 +02:00
Alex Hinds
8fbbc33d87 Amended re-export to also import 2019-12-20 08:50:05 +11:00
Alex Hinds
9c3fc30c81 fix: update types to include constants 2019-12-19 17:05:56 +11:00
Denis Demchenko
1515ecaa22 fix(bowser): remove custom error due to the bug (#335) 2019-07-17 13:47:55 +03:00
Denis Demchenko
dcadd16ed7 docs(bowser): improve some JSDocs and Error class 2019-07-16 22:19:07 +03:00
Denis Demchenko
41b66d5450 refactor(bowser): replace static properties with getters 2019-07-16 22:00:28 +03:00
王涛
fbc32e6736 Add constant output so that users can quickly get all types 2019-05-20 15:33:10 +08:00
Nick Tipping
bf067ec992 Add file extensions to imports
Add ES6 style export to utils and change related utils imports
Update eslint rule for import extensions
2019-02-14 16:06:14 +00:00
Arve Knudsen
316399d6e9 Improve documentation language, fix an example 2018-10-19 19:32:59 +02:00
Denis Demchenko
2b6a63d088 Fix code style problem 2018-08-02 21:26:47 +03:00
Denis Demchenko
c79b71736e Fix tests after changes 2018-07-05 22:58:14 +03:00
Denis Demchenko
1f572ed8f4 Add a bit of docs 2018-07-05 22:44:43 +03:00
Denis Demchenko
0c1564f1cd Fix comments for Bowser class 2018-07-04 22:39:46 +03:00
Denis Demchenko
3530ca1c70 Fix nyc misconfiguration 2018-06-30 19:21:09 +03:00
Denis Demchenko
0ea3fe16a4 Add coveralls integration
fixes #225
2018-06-30 17:35:12 +03:00
Denis Demchenko
e7e6abff8b Fix Bowser constructor, add some tests 2018-06-30 17:25:47 +03:00
Denis Demchenko
45ac881a5e Fix credits 2018-06-27 23:04:46 +03:00
Denis Demchenko
6f3b13f9fd Replace the main bowser file 2018-06-27 22:52:43 +03:00
rkurbatov
b066f9bdeb adds MacOS support 2017-05-18 00:41:09 +03:00
rkurbatov
98538362b3 adds windows version detection 2017-05-18 00:28:51 +03:00
Dmitri Voronianski
29bb872ab2 fix global exports 2016-11-29 15:22:28 +01:00
Denis Demchenko
8b92707e7b Throw an error when minVersion map has not a string as a browser version
fixes #165
2016-10-31 11:07:53 +02:00
Benoit de La Forest
9f31efa62f Fix WindowsPhone flagged as iOS
Related to !168
2016-10-28 13:03:07 +02:00
Benoit de La Forest
e44ca1de6e fix windowsphone flagged as android
Closes #167
2016-10-27 17:52:03 +02:00
Denis Demchenko
27c7f5b294 Fix mobile Opera's version detection
refers to #158
2016-09-19 22:58:37 +03:00
Denis Demchenko
21b9e617a1 Merge branch 'eb_samsungBrowser' of https://github.com/eriben/bowser into eriben-eb_samsungBrowser 2016-08-30 00:17:37 +03:00
Erik Bengtsson
b9d0ed6fd8 Added support for Samsung Internet for Android 2016-08-27 12:22:38 -04:00
devel-pa
c7778c550e Act safe in case navigator doesn't have a userAgent. 2016-08-24 18:30:09 +02:00
Chris
1c042f96aa Fix #150 2016-08-08 10:37:02 -04:00
Maksim Ryzhikov
2de21e77f0 fix: Error Object doesn't support this property or method fixes #147 2016-07-26 18:16:33 +03:00
Denis Demchenko
e3be8145dc fix strictMode 2016-07-07 18:18:48 +03:00
Denis Demchenko
1729a5971b fix jsdoc declaration 2016-07-07 18:17:49 +03:00
Denis Demchenko
3f90c80425 fix code styleguide: 4 spaces → 2 spaces 2016-07-07 18:03:29 +03:00
Denis Demchenko
a28903bd29 fix strictMode for isUnsupportedBrowser 2016-07-07 18:02:18 +03:00
Nir Rattner
65dfb0918c Fix strict mode logic 2016-07-06 17:01:02 -04:00
Denis Demchenko
5bf468659a fix type detection of chromium browsers
fix #142
2016-06-30 21:13:02 +03:00
Denis Demchenko
b84c5c09fb fix mistype 2016-06-28 11:16:11 +03:00
Alexander Lukin
134aeede53 add support for optional ua parameter 2016-06-16 16:01:45 +03:00
Alexander Lukin
c30f6d41d9 fix isUnsupportedBrowser documentation 2016-06-16 13:49:18 +03:00
Alexander Lukin
43ac868d84 export bowser.check 2016-06-16 13:45:24 +03:00
Alexander Lukin
ec7531e8cb remove @see jsbin comment 2016-06-16 13:43:48 +03:00
Alexander Lukin
24b91a4dab fix comments 2016-06-16 13:41:21 +03:00
Alexander Lukin
c77cf0ae1b refactoring: use map instead of direct Array::map 2016-06-16 13:39:05 +03:00
Alexander Lukin
b51a35e006 add Array::map polyfill to compatible with es4 2016-06-16 13:38:25 +03:00
Alexander Lukin
c9eed902e3 add check method 2016-06-16 13:07:46 +03:00
Alexander Lukin
57a45d1dee fix comments 2016-06-16 13:07:46 +03:00
kerbyfc
6715bb2b08 Implement isUnsupportedBrowser method
See http://jsbin.com/vohahaciku/1/edit?js,console
2016-06-16 13:07:35 +03:00
Denis Demchenko
e817fd67a7 add SlimerJS support
close #141
2016-05-19 00:57:34 +03:00
Denis Demchenko
6749f62528 add Chromium detecting
related to #94
2016-05-10 23:25:56 +03:00
Denis Demchenko
542277ceb7 add Xbox detection
#fix 139
2016-05-09 10:40:47 +03:00