2017 © Pedro Peláez
 

library headjs

HeadJS: Responsive Design, Feature Detections & Asset Loading. The only script in your <HEAD>

image

webmodules/headjs

HeadJS: Responsive Design, Feature Detections & Asset Loading. The only script in your <HEAD>

  • Saturday, September 19, 2015
  • by jqutils
  • Repository
  • 7 Watchers
  • 0 Stars
  • 39 Installations
  • JavaScript
  • 1 Dependents
  • 0 Suggesters
  • 396 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

Head JS, (*1)

Latest Version: v1.0.3 :: Downloads | Docs | News | Intro

Status

Build Status, (*2)

Tested with (..amongst others)

Selenium Status, (*3)

Responsive Design, Feature Detections, and Resource Loading

  • Speed up your apps: Load JS & CSS asyncronously and in parallel, but execute them in order
  • Load one asset if a condition is met, else fallback and load a different one
  • Manage script dependencies, and execute callbacks once they are loaded
  • Cross-browser compatible « pseudo media-queries » let you code against different resolutions & devices
  • Fix quirks in specific browsers by quickly applying dedicated CSS/JS logic
  • Detect various browsers & their versions
  • Check if the client supports a certain Browser, HTML5, or CSS3 feature
  • Automatically generates JS and CSS classes for browsers & features that where detected
  • Automatically generates CSS classes, to know what page or section a user is viewing
  • Know if the user is in landscape or portrait mode
  • Or whether the client is using a mobile or desktop device
  • Get old browsers to support HTML5 elements like nav, sidebar, header, footer, ...
  • ...
  • Make it, The only script in your <HEAD>
    • A concise solution to universal problems

Resources

The Versions

19/09 2015

dev-master

9999999-dev

HeadJS: Responsive Design, Feature Detections & Asset Loading. The only script in your <HEAD>

  Sources   Download

MIT

by Tero Piirainen
by Robert Hoffmann

19/09 2015

1.0.3

1.0.3.0

HeadJS: Responsive Design, Feature Detections & Asset Loading. The only script in your <HEAD>

  Sources   Download

MIT

by Tero Piirainen
by Robert Hoffmann