Google+
Official Implementation
HTML<script type="text/javascript" src="https://apis.google.com/js/plusone.js"></script>
<g:plusone></g:plusone>
Solution
-
Move the script tag inside the
<head>
and set the loading mechanism to 'explicit'.HTML
<head> <script type="text/javascript" src="https://apis.google.com/js/plusone.js" parsetags="explicit"></script> </head>
-
Add the following lines to your application's javascript:
COFFEESCRIPT
$ -> gapi.plusone.go() $(document).on 'page:load', gapi.plusone.go
Related Issues: #9
Credit: Nick Reed
All solutions should be considered unofficial. There is no guarantee that a given solution will work with your application. If you find that a solution is insufficient, please let me know by submitting an issue on Github.