{"action":"created","issue":{"url":"https://api.github.com/repos/gmrchk/swup/issues/13","repository_url":"https://api.github.com/repos/gmrchk/swup","labels_url":"https://api.github.com/repos/gmrchk/swup/issues/13/labels{/name}","comments_url":"https://api.github.com/repos/gmrchk/swup/issues/13/comments","events_url":"https://api.github.com/repos/gmrchk/swup/issues/13/events","html_url":"https://github.com/gmrchk/swup/issues/13","id":329975560,"node_id":"MDU6SXNzdWUzMjk5NzU1NjA=","number":13,"title":"Swup stuck on 'is-changing'","user":{"login":"hechtron","id":16142480,"node_id":"MDQ6VXNlcjE2MTQyNDgw","avatar_url":"https://avatars1.githubusercontent.com/u/16142480?v=4","gravatar_id":"","url":"https://api.github.com/users/hechtron","html_url":"https://github.com/hechtron","followers_url":"https://api.github.com/users/hechtron/followers","following_url":"https://api.github.com/users/hechtron/following{/other_user}","gists_url":"https://api.github.com/users/hechtron/gists{/gist_id}","starred_url":"https://api.github.com/users/hechtron/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hechtron/subscriptions","organizations_url":"https://api.github.com/users/hechtron/orgs","repos_url":"https://api.github.com/users/hechtron/repos","events_url":"https://api.github.com/users/hechtron/events{/privacy}","received_events_url":"https://api.github.com/users/hechtron/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-06-06T18:08:56Z","updated_at":"2018-06-11T18:32:54Z","closed_at":"2018-06-11T18:32:54Z","author_association":"NONE","body":"I'm getting the following error after including swup in my project. Any idea what's going on?\r\n\r\n`swup.min.js:1 Uncaught (in promise) DOMException: Failed to execute 'add' on 'DOMTokenList': The token provided must not be empty`\r\n\r\nThanks much!"},"comment":{"url":"https://api.github.com/repos/gmrchk/swup/issues/comments/396341716","html_url":"https://github.com/gmrchk/swup/issues/13#issuecomment-396341716","issue_url":"https://api.github.com/repos/gmrchk/swup/issues/13","id":396341716,"node_id":"MDEyOklzc3VlQ29tbWVudDM5NjM0MTcxNg==","user":{"login":"gmrchk","id":9338324,"node_id":"MDQ6VXNlcjkzMzgzMjQ=","avatar_url":"https://avatars3.githubusercontent.com/u/9338324?v=4","gravatar_id":"","url":"https://api.github.com/users/gmrchk","html_url":"https://github.com/gmrchk","followers_url":"https://api.github.com/users/gmrchk/followers","following_url":"https://api.github.com/users/gmrchk/following{/other_user}","gists_url":"https://api.github.com/users/gmrchk/gists{/gist_id}","starred_url":"https://api.github.com/users/gmrchk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gmrchk/subscriptions","organizations_url":"https://api.github.com/users/gmrchk/orgs","repos_url":"https://api.github.com/users/gmrchk/repos","events_url":"https://api.github.com/users/gmrchk/events{/privacy}","received_events_url":"https://api.github.com/users/gmrchk/received_events","type":"User","site_admin":false},"created_at":"2018-06-11T18:32:54Z","updated_at":"2018-06-11T18:32:54Z","author_association":"OWNER","body":"I wanted to know on which line of code the error appeared in non-minified version, where I'm quite sure it is not on line 1... Should have made that clear, sorry about that. \r\nBut anyway, I was digging around and I think I found the issue. \r\n\r\nIn case that body element had an attribute which included \" \" at the beginning, end, or several in a row, swup would try to add the class \"\" in body `classList`, which leads to the mentioned error. \r\n\r\nThe latest version (0.3.7) fixed the issue. Please update your version. If the problem persists after the update, please post the line where the error happens and reopen the issue. Thanks!"}}
{"actor":{"display_login":"gmrchk"}}