diff options
author | Thomas Park <thomas@thomaspark.me> | 2012-07-11 01:19:45 -0400 |
---|---|---|
committer | Thomas Park <thomas@thomaspark.me> | 2012-07-11 01:19:45 -0400 |
commit | 626cba6b5138da0364279570c6b1e7e609bdf015 (patch) | |
tree | 4597274bf071b333c07a1531993b7d6a5a45dc77 /index.html | |
parent | 34d6222c14cfc978e264be9851cd43186dbb32ff (diff) |
site: simplify js includes, use google cdn
Diffstat (limited to 'index.html')
-rw-r--r-- | index.html | 15 |
1 files changed, 9 insertions, 6 deletions
@@ -613,15 +613,18 @@ </div> <!-- /container --> - <script src="assets/js/jquery.js"></script> + <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script> <script src="assets/js/bootstrap-min.js"></script> <script src="js/bootswatch.js"></script> - <script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script> <script> - var taglines = []; - taglines.push('Free themes for <a target="_blank" href="http://twitter.github.com/bootstrap/">Twitter Bootstrap</a>'); - taglines.push('Add color to your <a target="_blank" href="http://twitter.github.com/bootstrap/">Bootstrap</a> site without touching a color picker'); - taglines.push('Saving the web from default <a target="_blank" href="http://twitter.github.com/bootstrap/">Bootstrap</a>'); + !function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs"); + </script> + <script> + var taglines = [ + 'Free themes for <a target="_blank" href="http://twitter.github.com/bootstrap/">Twitter Bootstrap</a>', + 'Add color to your <a target="_blank" href="http://twitter.github.com/bootstrap/">Bootstrap</a> site without touching a color picker', + 'Saving the web from default <a target="_blank" href="http://twitter.github.com/bootstrap/">Bootstrap</a>' + ]; var line = Math.floor((taglines.length) * Math.random()); $('#tagline').html(taglines[line]); |