Skip to content

Latest commit

 

History

History
65 lines (57 loc) · 2.86 KB

README.md

File metadata and controls

65 lines (57 loc) · 2.86 KB

Head JS

This project was never announced. git push and it was all viral.

Build Status

##About

  • Load scripts and css on demand
  • Achieve responsive design with CSS that targets different screen resolutions, paths, states and browsers
  • Detect various browsers and their features
  • Target HTML5 and CSS3 safely
  • Make it the only script in your HEAD
  • A concise solution to universal problems

##Where

##Updates

###1.0.0 (2013-11-04)

 - New: Detect Windows 8 Mobile (Surface RT/Pro), IE11, Kindle, and other Android devices
 - New: Add Browser & Version CSS no matter what browser breakpoints are configured
   - Example: .ff .ff20
   - There is no need to cycle through all browser versions in 90% of cases
   - Makes it possible to work without any breakpoints at all
 - New: Improved CSS Router
   - https://github.com/headjs/headjs/issues/227
 - New: Added "main" HTML5 element to shim
   - https://github.com/headjs/headjs/pull/230
 - New: Enable/Disable HTML5 Shim in head_conf
 - New: Possibility to load via array of items
   - head.load(["file1", "file2"], callBack);
   - https://github.com/headjs/headjs/issues/139
 - New: Possibility to wait for multiple labels
   - head.ready(["label1", "label2"], callBack);
   - https://github.com/headjs/headjs/pull/212
 - New: Load file via data attribute on HeadJS script tag
   - data-headjs-load="configuration.js"
   - https://github.com/headjs/headjs/pull/213
 - New: Source map files have been added for all minified JS files
 - Fix: Prevent loading empty strings
   - https://github.com/headjs/headjs/pull/184
 - Fix: CSS classes getting bigger on successive resizes under Chrome
   - https://github.com/headjs/headjs/issues/226 
 - Fix: Invalid regular expression for CSS detection
   - https://github.com/headjs/headjs/issues/255
 - Fix: callback firing too early when a resource was previously loaded
   - https://github.com/headjs/headjs/issues/262
 - Divers: Changed window.frameElement detection
   - https://github.com/headjs/headjs/pull/257
 - Divers: Cleaned up a bunch of syntaxt to conform to JSHint
   - Now using a very strict .jshintrc
 - Divers: Added missing .gitattributes