Skip to content

Commit

Permalink
Merge pull request #1225 from jdufresne/script-type
Browse files Browse the repository at this point in the history
Drop redundant type attribute from <script> tags
  • Loading branch information
matthiask committed Dec 11, 2019
2 parents 682b206 + 12db280 commit d098d5a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion example/templates/jquery/index.html
Expand Up @@ -7,7 +7,7 @@
.hide {display:none;}
</style>
<script src="//ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<script type="text/javascript">
<script>
$(document).ready(function() {
$('p.hide').show();
$('#v').text($.fn.jquery);
Expand Down
2 changes: 1 addition & 1 deletion example/templates/mootools/index.html
Expand Up @@ -7,7 +7,7 @@
.hide {display:none;}
</style>
<script src="//ajax.googleapis.com/ajax/libs/mootools/1.6.0/mootools.min.js"></script>
<script type="text/javascript">
<script>
window.addEvent('domready', function() {
$$('p.hide').setStyle('display', 'block');
$('v').set('text', MooTools.version);
Expand Down
2 changes: 1 addition & 1 deletion example/templates/prototype/index.html
Expand Up @@ -7,7 +7,7 @@
.hide {display:none;}
</style>
<script src="//ajax.googleapis.com/ajax/libs/prototype/1.7.3.0/prototype.js"></script>
<script type="text/javascript">
<script>
document.observe('dom:loaded', function() {
$('showme').removeClassName('hide');
$('v').textContent = Prototype.Version;
Expand Down

0 comments on commit d098d5a

Please sign in to comment.