Problem/Motivation
The template.php file has lots of inline code additions that should be moved to a separated file in order to be clean and easily maintainable.
Proposed resolution
- Move the prtfolio carousel code to a separated file called carousel.js
- Update drupal_add_js to call a file instead of adding an inline code.
- Fix Drupal JavaScript coding standards issues.
@see https://drupal.org/node/172169 and https://drupal.org/node/1720586
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | simplecorp-move_portfolio_carousel_to_saparated_file-2163083-1.patch | 8.46 KB | revagomes |
Comments
Comment #1
revagomes commentedComment #2
revagomes commentedHere goes the patch.
Comment #3
revagomes commentedComment #4
revagomes commented