Skip to content

Commit

Permalink
0.4.1 use Mobile-Detect@2.8.4
Browse files Browse the repository at this point in the history
  • Loading branch information
hgoebl committed Oct 12, 2014
1 parent 338c15d commit 896c232
Show file tree
Hide file tree
Showing 8 changed files with 1,606 additions and 790 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
v0.4.1:
date: <not-released-yet>
date: 2014-10-12
changes:
- fix issue #10 (optimization: no need to eval code before it's not required)
- use Mobile-Detect@2.8.4

v0.4.0:
date: 2014-07-15
Expand Down
10 changes: 5 additions & 5 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.3**
Current `master` branch is using detection logic from **Mobile-Detect@2.8.4**

# Live Demo

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

## Size (bytes)

* development: 55137
* minified: 30133
* minified + gzipped: 12700 (`cat mobile-detect.min.js | gzip -9f | wc -c`)
* development: 57276
* minified: 31629
* minified + gzipped: 13371 (`cat mobile-detect.min.js | gzip -9f | wc -c`)

# Installation

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

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

<script src="//cdn.jsdelivr.net/mobile-detect.js/0.4.0/mobile-detect.min.js"></script>
<script src="//cdn.jsdelivr.net/mobile-detect.js/0.4.1/mobile-detect.min.js"></script>

# Alternatives / Infos

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": "0.4.1-SNAPSHOT",
"version": "0.4.1",
"description": "Device detection (phone, tablet, desktop, mobile grade, os, versions)",
"homepage": "http://hgoebl.github.io/mobile-detect.js/",
"keywords": [
Expand Down
100 changes: 62 additions & 38 deletions mobile-detect.js

Large diffs are not rendered by default.

5 changes: 4 additions & 1 deletion mobile-detect.js.iml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,10 @@
<module type="WEB_MODULE" version="4">
<component name="NewModuleRootManager" inherit-compiler-output="true">
<exclude-output />
<content url="file://$MODULE_DIR$" />
<content url="file://$MODULE_DIR$">
<sourceFolder url="file://$MODULE_DIR$/generate" isTestSource="false" />
<sourceFolder url="file://$MODULE_DIR$/tests" isTestSource="true" />
</content>
<orderEntry type="sourceFolder" forTests="false" />
<orderEntry type="library" name="Node.js Dependencies for mobile-detect.js" level="project" />
</component>
Expand Down
4 changes: 2 additions & 2 deletions mobile-detect.min.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "mobile-detect",
"version": "0.4.1-SNAPSHOT",
"version": "0.4.1",
"description": "Device detection (phone, tablet, desktop, mobile grade, os, versions)",
"main": "mobile-detect.js",
"scripts": {
Expand Down Expand Up @@ -41,7 +41,7 @@
"grunt-contrib-copy": "~0.4.1",
"grunt-jsdoc": "~0.4.0",
"grunt-exec": "~0.4.2",
"uglify-js": "1.3.4",
"uglify-js": "~2.4.15",
"jshint": "0.9.1",
"mote": "0.2.0",
"wordwrap": "0.0.2"
Expand Down
Loading

0 comments on commit 896c232

Please sign in to comment.