[go: nahoru, domu]

Skip to content

Commit

Permalink
fix dots
Browse files Browse the repository at this point in the history
  • Loading branch information
creaworlds committed May 1, 2014
1 parent 1f93fa5 commit 6683f4b
Showing 1 changed file with 11 additions and 9 deletions.
20 changes: 11 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Dependencies
* jQuery 1.9 or higher

Usage
---------
--------
``` js
function ConfigureDOM() {
// Detects if current browser is insides of mobile device.
Expand All @@ -24,16 +24,16 @@ function ConfigureDOM() {
$(document).ready(ConfigureDOM);
```
- **$.device** is the jDevice plugin and contains all methods descibed below:
- **$.device.isIPad()** returns **true** if device is an **iPad**
- **$.device.isIPhone()** returns **true** if device is an **iPhone**
- **$.device.isIPod()** returns **true** if device is an **iPod**
- **$.device.isIOSDevice()** returns **true** if device is an **iOS Device**
- **$.device.isAndroid()** returns **true** if device is an **iOS Device**
- **$.device.isBlackBerry()** returns **true** if device is a **BlackBerry**
- **$.device.isIPad()** returns **true** if device is an **iPad**.
- **$.device.isIPhone()** returns **true** if device is an **iPhone**.
- **$.device.isIPod()** returns **true** if device is an **iPod**.
- **$.device.isIOSDevice()** returns **true** if device is an **iOS Device**.
- **$.device.isAndroid()** returns **true** if device is an **iOS Device**.
- **$.device.isBlackBerry()** returns **true** if device is a **BlackBerry**.
- **$.device.isWebOS()** returns **true** if device is a **WebOS** device.

Examples
---------
--------
```
$(document).ready(function(){ if ($.device.isMobile()) { //TODO } });
$(document).ready(function(){ if ($.device.isIPad()) { //TODO } });
Expand All @@ -44,7 +44,9 @@ $(document).ready(function(){ if ($.device.isAndroid()) { //TODO } });
$(document).ready(function(){ if ($.device.isBlackBerry()) { //TODO } });
$(document).ready(function(){ if ($.device.isWebOS()) { //TODO } });
```


Contibution and Bug Report
--------
Please feel free if you want to contribute.

Use the [GitHub issue tracker](https://github.com/JimBobSquarePants/jQuery-Google-Analytics-Plugin/issues) for bug
Expand Down

0 comments on commit 6683f4b

Please sign in to comment.