You are here

modernizr.module in Modernizr 7

File

modernizr.module
View source
<?php

/**
 * Implements hook_init().
 */
function modernizr_init() {
  drupal_add_js(array(
    'modernizrPath' => drupal_get_path('module', 'modernizr') . '/modernizr.min.js',
  ), array(
    'type' => 'setting',
    'scope' => 'footer',
  ));
  drupal_add_js(drupal_get_path('module', 'modernizr') . '/modernizr_loader.js');
}

Functions

Namesort descending Description
modernizr_init Implements hook_init().