diff --git a/README.md b/README.md index bf07758b..2d26ff19 100644 --- a/README.md +++ b/README.md @@ -466,16 +466,7 @@ Add this snippet to the bottom of web page: // but your users won't have interface for subscription }; - + ``` And then add this node in the place where you want to see Remark42 widget: @@ -521,15 +512,6 @@ Add this snippet to the bottom of web page, or adjust already present `remark_co site_id: 'YOUR_SITE_ID', components: ['last-comments'] }; - - (function(c) { - for(var i = 0; i < c.length; i++){ - var d = document, s = d.createElement('script'); - s.src = remark_config.host + '/web/' +c[i] +'.js'; - s.defer = true; - (d.head || d.body).appendChild(s); - } - })(remark_config.components || ['embed']); ``` @@ -554,15 +536,6 @@ Add this snippet to the bottom of web page, or adjust already present `remark_co site_id: 'YOUR_SITE_ID', components: ['counter'] }; - - (function(c) { - for(var i = 0; i < c.length; i++){ - var d = document, s = d.createElement('script'); - s.src = remark_config.host + '/web/' +c[i] +'.js'; - s.defer = true; - (d.head || d.body).appendChild(s); - } - })(remark_config.components || ['embed']); ```