Edgewall Software

Changes between Initial Version and Version 1 of Ticket #11834, comment 7


Ignore:
Timestamp:
Nov 18, 2014, 6:29:13 AM (9 years ago)
Author:
Jun Omae

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #11834, comment 7

    initial v1  
    11Replying to [comment:2 cboos]:
    22> We might try the `async` attribute for all but the jquery script? (cf. SO:24070373)
    3 Interested. However, XHTML1 strict DTD disallows `async` attribute in script element. Instead, `defer` attribute.
     3Interested. However, XHTML1 strict DTD disallows `async` attribute in script element. Instead, it allows `defer` attribute in script element.
    44
    55Most of plugins and Trac core expect that depended scripts, e.g. jquery.js, trac.js, etc..., are already loaded. Then, the attribute can be used for only scripts with no dependencies. I think it's difficult to use effectively.