Modify ↓
Ticket #8198 (closed bug: fixed)
Remove script.type = "text/javascript" from support.js
| Reported by: | musicisair | Owned by: | |
|---|---|---|---|
| Priority: | low | Milestone: | 1.5.1 |
| Component: | support | Version: | 1.5 |
| Keywords: | Cc: | ||
| Blocking: | Blocked by: |
Description
In all A-grade browsers (and probably all browsers that support javascript) the default value for a script element's type attr is "text/javascript".
It seems like waste of bytes specify it.
Change History
comment:2 Changed 2 years ago by jitter
- Priority changed from undecided to low
- Component changed from unfiled to support
comment:3 Changed 2 years ago by mathias
Missed that one in https://github.com/jquery/jquery/commit/462bb1f66abf239492ee33c60feee3402fe64f77 (bug #8098), sorry.
comment:4 Changed 2 years ago by David Murdoch
- Status changed from new to closed
- Resolution set to fixed
Remove unnecessary "script.type = text/javascript;". Fixes #8198.
Follow up to 462bb1f66abf239492ee33c60feee3402fe64f77.
Changeset: 3548ffaee244af2bd5e28e91ebfaa995adab93a7
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.
Note: See
TracTickets for help on using
tickets.

https://github.com/jquery/jquery/pull/224