You are here

function waypoints_init in jQuery waypoints 7

Implement of hook_init().

File

./waypoints.module, line 54
@author Kálmán Hosszu - hosszu.kalman@gmail.com - http://www.kalman-hosszu.com

Code

function waypoints_init() {
  if (variable_get('waypoints_always_add_js')) {
    drupal_add_library('waypoints', 'waypoints');
  }
}