cleanup & comments
This commit is contained in:
26
index.html
26
index.html
@ -100,7 +100,8 @@
|
||||
|
||||
<section>
|
||||
<h2>Pretty Code</h2>
|
||||
<pre><code>var supports3DTransforms = document.body.style['webkitPerspective'] !== undefined ||
|
||||
<pre><code>
|
||||
var supports3DTransforms = document.body.style['webkitPerspective'] !== undefined ||
|
||||
document.body.style['MozPerspective'] !== undefined ||
|
||||
document.body.style['perspective'] !== undefined;
|
||||
|
||||
@ -120,7 +121,8 @@ function linkify( selector ) {
|
||||
}
|
||||
}
|
||||
|
||||
linkify( 'a' );</code></pre>
|
||||
linkify( 'a' );
|
||||
</code></pre>
|
||||
<p>Courtesy of <a href="http://softwaremaniacs.org/soft/highlight/en/description/">highlight.js</a>.</p>
|
||||
</section>
|
||||
|
||||
@ -191,25 +193,5 @@ linkify( 'a' );</code></pre>
|
||||
</script>
|
||||
|
||||
|
||||
|
||||
<!-- Everything below this point is unrelated to the slideshow -->
|
||||
|
||||
<div style="position: absolute; bottom: 10px; left: 50%; margin-left: -95px">
|
||||
<a href="http://twitter.com/share" class="twitter-share-button" data-text="reveal.js - a 3D slideshow tool from @hakimel." data-url="http://lab.hakim.se/reveal-js" data-count="small" data-related="hakimel"></a>
|
||||
<iframe id="facebook-button" src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fapp.hakim.se%2Freveal-js%2F&layout=button_count&show_faces=false&width=90&action=like&font=arial&colorscheme=light&height=21" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:85px; height:24px; position: relative; top: 4px;" allowTransparency="true"></iframe>
|
||||
<script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script>
|
||||
</div>
|
||||
|
||||
<script>
|
||||
var _gaq = [['_setAccount', 'UA-15240703-1'], ['_trackPageview']];
|
||||
(function(d, t) {
|
||||
var g = d.createElement(t),
|
||||
s = d.getElementsByTagName(t)[0];
|
||||
g.async = true;
|
||||
g.src = ('https:' == location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
|
||||
s.parentNode.insertBefore(g, s);
|
||||
})(document, 'script');
|
||||
</script>
|
||||
|
||||
</body>
|
||||
</html>
|
Reference in New Issue
Block a user