{"action":"created","issue":{"url":"https://api.github.com/repos/madebymany/sir-trevor-js/issues/451","repository_url":"https://api.github.com/repos/madebymany/sir-trevor-js","labels_url":"https://api.github.com/repos/madebymany/sir-trevor-js/issues/451/labels{/name}","comments_url":"https://api.github.com/repos/madebymany/sir-trevor-js/issues/451/comments","events_url":"https://api.github.com/repos/madebymany/sir-trevor-js/issues/451/events","html_url":"https://github.com/madebymany/sir-trevor-js/issues/451","id":141297486,"number":451,"title":"Documentation for blocks","user":{"login":"SgtOddball","id":9439545,"avatar_url":"https://avatars.githubusercontent.com/u/9439545?v=3","gravatar_id":"","url":"https://api.github.com/users/SgtOddball","html_url":"https://github.com/SgtOddball","followers_url":"https://api.github.com/users/SgtOddball/followers","following_url":"https://api.github.com/users/SgtOddball/following{/other_user}","gists_url":"https://api.github.com/users/SgtOddball/gists{/gist_id}","starred_url":"https://api.github.com/users/SgtOddball/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SgtOddball/subscriptions","organizations_url":"https://api.github.com/users/SgtOddball/orgs","repos_url":"https://api.github.com/users/SgtOddball/repos","events_url":"https://api.github.com/users/SgtOddball/events{/privacy}","received_events_url":"https://api.github.com/users/SgtOddball/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2016-03-16T14:50:45Z","updated_at":"2016-03-19T07:13:43Z","closed_at":null,"body":"I know it's been mentioned before but after having a custom block thats been 'almost' working flat out explode on me this afternoon I was wondering when there's going to be a run down on how to make your own custom block for Sir Trevor. \r\n\r\nA good example would be adding in the current 'code' block... it flat out doesn't work out of the box.\r\n\r\nAdd in the global, factory etc. function + \"use strict\" to at least correctly initialise the block and you get an icon..(still doesn't work but it's still in a better position than it was). \r\n\r\nLong story short, any chance of something that tells you exactly what you need and what the available options are without a massive amount of flailing around hoping to find the magical trigger that fires the block back up again? "},"comment":{"url":"https://api.github.com/repos/madebymany/sir-trevor-js/issues/comments/198651106","html_url":"https://github.com/madebymany/sir-trevor-js/issues/451#issuecomment-198651106","issue_url":"https://api.github.com/repos/madebymany/sir-trevor-js/issues/451","id":198651106,"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":"2016-03-19T07:13:43Z","updated_at":"2016-03-19T07:13:43Z","body":"All great feedback for thinking about the future stable Apis.\nOn Fri, 18 Mar 2016 at 22:29, Chris Monkman <notifications@github.com>\nwrote:\n\n> Oh and note to self... loadData happens before onRender and if you don't\n> want it to drop the data and reload it again, trigger this.ready.... yeah\n> that one was fun.\n>\n> —\n> You are receiving this because you commented.\n>\n>\n> Reply to this email directly or view it on GitHub\n> <https://github.com/madebymany/sir-trevor-js/issues/451#issuecomment-198565791>\n>\n"}}