You are here

function fb_require_js in Drupal for Facebook 7.4

2 calls to fb_require_js()
fb_canvas_custom_theme in ./fb_canvas.module
Implements hook_custom_theme().
fb_init in ./fb.module

File

./fb.module, line 99

Code

function fb_require_js() {
  drupal_add_js(drupal_get_path('module', 'fb') . '/fb_sdk.js', array(
    'type' => 'file',
    'scope' => 'header',
    'group' => JS_LIBRARY,
  ));
}