You are here

function jstools_theme_data in Javascript Tools 6

Same name and namespace in other branches
  1. 5 jstools.module \jstools_theme_data()

Load theme-specific data.

Allows loading e.g. of theme-specific jQuery selectors. To avoid having to prematurely initialize the theme, call this function from a hook_footer() implementation. hook_footer() typically is called after the theme has been initiated, but before the header has been generated.

File

./jstools.module, line 68
Provide common methods used by jstools package modules.

Code

function jstools_theme_data($module) {
  return jstools_theme_include($module) ? module_invoke($module, 'theme_data') : array();
}