Skip to content

Commit

Permalink
Merge branch 'v2' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
lancedikson committed Jul 9, 2018
2 parents 041fe77 + b9db96b commit 72c5fd6
Show file tree
Hide file tree
Showing 46 changed files with 32,790 additions and 2,731 deletions.
20 changes: 20 additions & 0 deletions .babelrc
@@ -0,0 +1,20 @@
{
"presets": [["env", {
"useBuiltIns": true,
"modules": "umd",
"targets": {
"ie": "8",
"browsers": ">2%"
},
"debug": true
}]],
"plugins": [
"add-module-exports"
],
"env": {
"test": {
"plugins": [ "istanbul" ],
"presets": [["env", { "targets": { "node": "current" } }]]
}
}
}
1 change: 1 addition & 0 deletions .coveralls.yml
@@ -0,0 +1 @@
repo_token: Ba2bS7pOlSLZWuESBnff8qxDjIS8Mg1Z0
1 change: 1 addition & 0 deletions .eslintignore
@@ -0,0 +1 @@
src/bowser.js
6 changes: 6 additions & 0 deletions .eslintrc.yml
@@ -0,0 +1,6 @@
extends: airbnb-base
rules:
no-underscore-dangle: 0
no-void: 0
plugins:
- ava
4 changes: 4 additions & 0 deletions .gitignore
Expand Up @@ -2,3 +2,7 @@ node_modules/
.idea/
/bowser.js
/bowser.min.js
/lib/
.nyc_output
coverage
dist
2 changes: 2 additions & 0 deletions .npmignore
@@ -1,3 +1,5 @@
make
src/useragents.js
Makefile
.nyc_output
coverage
4 changes: 4 additions & 0 deletions .nycrc
@@ -0,0 +1,4 @@
{
"sourceMap": false,
"instrument": false
}
14 changes: 14 additions & 0 deletions .testem.json
@@ -0,0 +1,14 @@
{
"framework": "custom",
"src_files": [
"src/**/*.js",
"test/**/*.js"
],
"launchers": {
"tap": {
"command": "ava test/**/*.js --tap",
"protocol": "tap"
}
},
"launch_in_dev": [ "tap" ]
}
8 changes: 2 additions & 6 deletions .travis.yml
@@ -1,8 +1,4 @@
language: node_js
after_success: npm run coverage
node_js:
- "4.4.7"
notifications:
email:
- dustin@dustindiaz.com

script: NODE_ENV=test ./node_modules/.bin/mocha --reporter spec
- "8.4.0"
6 changes: 6 additions & 0 deletions CHANGELOG.md
@@ -1,5 +1,11 @@
# Bowser Changelog

### Upcoming 2.0.0
- [ADD] `Bowser.getParser()`
- [ADD] `Bowser.parse`
- [ADD] `Parser` class which describes parsing process
- [CHANGE] Change bowser's returning object

### 1.9.4 (June 28, 2018)
- [FIX] Fix NAVER Whale browser detection (#220)
- [FIX] Fix MZ Browser browser detection (#219)
Expand Down
4 changes: 2 additions & 2 deletions ISSUE_TEMPLATE.md
@@ -1,5 +1,5 @@
Template to report about browser detection issue

`window.navigator.userAgent` of the browser is: ...
And it's detected like a ...
But real name of the browser is ...
And it's detected like ...
However, the real name of the browser is ...
16 changes: 0 additions & 16 deletions Makefile

This file was deleted.

0 comments on commit 72c5fd6

Please sign in to comment.