{"action":"closed","issue":{"url":"https://api.github.com/repos/js-cookie/js-cookie/issues/441","repository_url":"https://api.github.com/repos/js-cookie/js-cookie","labels_url":"https://api.github.com/repos/js-cookie/js-cookie/issues/441/labels{/name}","comments_url":"https://api.github.com/repos/js-cookie/js-cookie/issues/441/comments","events_url":"https://api.github.com/repos/js-cookie/js-cookie/issues/441/events","html_url":"https://github.com/js-cookie/js-cookie/issues/441","id":322778456,"node_id":"MDU6SXNzdWUzMjI3Nzg0NTY=","number":441,"title":"Documentation text is wrong for domain settting","user":{"login":"Daijobou","id":260343,"node_id":"MDQ6VXNlcjI2MDM0Mw==","avatar_url":"https://avatars3.githubusercontent.com/u/260343?v=4","gravatar_id":"","url":"https://api.github.com/users/Daijobou","html_url":"https://github.com/Daijobou","followers_url":"https://api.github.com/users/Daijobou/followers","following_url":"https://api.github.com/users/Daijobou/following{/other_user}","gists_url":"https://api.github.com/users/Daijobou/gists{/gist_id}","starred_url":"https://api.github.com/users/Daijobou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Daijobou/subscriptions","organizations_url":"https://api.github.com/users/Daijobou/orgs","repos_url":"https://api.github.com/users/Daijobou/repos","events_url":"https://api.github.com/users/Daijobou/events{/privacy}","received_events_url":"https://api.github.com/users/Daijobou/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2018-05-14T11:34:08Z","updated_at":"2018-06-05T09:34:40Z","closed_at":"2018-06-05T09:34:40Z","author_association":"NONE","body":"https://github.com/js-cookie/js-cookie#domain\r\n\r\n> A String indicating a valid domain where the cookie should be visible. The cookie will **also be visible to all subdomains**.\r\n> \r\n> Default: Cookie is visible only to the domain or subdomain of the page where the cookie was created, except for Internet Explorer (see below).\r\n\r\nI understand the explain text and default text as two things.\r\nI tested it with Cookies.set('ABC', '123', { expires: 1 });\r\nI'm on www.example.com and the domain in cookie is not \".example.com\" its \"www.example.com\", so the default text is right and the bold text is wrong. Cookie is not accessable from a subdomain. Or I missunderstand the text. :)"}}
{"actor":{"display_login":"FagnerMartinsBrack"}}