You are here

function clipboardjs_libraries_preload_callback in Clipboard.js 7

Preload callback for clipboardjs_libraries_info(). Load jquery.ui tooltip library before loading clipboard.

See also

clipboardjs_libraries_info()

1 string reference to 'clipboardjs_libraries_preload_callback'
clipboardjs_libraries_info in ./clipboardjs.module
Implements hook_libraries_info().

File

./clipboardjs.module, line 64
Integrates the Clipboard.js library with Drupal.

Code

function clipboardjs_libraries_preload_callback() {
  drupal_add_library('system', 'ui.tooltip');
}