You are here

function modernizr_init in Modernizr 6

Same name and namespace in other branches
  1. 6.2 modernizr.module \modernizr_init()
  2. 7 modernizr.module \modernizr_init()
  3. 7.2 modernizr.module \modernizr_init()

Implements hook_init().

File

./modernizr.module, line 10
Main module file for Modernizr

Code

function modernizr_init() {
  drupal_add_js(modernizr_lib_path());
}