Skip to content

Commit

Permalink
Updating README to include MeeGo references. Updating package.json to…
Browse files Browse the repository at this point in the history
… include MeeGo reference in description field.
  • Loading branch information
Matthew Hudson committed Dec 25, 2013
1 parent f1de998 commit b5fdd67
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 4 deletions.
14 changes: 11 additions & 3 deletions README.markdown
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# [DEVICE.JS](http://matthewhudson.me/projects/device.js/)

Device.js makes it easy to write conditional CSS _and/or_ JavaScript based on device operating system (iOS, Android, Blackberry, Windows, Firefox OS), orientation (Portrait vs. Landscape), and type (Tablet vs. Mobile).
Device.js makes it easy to write conditional CSS _and/or_ JavaScript based on device operating system (iOS, Android, Blackberry, Windows, Firefox OS, MeeGo), orientation (Portrait vs. Landscape), and type (Tablet vs. Mobile).

[View the Demo →](http://matthewhudson.me/projects/device.js/)

Expand All @@ -20,15 +20,15 @@ Device.js inserts CSS classes into the `<html>` element.

<img src="http://matthewhudson.me/projects/device.js/screenshots/blackberry.png" />

### DEVICE SUPPORT
### DEVICE SUPPORT

* iOS: iPhone, iPod, iPad
* Android: Phones & Tablets
* Blackberry: Phones & Tablets
* Windows: Phones & Tablets
* Firefox OS: Phones & Tablets

### USAGE
### USAGE

Just include the script. The script then updates the `<html>` section with the [appropriate classes](https://github.com/matthewhudson/device.js#conditional-css) based on the device's characteristics.

Expand Down Expand Up @@ -91,6 +91,10 @@ The following tables map which CSS classes are added based on device and orienta
<td>Firefox OS Tablet</td>
<td>fxos tablet</td>
</tr>
<tr>
<td>MeeGo</td>
<td>meego</td>
</tr>
<tr>
<td>Desktop</td>
<td>desktop</td>
Expand Down Expand Up @@ -197,6 +201,10 @@ Device.js _also_ includes support for conditional JavaScript, allowing you to wr
<td>Firefox OS Tablet</td>
<td>device.fxosTablet()</td>
</tr>
<tr>
<td>MeeGo</td>
<td>device.meego()</td>
</tr>
</table>

#### Orientation JavaScript Methods
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "device.js",
"version": "0.1.58",
"homepage": "https://github.com/matthewhudson/device.js",
"description": "Device.js makes it easy to write conditional CSS and/or JavaScript based on device operating system (iOS, Android, Blackberry, Windows), orientation (Portrait vs. Landscape), and type (Tablet vs. Mobile).",
"description": "Device.js makes it easy to write conditional CSS _and/or_ JavaScript based on device operating system (iOS, Android, Blackberry, Windows, Firefox OS, MeeGo), orientation (Portrait vs. Landscape), and type (Tablet vs. Mobile).",
"author": {
"name": "Matthew Hudson",
"email": "[email protected]"
Expand Down

0 comments on commit b5fdd67

Please sign in to comment.