Skip to content

Commit

Permalink
#74 fixed + breaking changes (ua-device-detector dependency)
Browse files Browse the repository at this point in the history
  • Loading branch information
srfrnk committed Dec 1, 2017
1 parent 41be1ba commit 31e923c
Show file tree
Hide file tree
Showing 10 changed files with 4,765 additions and 735 deletions.
12 changes: 5 additions & 7 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,10 @@
{
"type": "node",
"request": "launch",
"name": "Launch via NPM",
"runtimeExecutable": "npm",
"runtimeArgs": [
"test"
],
"port": 5858
}
"name": "Gulp test-server",
"program": "${workspaceRoot}/node_modules/gulp/bin/gulp.js",
"args": ["test"],
"outputCapture": "std"
}
]
}
2 changes: 2 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
{
}
5 changes: 3 additions & 2 deletions bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ng-device-detector",
"version": "4.0.4",
"version": "5.0.1",
"homepage": "https://github.com/srfrnk/ng-device-detector",
"authors": [
"srfrnk <[email protected]>"
Expand All @@ -24,6 +24,7 @@
"tests"
],
"dependencies": {
"re-tree": "^0.0.2"
"re-tree": "^0.0.2",
"ua-device-detector": "^1.0.1"
}
}
7 changes: 6 additions & 1 deletion changelog.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,13 @@
#Version 1.1.7
# Version 1.1.7
* device id "firefoxos" was changed to "firefox-os"
* os id "firefoxos" was changed to "firefox-os"

# Version 3.0.1
* Breaking changes
* Removed OS and BROWSER for device types.
* Should now detect those by using the 'device' property

# Version 5.0.1
* Breaking changes:
* ua-device-detector script must now be loaded before ng-device-detector script. Consult [README](readme.md) for more details.

1 change: 1 addition & 0 deletions karma.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ module.exports = function (config) {
'node_modules/angular/angular.js',
'node_modules/angular-mocks/angular-mocks.js',
'node_modules/re-tree/re-tree.js',
'node_modules/ua-device-detector/ua-device-detector.js',
'ng-device-detector.js',
'test/*.js'
],
Expand Down
Loading

0 comments on commit 31e923c

Please sign in to comment.