Skip to content

Commit

Permalink
use Mobile-Detect@2.8.32
Browse files Browse the repository at this point in the history
  • Loading branch information
hgoebl committed Jun 10, 2018
1 parent 8f36215 commit 6440ee7
Show file tree
Hide file tree
Showing 8 changed files with 3,369 additions and 3,172 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
v1.4.2:
date: 2018-06-10
changes:
- use Mobile-Detect@2.8.32

v1.4.1:
date: 2017-12-24
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)](http://jquerymobile.com/gbs/)
* specific versions (e.g. WebKit)

Current `master` branch is using detection logic from **Mobile-Detect@2.8.30**
Current `master` branch is using detection logic from **Mobile-Detect@2.8.32**

# Live Demo

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

## Size (bytes)

* development: 68349
* minified: 38036
* minified + gzipped: 15897 (`cat mobile-detect.min.js | gzip -9f | wc -c`)
* development: 68711
* minified: 38333
* minified + gzipped: 16040 (`cat mobile-detect.min.js | gzip -9f | wc -c`)

# Installation

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

## CDN - [jsDelivr](http://www.jsdelivr.com/#!mobile-detect.js)

<script src="//cdn.jsdelivr.net/npm/mobile-detect@1.4.1/mobile-detect.min.js"></script>
<script src="//cdn.jsdelivr.net/npm/mobile-detect@1.4.2/mobile-detect.min.js"></script>

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

<script src="//cdnjs.cloudflare.com/ajax/libs/mobile-detect/1.4.1/mobile-detect.min.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/mobile-detect/1.4.2/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.1",
"version": "1.4.2",
"description": "Device detection (phone, tablet, desktop, mobile grade, os, versions)",
"homepage": "http://hgoebl.github.io/mobile-detect.js/",
"keywords": [
Expand Down
55 changes: 29 additions & 26 deletions mobile-detect.js

Large diffs are not rendered by default.

11 changes: 0 additions & 11 deletions mobile-detect.js.iml
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,5 @@
<sourceFolder url="file://$MODULE_DIR$/tests" isTestSource="true" />
</content>
<orderEntry type="sourceFolder" forTests="false" />
<orderEntry type="module-library">
<library name="PHP Runtime" type="php">
<CLASSES>
<root url="jar://$APPLICATION_PLUGINS_DIR$/php/lib/php.jar!/stubs/standard" />
</CLASSES>
<JAVADOC />
<SOURCES>
<root url="jar://$APPLICATION_PLUGINS_DIR$/php/lib/php.jar!/stubs/standard" />
</SOURCES>
</library>
</orderEntry>
</component>
</module>
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.1",
"version": "1.4.2",
"description": "Device detection (phone, tablet, desktop, mobile grade, os, versions)",
"main": "mobile-detect.js",
"typings": "mobile-detect",
Expand Down
6,450 changes: 3,325 additions & 3,125 deletions tests/data/user-agents.js

Large diffs are not rendered by default.

0 comments on commit 6440ee7

Please sign in to comment.