You are here

function animate_css_init in Animate CSS 7

Implements hook_init().

File

./animate_css.module, line 24
Drupal integration with Animate.css, bunch of cool, fun, and cross-browser animations for you to use in your projects.

Code

function animate_css_init() {

  // Load up the Animate CSS file.
  drupal_load('module', 'libraries');
  if (ANIMATE_CSS_DEVEL == TRUE) {
    libraries_load('animate');
  }
  else {
    libraries_load('animate', 'minified');
  }
}