Add a hook_library_info in the theme and use drupal_add_library instead of drupal_add_js/css
Something that might cause a conceptual problem is having a library_info hook in the theme. Theme need to declare their scripts' dependencies too. It's kind of required for it to be available at this level.
Attachment | Size | Status | Test result | Operations |
---|---|---|---|---|
core-seven-libraries.patch | 1.58 KB | Idle | PASSED: [[SimpleTest]]: [MySQL] 54,285 pass(es). | View details | Re-test |