You are here

function jstools_theme_data in Javascript Tools 5

Same name and namespace in other branches
  1. 6 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.

2 calls to jstools_theme_data()
activeedit_get_targets in activeedit/activeedit.module
collapsiblock_footer in collapsiblock/collapsiblock.module

File

./jstools.module, line 82
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();
}