Can't use misc / drupal .js without calling drupal_add_js() and The logic of drupal_add_js() is quite good - load misc / drupal .js only when it's needed by another js file. But what happens when I want to add a
No Expires for Misc folder | groups. drupal .org Feb 10, 2010 They're not Drupal core files so it's already a bit of a hack to have them residing in a Drupal core directory like / misc /. That looks like some kind
drupal_add_js | Drupal API Add settings ('setting'): Adds settings to Drupal's global storage of JavaScript < ?php drupal_add_js(' misc /collapse.js'); drupal_add_js(' misc /collapse.js', 'file');
Optimizing JavaScript and CSS-files in Drupal | ShvetsGroup Mar 15, 2011 in Drupal. Let's see how things are going with these files in Drupal. misc/ autocomplete.js; misc / drupal .js; misc/collapse.js; misc/batch.js