Permalink
Browse files

Updating README to include MeeGo references. Updating package.json to…

… include MeeGo reference in description field.
  • Loading branch information...
1 parent f1de998 commit b5fdd672d156a4f4f2f725c747a2d7f90d010a93 @matthewhudson committed Dec 25, 2013
Showing with 12 additions and 4 deletions.
  1. +11 −3 README.markdown
  2. +1 −1 package.json
View
@@ -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/)
@@ -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.
@@ -92,6 +92,10 @@ The following tables map which CSS classes are added based on device and orienta
<td>fxos tablet</td>
</tr>
<tr>
+ <td>MeeGo</td>
+ <td>meego</td>
+ </tr>
+ <tr>
<td>Desktop</td>
<td>desktop</td>
</tr>
@@ -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
View
@@ -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": "matthud@gmail.com"

0 comments on commit b5fdd67

Please sign in to comment.