Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Simplify markup #9

Merged
merged 3 commits into from Feb 2, 2012
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Empty file modified public/emoji.css
Whitespace-only changes.
42 changes: 22 additions & 20 deletions public/index.html
Expand Up @@ -7,17 +7,17 @@
<meta property="og:image" content="http://www.emoji-cheat-sheet.com/graphics/emojis/thumbsup.png"/>
<meta property="og:type" content="website"/>
<meta property="og:url" content="http://www.emoji-cheat-sheet.com/"/>
<link href='http://fonts.googleapis.com/css?family=Yanone+Kaffeesatz' rel='stylesheet' type='text/css'>
<link href="/emoji.css?5" rel="stylesheet" title="Screen" type="text/css">
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-20637790-4']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
<link href="http://fonts.googleapis.com/css?family=Yanone+Kaffeesatz" rel="stylesheet">
<link href="/emoji.css?5" rel="stylesheet">
<script>
// Optimized Google Analytics snippet: http://mths.be/aab
var _gaq = [['_setAccount', 'UA-20637790-4'], ['_trackPageview']];
(function(d, t) {
var g = d.createElement(t),
s = d.getElementsByTagName(t)[0];
g.src = '//www.google-analytics.com/ga.js';
s.parentNode.insertBefore(g, s);
}(document, 'script'));
</script>
</head>
<body>
Expand Down Expand Up @@ -586,16 +586,17 @@ <h3>Campfire also supports a few sounds</h3>
<a href="https://github.com/skiz">skiz</a>,
<a href="https://github.com/jstorimer">jstorimer</a>,
<a href="https://github.com/asianmack">asianmack</a>,
<a href="https://github.com/kuinak">kuinak</a>.</p>
<a href="https://github.com/kuinak">kuinak</a>,
<a href="http://mathiasbynens.be/">mathias</a>.</p>
<p>✔ Emoji-cheat-sheet.com is not affiliated with 37signals, LLC. or GitHub Inc. in any way.</p>
<p>♺ Built using bits from <a href="http://www.steamdev.com/zclip">zClip</a>,
<a href="http://subtlepatterns.com/">SubtlePatterns</a> and
<a href="http://www.givainc.com/labs/jnotify_jquery_plugin.htm">jnotify</a>.</p>
</div>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.4/jquery.min.js" type="text/javascript"></script>
<script src="/libs.min.js?1" type="text/javascript"></script>
<script type="text/javascript">
$(document).ready(function(){
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.4/jquery.min.js"></script>
<script src="/libs.min.js?1"></script>
<script>
$(function() {
if (FlashDetect.installed) {
clip_flash_block_detect = new ZeroClipboard.Client();
clip_flash_block_detect.glue(document.getElementById('flash-test'));
Expand All @@ -604,10 +605,10 @@ <h3>Campfire also supports a few sounds</h3>
clip.reposition(document.getElementById('flash-test'));
clip.receiveEvent('mouseover', null);

$.jnotify.setup({delay: 1000, fadeSpeed: 500});
$.jnotify.setup({ 'delay': 1000, 'fadeSpeed': 500 });
clip.setHandCursor(true);
clip.addEventListener('complete', function(client, text) {
$.jnotify("Copied <code>"+text+"</code>");
$.jnotify('Copied <code>' + text + '</code>');
_gaq.push(['_trackEvent', 'Emojis', 'Copy', text]);
});

Expand All @@ -627,9 +628,10 @@ <h3>Campfire also supports a few sounds</h3>
} catch(e) { }
});
}
var po = document.createElement('script'); po.type = 'text/javascript'; po.async = true;
var po = document.createElement('script');
po.src = 'https://apis.google.com/js/plusone.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(po, s);
var s = document.getElementsByTagName('script')[0];
s.parentNode.insertBefore(po, s);
});
</script>
</body>
Expand Down