Skip to content

Latest commit

History

158 Commits

Folders and files

NameName
Last commit message
Last commit date

Repository files navigation

Modified version of head.js http://headjs.com

Changed from head.js v0.96:

* Added/changed some browser version detections
* added browser-false classes * added desktop/mobile feature detection
* added landscape/portrait feature detection
* Removed conditional comments in css3.js
* Replaced css3.js browser regex with simpler switch/case
* Made css3 tests reflect actual css attribute naming convention
* js features lowerCamelCase
* css features lowercase dashed
* Moved features to head.features namespace
* Added head.screen namespace
* added screen.inner/outerWidth
* added screen.inner/outerHeight
* added screen.height/width
* Corrected some closure usage
* Added eq, lte, gte detections for browser/versions & height/width
* ie, ie-eq6, h-gte468, w-lte1024
* Restricted html5 shiv to ie < 9
* Inverted css router naming convention
* page-name, section-name
* force them to be lowerCase
* Inverted feature detection naming convention & made them boolean
* js-true, font-face-false, border-radius-true
* Detect viewport size instead of resolution

Reminder to me:

* http://www.yuiblog.com/blog/2010/07/12/mobile-browser-cache-limits-revisited/
* http://www.yuiblog.com/blog/2010/06/28/mobile-browser-cache-limits/

About

The only script in your HEAD.

Resources

Stars

6 stars

Watchers

3 watching

Forks

Releases

Packages

Contributors

Languages