{"action":"created","issue":{"url":"https://api.github.com/repos/madebymany/sir-trevor-js/issues/405","labels_url":"https://api.github.com/repos/madebymany/sir-trevor-js/issues/405/labels{/name}","comments_url":"https://api.github.com/repos/madebymany/sir-trevor-js/issues/405/comments","events_url":"https://api.github.com/repos/madebymany/sir-trevor-js/issues/405/events","html_url":"https://github.com/madebymany/sir-trevor-js/issues/405","id":116071149,"number":405,"title":"Why do I get \"Uncaught TypeError: Converting circular structure to JSON(…)\"?","user":{"login":"nilsi","id":793881,"avatar_url":"https://avatars.githubusercontent.com/u/793881?v=3","gravatar_id":"","url":"https://api.github.com/users/nilsi","html_url":"https://github.com/nilsi","followers_url":"https://api.github.com/users/nilsi/followers","following_url":"https://api.github.com/users/nilsi/following{/other_user}","gists_url":"https://api.github.com/users/nilsi/gists{/gist_id}","starred_url":"https://api.github.com/users/nilsi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nilsi/subscriptions","organizations_url":"https://api.github.com/users/nilsi/orgs","repos_url":"https://api.github.com/users/nilsi/repos","events_url":"https://api.github.com/users/nilsi/events{/privacy}","received_events_url":"https://api.github.com/users/nilsi/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/madebymany/sir-trevor-js/labels/Question","name":"Question","color":"cc317c"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-11-10T09:42:35Z","updated_at":"2015-11-10T11:05:03Z","closed_at":null,"body":"Hi, \r\n\r\nIm trying to build a block for uploading multiple images. Uploading works and the block is updating but when I'm running ```instance.onFormSubmit();``` Im getting a circular structure problem. When I look at my generated data I find that the ```data``` entry indeed is circular:\r\n\r\n![Image of problem](http://s4.postimg.org/zade5ci0d/Screen_Shot_2015_11_10_at_18_35_58.png)\r\n\r\nBut I can't figure out why. I based my block on cjbells multiple upload block:\r\nhttps://gist.github.com/cjbell/7794216\r\n\r\nHere is my block as it looks now:\r\nhttp://pastebin.com/YDXvuBfX\r\n\r\nI just started out building blocks and Im sure it's something simple but can't find it right now, any help would be appreciated."},"comment":{"url":"https://api.github.com/repos/madebymany/sir-trevor-js/issues/comments/155390098","html_url":"https://github.com/madebymany/sir-trevor-js/issues/405#issuecomment-155390098","issue_url":"https://api.github.com/repos/madebymany/sir-trevor-js/issues/405","id":155390098,"user":{"login":"raffij","id":28570,"avatar_url":"https://avatars.githubusercontent.com/u/28570?v=3","gravatar_id":"","url":"https://api.github.com/users/raffij","html_url":"https://github.com/raffij","followers_url":"https://api.github.com/users/raffij/followers","following_url":"https://api.github.com/users/raffij/following{/other_user}","gists_url":"https://api.github.com/users/raffij/gists{/gist_id}","starred_url":"https://api.github.com/users/raffij/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/raffij/subscriptions","organizations_url":"https://api.github.com/users/raffij/orgs","repos_url":"https://api.github.com/users/raffij/repos","events_url":"https://api.github.com/users/raffij/events{/privacy}","received_events_url":"https://api.github.com/users/raffij/received_events","type":"User","site_admin":false},"created_at":"2015-11-10T11:05:03Z","updated_at":"2015-11-10T11:05:03Z","body":"Also if your block would be useful for others and is allowed to be shared then you could create a pr for this repo when done:\r\nhttps://github.com/madebymany/sir-trevor-blocks"}}