You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The attributes given above are all required. The inclusion of the identifier and URL ensure that identifier conflicts will not occur. See http://help.disqus.com/customer/portal/articles/662547-why-are-the-same-comments-showing-up-on-multiple-pages-
36
43
37
-
If the identifier and URL and not included as attributes, the directive will throw an exception.
44
+
If the identifier and URL and not included as attributes, the directive will not appear.
38
45
39
46
## Full API
40
47
41
48
You can optionally specify the other configuration variables by including the as attributes
42
49
on the directive's element tag. For more information on the available config vars, see the
If using the `disqus-config-language` setting, please see [this Disqus article on multi-lingual websites](https://help.disqus.com/customer/portal/articles/466249-multi-lingual-websites)
@@ -65,42 +71,8 @@ for which languages are supported.
65
71
If using the `disqus-remote-auth-s3 and disqus-api-key` setting, please see [Integrating Single Sign-On](https://help.disqus.com/customer/portal/articles/236206#sso-script)
66
72
to know how to generate a remote_auth_s3 and public_api_key.
67
73
68
-
note:Single Sign-on (SSO) allows users to sign into a site and be able to use Disqus Comments without having to re-authenticate Disqus. SSO will create a site-specific user profile on Disqus, in a way that will prevent conflict with existing Disqus users.
69
-
70
-
71
-
## `ready-to-bind` attribute
72
-
73
-
If you are loading the page asynchronously, the model data (`$scope.article` in the above example) used to populate the config variables above
74
-
will probably not be defined at the time the page is loaded. This will result in your config settings
75
-
being all undefined. To get around this, you can specify a scope variable that should be set to (or evaluate to) `false`
76
-
until your data is loaded, at which point you can set it to `true`. The directive watches this property and once it changes
77
-
to `true`, any config attributes which are bound to your model should be available and used to load up the Disqus widget.
78
-
79
-
For example:
80
-
81
-
```JavaScript
82
-
// simple example of controller loading async data
If you omit the `ready-to-bind` attribute, the Disqus widget will be created immediately. This is okay so long as you don't rely on interpolated data which is not available on page load.
74
+
Note: Single Sign-on (SSO) allows users to sign into a site and be able to use Disqus Comments without having to re-authenticate Disqus. SSO will create a site-specific user profile on Disqus, in a way that will prevent conflict with existing Disqus users.
102
75
103
76
## `disqus-on-ready` attribute
104
77
105
-
If Disqus is rendered, `disqus-on-ready` function will be called. Callback is registered to disqus by similar technique
106
-
as explained in [this post](https://help.disqus.com/customer/portal/articles/466258-capturing-disqus-commenting-activity-via-callbacks).
78
+
If Disqus is rendered, `disqus-on-ready` function will be called. Callback is registered to disqus by similar technique as explained in [this post](https://help.disqus.com/customer/portal/articles/466258-capturing-disqus-commenting-activity-via-callbacks).
0 commit comments