You are here

function example_drupal_add_js_options in Coder 7.2

Same name and namespace in other branches
  1. 7 coder_upgrade/tests/old/samples/example.module \example_drupal_add_js_options()

File

coder_upgrade/tests/old/samples/example.module, line 1261

Code

function example_drupal_add_js_options() {
  drupal_add_js('misc/collapse.js');
  drupal_add_js('misc/collapse.js', 'module');
  drupal_add_js('misc/collapse.js', 'module', 'footer');
  drupal_add_js('misc/collapse.js', 'module', 'header', FALSE, TRUE, TRUE);
  drupal_add_js('misc/collapse.js', 'module', 'header', FALSE, TRUE, FALSE);
  drupal_add_js('misc/collapse.js', 'module', 'header', FALSE, FALSE, TRUE);
  drupal_add_js('misc/collapse.js', 'module', 'header', TRUE, FALSE, TRUE);
  drupal_add_js('misc/collapse.js', 'core');
  drupal_add_js('misc/collapse.js', 'core', 'footer');
  drupal_add_js('misc/collapse.js', 'core', 'footer', TRUE, FALSE, TRUE);
  drupal_add_css('/modules/devel/devel.css');
  drupal_add_css('/modules/devel/devel.css', 'module');
  drupal_add_css('/modules/devel/devel.css', 'module', 'screen');
  drupal_add_css('/modules/devel/devel.css', 'module', 'all', FALSE);
  drupal_add_css('/modules/devel/devel.css', 'theme');
  drupal_add_css('/modules/devel/devel.css', 'theme', 'screen');
  drupal_add_css('/modules/devel/devel.css', 'theme', 'all', FALSE);
}