mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
chore: remove redundant MIME type from HTML script tag
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/script
This commit is contained in:
parent
a27c9eeddb
commit
44c32c1605
4 changed files with 4 additions and 4 deletions
|
@ -8,7 +8,7 @@
|
|||
<%= style %>
|
||||
<% end %>
|
||||
</style>
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/d3/3.4.8/d3.min.js" type="text/javascript"></script>
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/d3/3.4.8/d3.min.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<div id="wrapper">
|
||||
|
|
|
@ -25,7 +25,7 @@
|
|||
</div>
|
||||
<% end %>
|
||||
|
||||
<script type="text/javascript">
|
||||
<script>
|
||||
(function() {
|
||||
var traceFrames = document.getElementsByClassName('trace-frames-<%= error_index %>');
|
||||
var selectedFrame, currentSource = document.getElementById('frame-source-<%= error_index %>-0');
|
||||
|
|
|
@ -95,7 +95,7 @@
|
|||
</tbody>
|
||||
</table>
|
||||
|
||||
<script type='text/javascript'>
|
||||
<script>
|
||||
// support forEach iterator on NodeList
|
||||
NodeList.prototype.forEach = Array.prototype.forEach;
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
<title><%= @title %></title>
|
||||
<%= csp_meta_tag %>
|
||||
<link href="/vendor/qunit.css" media="screen" rel="stylesheet" type="text/css" media="screen, projection" />
|
||||
<script src="/vendor/jquery-2.2.0.js" type="text/javascript"></script>
|
||||
<script src="/vendor/jquery-2.2.0.js"></script>
|
||||
<%= javascript_tag nonce: true do %>
|
||||
// This is for test in override.js.
|
||||
// Must go before rails-ujs.
|
||||
|
|
Loading…
Reference in a new issue