Перейти к файлу
Dmitry Gozman 8c1d6bab49 Add validation to generate_devices_list.py. 2015-02-09 16:34:58 +03:00
amazon-kindle-fire-first-generation Added all devices in new format. 2015-02-02 16:47:21 +03:00
amazon-kindle-fire-hdx-7 Added all devices in new format. 2015-02-02 16:47:21 +03:00
amazon-kindle-fire-hdx-8.9 Added all devices in new format. 2015-02-02 16:47:21 +03:00
apple-ipad-1-2-mini Update device metadata. 2015-02-05 16:15:47 +03:00
apple-ipad-3-4 Update device metadata. 2015-02-05 16:15:47 +03:00
apple-ipad-mini-2-3 add apple-ipad-mini-2-3 definition. 2015-02-05 16:16:20 +03:00
apple-iphone-3gs Added all devices in new format. 2015-02-02 16:47:21 +03:00
apple-iphone-4 Added all devices in new format. 2015-02-02 16:47:21 +03:00
apple-iphone-5 Define the new defaults. 2015-02-05 16:16:50 +03:00
apple-iphone-6 Define the new defaults. 2015-02-05 16:16:50 +03:00
apple-iphone-6-plus Define the new defaults. 2015-02-05 16:16:50 +03:00
blackberry-classic Added all devices in new format. 2015-02-02 16:47:21 +03:00
blackberry-passport Added all devices in new format. 2015-02-02 16:47:21 +03:00
blackberry-playbook Added all devices in new format. 2015-02-02 16:47:21 +03:00
blackberry-z10 Added all devices in new format. 2015-02-02 16:47:21 +03:00
blackberry-z30 Added all devices in new format. 2015-02-02 16:47:21 +03:00
generic-notebook Added all devices in new format. 2015-02-02 16:47:21 +03:00
google-nexus-4 Added all devices in new format. 2015-02-02 16:47:21 +03:00
google-nexus-5 Update version number and show-by-default. 2015-02-02 15:59:05 +03:00
google-nexus-7 Update device metadata. 2015-02-05 16:15:47 +03:00
google-nexus-7-2 Define the new defaults. 2015-02-05 16:16:50 +03:00
google-nexus-10 Added all devices in new format. 2015-02-02 16:47:21 +03:00
google-nexus-s Added all devices in new format. 2015-02-02 16:47:21 +03:00
htc-evo-touch-desire-hd Added all devices in new format. 2015-02-02 16:47:21 +03:00
htc-one-m7 Added all devices in new format. 2015-02-02 16:47:21 +03:00
htc-one-x-evo-lte Added all devices in new format. 2015-02-02 16:47:21 +03:00
htc-sensation-evo-3d Added all devices in new format. 2015-02-02 16:47:21 +03:00
lg-optimus-2x-3d-black Added all devices in new format. 2015-02-02 16:47:21 +03:00
lg-optimus-g Added all devices in new format. 2015-02-02 16:47:21 +03:00
lg-optimus-lte-optimus-4x-hd Added all devices in new format. 2015-02-02 16:47:21 +03:00
lg-optimus-one Added all devices in new format. 2015-02-02 16:47:21 +03:00
motorola-defy-droid-x-milestone Added all devices in new format. 2015-02-02 16:47:21 +03:00
motorola-droid-atrix Added all devices in new format. 2015-02-02 16:47:21 +03:00
motorola-droid-razr-hd Added all devices in new format. 2015-02-02 16:47:21 +03:00
motorola-xoom-xyboard Added all devices in new format. 2015-02-02 16:47:21 +03:00
nokia-c5-c6-c7-n97-n8-x7 Added all devices in new format. 2015-02-02 16:47:21 +03:00
nokia-lumia-7x0-8xx-900-n800-n810-n900 Added all devices in new format. 2015-02-02 16:47:21 +03:00
notebook-with-hidpi-screen Added all devices in new format. 2015-02-02 16:47:21 +03:00
notebook-with-touch Define the new defaults. 2015-02-05 16:16:50 +03:00
samsung-galaxy-note Added all devices in new format. 2015-02-02 16:47:21 +03:00
samsung-galaxy-note-2 Added all devices in new format. 2015-02-02 16:47:21 +03:00
samsung-galaxy-note-3 Define the new defaults. 2015-02-05 16:16:50 +03:00
samsung-galaxy-s-3-galaxy-nexus Added all devices in new format. 2015-02-02 16:47:21 +03:00
samsung-galaxy-s-s-2-w Added all devices in new format. 2015-02-02 16:47:21 +03:00
samsung-galaxy-s4 Define the new defaults. 2015-02-05 16:16:50 +03:00
samsung-galaxy-tab Added all devices in new format. 2015-02-02 16:47:21 +03:00
samsung-galaxy-tab-7.7-8.9-10.1 Added all devices in new format. 2015-02-02 16:47:21 +03:00
sony-xperia-s-ion Added all devices in new format. 2015-02-02 16:47:21 +03:00
sony-xperia-sola-u Added all devices in new format. 2015-02-02 16:47:21 +03:00
sony-xperia-z-z1 Added all devices in new format. 2015-02-02 16:47:21 +03:00
README Improved device.json strcture, fixed generate_devices_list script. 2015-01-23 16:38:39 +03:00
devices.json Add validation to generate_devices_list.py. 2015-02-09 16:34:58 +03:00
generate_devices_list.py Add validation to generate_devices_list.py. 2015-02-09 16:34:58 +03:00
list.json Directory-per-device structure. 2015-01-20 17:02:34 +03:00
useragents.json rename to *.json 2014-12-15 22:21:29 -08:00

README

Data for each device should be placed in a separate directory, with "device.json" file describing the device:
- "type" should be one of the "phone", "tablet", "notebook", "desktop", "unknown";
- "capabilities" should listen enabled capabilities for the device (currently supported: "mobile", "touch");
- "screen" describes the physical device screen size and dpr in horizontal and vertical orientations;
- "outline" provides an image to draw around the screen;
- "modes" represent different browser states on the screen (e.g. with/without on-screen keyboard);
- "page-rect" is the rect relative to the "screen" size (see above), where web page is displayed; this rect will be emulated;
- all sizes in should be in device independent pixels;
- all "title" values should be user-readable.

File "devices.json" should be generated using "generate_devices_list.py" script.