Closed (fixed)
Project:
Aurora
Version:
7.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
11 Feb 2013 at 17:45 UTC
Updated:
15 Feb 2013 at 20:18 UTC
Jump to comment: Most recent file
The Modernizr module implements the force header flag that Omega/Aurora utilize. There's no need for it to be present in your codebase :)
Remove this function:
/**
* Implements hook_js_alter
*/
function aurora_js_alter(&$js) {
global $base_url;
// Forces Modernizr to header if the Modernizr module is enabled.
if (module_exists('modernizr')) {
$js[modernizr_get_path()]['force header'] = true;
}
}
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | 1914356-1-remove-mzr-code.patch | 631 bytes | rupl |
Comments
Comment #1
ruplBecause I'm such a nice guy... ^_^
Comment #2
iamcarrico commentedAdded it to the 7.x-3.x version, to be deployed with the Magic module.