{"action":"created","issue":{"url":"https://api.github.com/repos/ElementalCode/Elemental/issues/25","labels_url":"https://api.github.com/repos/ElementalCode/Elemental/issues/25/labels{/name}","comments_url":"https://api.github.com/repos/ElementalCode/Elemental/issues/25/comments","events_url":"https://api.github.com/repos/ElementalCode/Elemental/issues/25/events","html_url":"https://github.com/ElementalCode/Elemental/issues/25","id":96377337,"number":25,"title":"What are we going to have be blocks?","user":{"login":"BookOwl","id":13385064,"avatar_url":"https://avatars.githubusercontent.com/u/13385064?v=3","gravatar_id":"","url":"https://api.github.com/users/BookOwl","html_url":"https://github.com/BookOwl","followers_url":"https://api.github.com/users/BookOwl/followers","following_url":"https://api.github.com/users/BookOwl/following{/other_user}","gists_url":"https://api.github.com/users/BookOwl/gists{/gist_id}","starred_url":"https://api.github.com/users/BookOwl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BookOwl/subscriptions","organizations_url":"https://api.github.com/users/BookOwl/orgs","repos_url":"https://api.github.com/users/BookOwl/repos","events_url":"https://api.github.com/users/BookOwl/events{/privacy}","received_events_url":"https://api.github.com/users/BookOwl/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ElementalCode/Elemental/labels/planning","name":"planning","color":"0052cc"},{"url":"https://api.github.com/repos/ElementalCode/Elemental/labels/question","name":"question","color":"cc317c"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-07-21T17:55:56Z","updated_at":"2015-07-21T18:09:58Z","closed_at":null,"body":"I know we will have html be blocks, and I am pretty sure that CSS will be also, but what about Javascript? It seems that it would be quite complicated to represent JS as blocks..."},"comment":{"url":"https://api.github.com/repos/ElementalCode/Elemental/issues/comments/123419533","html_url":"https://github.com/ElementalCode/Elemental/issues/25#issuecomment-123419533","issue_url":"https://api.github.com/repos/ElementalCode/Elemental/issues/25","id":123419533,"user":{"login":"BookOwl","id":13385064,"avatar_url":"https://avatars.githubusercontent.com/u/13385064?v=3","gravatar_id":"","url":"https://api.github.com/users/BookOwl","html_url":"https://github.com/BookOwl","followers_url":"https://api.github.com/users/BookOwl/followers","following_url":"https://api.github.com/users/BookOwl/following{/other_user}","gists_url":"https://api.github.com/users/BookOwl/gists{/gist_id}","starred_url":"https://api.github.com/users/BookOwl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BookOwl/subscriptions","organizations_url":"https://api.github.com/users/BookOwl/orgs","repos_url":"https://api.github.com/users/BookOwl/repos","events_url":"https://api.github.com/users/BookOwl/events{/privacy}","received_events_url":"https://api.github.com/users/BookOwl/received_events","type":"User","site_admin":false},"created_at":"2015-07-21T18:09:58Z","updated_at":"2015-07-21T18:09:58Z","body":"Try giving me blocks for this:\r\n```\r\nvar Elephant_ctor = function(name, type, color){\r\n   this.name = name;\r\n   this.type = type;\r\n   this.color = color;\r\n}\r\n// Instance members for the Elephant class\r\nvar Elephant_iprops = {\r\n   speak: function(line){\r\n      console.log(this.name + ', the ' + this.color + ' ' + this.type + ' elephant says: ' + line)\r\n   },\r\n   act: function(action){\r\n      console.log(this.name + ', the ' + this.color + ' ' + this.type + ' elephant ' + action + '!')\r\n   }\r\n}\r\n// Static members for the Elephant class (null means none)\r\nvar Elephant_sprops = null;\r\n\r\n// Create the class\r\n//                          Constructor,   Instance Members,  Static Members\r\nvar Elephant = CLASS.create(Elephant_ctor, Elephant_iprops,   Elephant_sprops);\r\n\r\n// Create an instance\r\nvar ellie = new Elephant('Ellie', 'baby', 'white');\r\nellie.speak('Hello');\r\nellie.act('cries');\r\n\r\n```"}}