Skip to content

Commit

Permalink
Merge mobolic#317 (use sdk.js in examples).
Browse files Browse the repository at this point in the history
  • Loading branch information
martey committed Oct 15, 2016
2 parents 1d61a69 + 937465e commit 49f141e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion examples/flask/app/templates/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,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/en_US/all.js";
js.src = "//connect.facebook.net/en_US/sdk.js";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));
</script>
Expand Down
2 changes: 1 addition & 1 deletion examples/tornado/example.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
(function() {
var e = document.createElement('script');
e.type = 'text/javascript';
e.src = document.location.protocol + '//connect.facebook.net/en_US/all.js';
e.src = document.location.protocol + '//connect.facebook.net/en_US/sdk.js';
e.async = true;
document.getElementById('fb-root').appendChild(e);
}());
Expand Down

0 comments on commit 49f141e

Please sign in to comment.