Skip to content

Commit

Permalink
Merge branch 'release/2.0.1'
Browse files Browse the repository at this point in the history
  • Loading branch information
Sommerregen committed Sep 5, 2016
2 parents 48467ee + 4577d24 commit ea20b39
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 4 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# v2.0.1
## 09/05/2016

3. [](#bugfix)
* Fixed [#9](https://github.com/Sommerregen/grav-plugin-jscomments/issues/9) (Uncaught Error: invalid version specified) with [#10](https://github.com/Sommerregen/grav-plugin-jscomments/pull/10) (Thanks to [@Perlkonig](https://github.com/Perlkonig))

# v2.0.0
## 07/20/2016

Expand Down
2 changes: 1 addition & 1 deletion blueprints.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: JSComments
version: 2.0.0
version: 2.0.1
description: "Add comments to your site with Discourse, Disqus, Facebook, Google+, IntenseDebate, and Muut comment systems."
icon: comments-o
author:
Expand Down
4 changes: 2 additions & 2 deletions jscomments.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php
/**
* JSComments v2.0.0
* JSComments v2.0.1
*
* This plugin allows Grav to integrate comments into individual pages
* from Discourse / Disqus / Facebook / Google+ / IntenseDebate and Muut
Expand All @@ -10,7 +10,7 @@
* http://benjamin-regler.de/license/
*
* @package JSComments
* @version 2.0.0
* @version 2.0.1
* @link <https://github.com/sommerregen/grav-plugin-jscomments>
* @author Benjamin Regler <[email protected]>
* @copyright 2016, Benjamin Regler
Expand Down
2 changes: 1 addition & 1 deletion templates/plugins/jscomments/facebook.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) return;
js = d.createElement(s); js.id = id;
js.src = "//connect.facebook.net/{{ language|default('en_US')|e('js') }}/sdk.js#xfbml=1&amp;appId={{ app_id|e('js') }}&amp;version=v2.5";
js.src = "//connect.facebook.net/{{ language|default('en_US')|e('js') }}/all.js#xfbml=1&amp;appId={{ app_id|e('js') }}";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));
</script>
Expand Down

0 comments on commit ea20b39

Please sign in to comment.