Browse files

Fixes example with missing group object.

  • Loading branch information...
1 parent 796cc21 commit d055b68448a2b603a45f9cc379dd9a0804efc1de @jacwright jacwright committed Aug 6, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 README.md
View
2 README.md
@@ -35,7 +35,7 @@ wurfl.loadSync();
var userAgent = 'Mozilla/4.0 (compatible; MSIE 4.01; Windows CE; O2 Xda 2s;PPC;240x320; PPC; 240x320)';
var deviceInfo = wurfl.get(userAgent);
-console.log(deviceInfo.model_name); // "Xda IIs"
+console.log(deviceInfo.product_info.model_name); // "Xda IIs"
```
You may want to use your own (read "updated") wurfl.xml file. This is easy:

0 comments on commit d055b68

Please sign in to comment.