Skip to content

Commit

Permalink
use Mobile-Detect@2.8.37
Browse files Browse the repository at this point in the history
  • Loading branch information
hgoebl committed Mar 13, 2021
1 parent bdf68bf commit 8246af4
Show file tree
Hide file tree
Showing 7 changed files with 2,278 additions and 1,766 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
v1.4.5:
date: 2021-03-13
changes:
- use Mobile-Detect@2.8.37

v1.4.4:
date: 2019-09-21
changes:
Expand Down
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ You can find out information about the device rendering your web page:
* [Mobile Grade (A, B, C)](https://jquerymobile.com/browser-support/) **REMARK: this is completely outdated: all current devices will return an 'A', so it's useless nowadays**
* specific versions (e.g. WebKit)

Current `master` branch is using detection logic from **Mobile-Detect@2.8.34**
Current `master` branch is using detection logic from **Mobile-Detect@2.8.37**

# Live Demo

Expand Down Expand Up @@ -101,9 +101,9 @@ You can easily extend it, e.g. `android`, `iphone`, etc.

## Size (bytes)

* development: 69361
* minified: 38942
* minified + gzipped: 16288 (`cat mobile-detect.min.js | gzip -9f | wc -c`)
* development: 70168
* minified: 39585
* minified + gzipped: 16556 (`cat mobile-detect.min.js | gzip -9f | wc -c`)

# Installation

Expand All @@ -119,11 +119,11 @@ You can easily extend it, e.g. `android`, `iphone`, etc.

[![](https://data.jsdelivr.com/v1/package/npm/mobile-detect/badge)](https://www.jsdelivr.com/package/npm/mobile-detect)

<script src="https://cdn.jsdelivr.net/npm/mobile-detect@1.4.4/mobile-detect.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/mobile-detect@1.4.5/mobile-detect.min.js"></script>

## cdnjs - [cdnjs.com](https://cdnjs.com/libraries/mobile-detect)

<script src="https://cdnjs.cloudflare.com/ajax/libs/mobile-detect/1.4.4/mobile-detect.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/mobile-detect/1.4.5/mobile-detect.min.js"></script>

# Extending/Modifying Behaviour

Expand Down
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "mobile-detect",
"version": "1.4.4",
"version": "1.4.5",
"description": "Device detection (phone, tablet, desktop, mobile grade, os, versions)",
"homepage": "http://hgoebl.github.io/mobile-detect.js/",
"keywords": [
Expand Down
51 changes: 29 additions & 22 deletions mobile-detect.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions mobile-detect.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "mobile-detect",
"version": "1.4.4",
"version": "1.4.5",
"description": "Device detection (phone, tablet, desktop, mobile grade, os, versions)",
"main": "mobile-detect.js",
"typings": "mobile-detect",
Expand Down
Loading

0 comments on commit 8246af4

Please sign in to comment.