mirror of
https://github.com/lancedikson/bowser
synced 2024-10-27 20:34:22 +00:00
Merge branch 'release/1.4.1' into develop
This commit is contained in:
commit
f12249c62d
@ -1,5 +1,8 @@
|
|||||||
# Bowser Changelog
|
# Bowser Changelog
|
||||||
|
|
||||||
|
### 1.4.1 (July 7, 2016)
|
||||||
|
|
||||||
|
- [FIX] Fix `strictMode` logic for `isUnsupportedBrowser`
|
||||||
|
|
||||||
### 1.4.0 (June 28, 2016)
|
### 1.4.0 (June 28, 2016)
|
||||||
|
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
"sniff",
|
"sniff",
|
||||||
"detection"
|
"detection"
|
||||||
],
|
],
|
||||||
"version": "1.3.0",
|
"version": "1.4.1",
|
||||||
"homepage": "https://github.com/ded/bowser",
|
"homepage": "https://github.com/ded/bowser",
|
||||||
"scripts": [
|
"scripts": [
|
||||||
"src/bowser.js"
|
"src/bowser.js"
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
"sniff",
|
"sniff",
|
||||||
"detection"
|
"detection"
|
||||||
],
|
],
|
||||||
"version": "1.4.0",
|
"version": "1.4.1",
|
||||||
"homepage": "https://github.com/ded/bowser",
|
"homepage": "https://github.com/ded/bowser",
|
||||||
"author": "Dustin Diaz <dustin@dustindiaz.com> (http://dustindiaz.com)",
|
"author": "Dustin Diaz <dustin@dustindiaz.com> (http://dustindiaz.com)",
|
||||||
"main": "./src/bowser.js",
|
"main": "./src/bowser.js",
|
||||||
|
@ -529,9 +529,7 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (strictMode) {
|
return strictMode; // not found
|
||||||
return false; // not found
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -539,6 +537,7 @@
|
|||||||
*
|
*
|
||||||
* @param {Object} minVersions map of minimal version to browser
|
* @param {Object} minVersions map of minimal version to browser
|
||||||
* @param {Boolean} [strictMode = false] flag to return false if browser wasn't found in map
|
* @param {Boolean} [strictMode = false] flag to return false if browser wasn't found in map
|
||||||
|
* @param {String} [ua] user agent string
|
||||||
* @return {Boolean}
|
* @return {Boolean}
|
||||||
*/
|
*/
|
||||||
function check(minVersions, strictMode, ua) {
|
function check(minVersions, strictMode, ua) {
|
||||||
|
Loading…
Reference in New Issue
Block a user