Skip to content

Commit 4b728ce

Browse files
committed
Remove custom hide class from examples in favor of djdt-hidden
1 parent 7ed2949 commit 4b728ce

File tree

3 files changed

+6
-15
lines changed

3 files changed

+6
-15
lines changed

example/templates/jquery/index.html

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,19 +3,16 @@
33
<head>
44
<meta http-equiv="content-type" content="text/html; charset=utf-8">
55
<title>jQuery Test</title>
6-
<style>
7-
.hide {display:none;}
8-
</style>
96
<script src="//ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
107
<script>
118
$(document).ready(function() {
12-
$('p.hide').show();
9+
$('p.djdt-hidden').show();
1310
$('#v').text($.fn.jquery);
1411
});
1512
</script>
1613
</head>
1714
<body>
1815
<h1>jQuery Test</h1>
19-
<p class="hide">If you see this, jQuery <strong id="v"></strong> is working.</p>
16+
<p class="djdt-hidden">If you see this, jQuery <strong id="v"></strong> is working.</p>
2017
</body>
2118
</html>

example/templates/mootools/index.html

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,19 +3,16 @@
33
<head>
44
<meta http-equiv="content-type" content="text/html; charset=utf-8">
55
<title>MooTools Test</title>
6-
<style>
7-
.hide {display:none;}
8-
</style>
96
<script src="//ajax.googleapis.com/ajax/libs/mootools/1.6.0/mootools.min.js"></script>
107
<script>
118
window.addEvent('domready', function() {
12-
$$('p.hide').setStyle('display', 'block');
9+
$$('p.djdt-hidden').setStyle('display', 'block');
1310
$('v').set('text', MooTools.version);
1411
});
1512
</script>
1613
</head>
1714
<body>
1815
<h1>MooTools Test</h1>
19-
<p class="hide">If you see this, MooTools <strong id="v"></strong> is working.</p>
16+
<p class="djdt-hidden">If you see this, MooTools <strong id="v"></strong> is working.</p>
2017
</body>
2118
</html>

example/templates/prototype/index.html

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,19 +3,16 @@
33
<head>
44
<meta http-equiv="content-type" content="text/html; charset=utf-8">
55
<title>Prototype Test</title>
6-
<style>
7-
.hide {display:none;}
8-
</style>
96
<script src="//ajax.googleapis.com/ajax/libs/prototype/1.7.3.0/prototype.js"></script>
107
<script>
118
document.observe('dom:loaded', function() {
12-
$('showme').removeClassName('hide');
9+
$('showme').removeClassName('djdt-hidden');
1310
$('v').textContent = Prototype.Version;
1411
});
1512
</script>
1613
</head>
1714
<body>
1815
<h1>Prototype Test</h1>
19-
<p class="hide" id="showme">If you see this, Prototype <strong id="v"></strong> is working.</p>
16+
<p class="djdt-hidden" id="showme">If you see this, Prototype <strong id="v"></strong> is working.</p>
2017
</body>
2118
</html>

0 commit comments

Comments
 (0)