Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

12 lines (9 sloc) 0.632 kB
v2.1
* added new option "forceDetection" to disable internal device profiles for custom resolutions
* new devicepixel.html demo that brings back the native pixel mapping functionality back to Viewporter
v2.0
* completely refactored viewport detection
* removed: maxDensity setting (use v1 if needed), now defaulting to device-width
* removed: all debug constants except for viewporter.ACTIVE
* added: Viewporter now needs a wrapper div around the body with the id 'viewporter'
* added: Sites running Viewport now need the following meta viewport tag: <meta name="viewport" content="initial-scale=1.0,maximum-scale=1.0" />
Jump to Line
Something went wrong with that request. Please try again.