Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Added Facebook like button and fixed a typo

  • Loading branch information...
commit 454dc8c5d9080df83143ee22ae1e394c982167fa 1 parent ff42baa
@boyvanamstel boyvanamstel authored
Showing with 11 additions and 1 deletion.
  1. +11 −1 index.html
View
12 index.html
@@ -27,9 +27,10 @@
<p>Read the <a href="http://tumblr.dangercove.com/post/17213260067/html5-web-notifications" target="_blank">accompanying blog post</a> for more insights and references.</p>
</header>
<div id="content" role="main" class="container">
+ <div class="fb-like" data-href="http://dangercove.github.com/html5-notifications/" data-send="true" data-width="450" data-show-faces="true"></div>
<div id="not_supported">
<h2>Not supported</h2>
- <p>Sorry, too keep it simple and prevent exceptions, this demonstration uses the vendor-specific <code>window.webkitNotifications</code>, which of all the Webkit-browsers is currently only supported by Google Chrome.</p>
+ <p>Sorry, to keep it simple and prevent exceptions, this demonstration uses the vendor-specific <code>window.webkitNotifications</code>, which of all the Webkit-browsers is currently only supported by Google Chrome.</p>
<p>For information on the use of <code>window.mozNotifications</code>, check <a href="https://wiki.mozilla.org/Services/Notifications/Push/API" target="_blank">Mozilla's wiki</a>. It's very similar to Webkit's implementation, but lacks HTML notifications.</p>
</div>
<div id="blocked">
@@ -95,5 +96,14 @@
g.src=('https:'==location.protocol?'//ssl':'//www')+'.google-analytics.com/ga.js';
s.parentNode.insertBefore(g,s)}(document,'script'));
</script>
+
+ <div id="fb-root"></div>
+ <script>(function(d, s, id) {
+ var js, fjs = d.getElementsByTagName(s)[0];
+ if (d.getElementById(id)) return;
+ js = d.createElement(s); js.id = id;
+ js.src = "//connect.facebook.net/en_US/all.js#xfbml=1&appId=220083111392605";
+ fjs.parentNode.insertBefore(js, fjs);
+ }(document, 'script', 'facebook-jssdk'));</script>
</body>
</html>
Please sign in to comment.
Something went wrong with that request. Please try again.