{"action":"opened","issue":{"url":"https://api.github.com/repos/podio/jsdomify/issues/17","labels_url":"https://api.github.com/repos/podio/jsdomify/issues/17/labels{/name}","comments_url":"https://api.github.com/repos/podio/jsdomify/issues/17/comments","events_url":"https://api.github.com/repos/podio/jsdomify/issues/17/events","html_url":"https://github.com/podio/jsdomify/issues/17","id":113949458,"number":17,"title":"Invalid DOMTokenList.prototype.contais() in polyfill","user":{"login":"josielrocha","id":1158643,"avatar_url":"https://avatars.githubusercontent.com/u/1158643?v=3","gravatar_id":"","url":"https://api.github.com/users/josielrocha","html_url":"https://github.com/josielrocha","followers_url":"https://api.github.com/users/josielrocha/followers","following_url":"https://api.github.com/users/josielrocha/following{/other_user}","gists_url":"https://api.github.com/users/josielrocha/gists{/gist_id}","starred_url":"https://api.github.com/users/josielrocha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/josielrocha/subscriptions","organizations_url":"https://api.github.com/users/josielrocha/orgs","repos_url":"https://api.github.com/users/josielrocha/repos","events_url":"https://api.github.com/users/josielrocha/events{/privacy}","received_events_url":"https://api.github.com/users/josielrocha/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-10-28T23:42:37Z","updated_at":"2015-10-28T23:42:37Z","closed_at":null,"body":"Checking if element contains a substring of a given string as classname, DOMTokenList.prototype.contains() mistakenly returns true. Look below:\r\n\r\n``` javascript\r\nvar p = document.createElement('p');\r\np.appendChild(document.createTextNode('Blah'));\r\ndocument.body.appendChild(p);\r\n\r\np.classList.add('whooooo');\r\np.contains('who') // Returns true\r\n```"}}