Closed (works as designed)
Project:
Aurora
Version:
7.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Anonymous (not verified)
Created:
6 Feb 2013 at 20:37 UTC
Updated:
17 Sep 2015 at 15:06 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
Anonymous (not verified) commentedHere is a patch that implements the necessary changes to aurora_get_js_old().
Comment #2
Snugug commentedI'm not sure I understand exactly what you're asking. If you are using the "move js to footer" option in Aurora (and therefore
aurora_get_js_old()), the code is identical todrupal_get_js, if not you're using Core'sdrupal_get_js. Currently,drupal_get_jsdoes not respect attributes, soaurora_get_js_old()behaves correctly. If, on the other hand, you'd like us to add this functionality, it won't go intoaurora_get_js_oldbut ratheraurora_get_jsas that's where our experimental JS handling goes as that patch hasn't been officially backported yet.If you'd like this in
aurora_get_js_oldand in Core'sdrupal_get_js, I'd highly encourage you to review the patch and get it committed into Core, then we'll backport it into our implementation. If, however, you'd like to use this inside Aurora right now, before it's gotten officially backported, please reroll this patch againstaurora_get_jsand be aware that you'll need to turn on the experimental JS handling option in order to use this.Comment #3
Anonymous (not verified) commentedI ran into the issue, because I need that patch to core, but it didn't behave as expected because Aurora implements the original unpatched version. So, I just ported the patch over so that I can pull it into my make file.
Comment #4
Anonymous (not verified) commentedI'm changing this to a feature request. Because, as you point out, this is not technically a bug :-) Just something I needed.
Comment #5
jmoughon commentedRerolled patch with a code fix.
Comment #6
iamcarrico commentedUntil that piece is actually implemented into core---- we shouldn't add it here too. Once this patch is implemented into core, then we can go ahead and implement it here.
Closing until that is resolved.