{"action":"created","issue":{"url":"https://api.github.com/repos/google/blockly/issues/1901","repository_url":"https://api.github.com/repos/google/blockly","labels_url":"https://api.github.com/repos/google/blockly/issues/1901/labels{/name}","comments_url":"https://api.github.com/repos/google/blockly/issues/1901/comments","events_url":"https://api.github.com/repos/google/blockly/issues/1901/events","html_url":"https://github.com/google/blockly/issues/1901","id":328883208,"node_id":"MDU6SXNzdWUzMjg4ODMyMDg=","number":1901,"title":"Cannot Delete Blocks (Develop Branch)","user":{"login":"TheBrokenRail","id":17478432,"node_id":"MDQ6VXNlcjE3NDc4NDMy","avatar_url":"https://avatars3.githubusercontent.com/u/17478432?v=4","gravatar_id":"","url":"https://api.github.com/users/TheBrokenRail","html_url":"https://github.com/TheBrokenRail","followers_url":"https://api.github.com/users/TheBrokenRail/followers","following_url":"https://api.github.com/users/TheBrokenRail/following{/other_user}","gists_url":"https://api.github.com/users/TheBrokenRail/gists{/gist_id}","starred_url":"https://api.github.com/users/TheBrokenRail/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TheBrokenRail/subscriptions","organizations_url":"https://api.github.com/users/TheBrokenRail/orgs","repos_url":"https://api.github.com/users/TheBrokenRail/repos","events_url":"https://api.github.com/users/TheBrokenRail/events{/privacy}","received_events_url":"https://api.github.com/users/TheBrokenRail/received_events","type":"User","site_admin":false},"labels":[{"id":567739699,"node_id":"MDU6TGFiZWw1Njc3Mzk2OTk=","url":"https://api.github.com/repos/google/blockly/labels/affects:%20develop","name":"affects: develop","color":"bf4446","default":false},{"id":660689717,"node_id":"MDU6TGFiZWw2NjA2ODk3MTc=","url":"https://api.github.com/repos/google/blockly/labels/component:%20build%20process","name":"component: build process","color":"1d76e3","default":false},{"id":62694722,"node_id":"MDU6TGFiZWw2MjY5NDcyMg==","url":"https://api.github.com/repos/google/blockly/labels/type:%20bug","name":"type: bug","color":"f7b4b9","default":false}],"state":"open","locked":false,"assignee":{"login":"AnmAtAnm","id":9916202,"node_id":"MDQ6VXNlcjk5MTYyMDI=","avatar_url":"https://avatars1.githubusercontent.com/u/9916202?v=4","gravatar_id":"","url":"https://api.github.com/users/AnmAtAnm","html_url":"https://github.com/AnmAtAnm","followers_url":"https://api.github.com/users/AnmAtAnm/followers","following_url":"https://api.github.com/users/AnmAtAnm/following{/other_user}","gists_url":"https://api.github.com/users/AnmAtAnm/gists{/gist_id}","starred_url":"https://api.github.com/users/AnmAtAnm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AnmAtAnm/subscriptions","organizations_url":"https://api.github.com/users/AnmAtAnm/orgs","repos_url":"https://api.github.com/users/AnmAtAnm/repos","events_url":"https://api.github.com/users/AnmAtAnm/events{/privacy}","received_events_url":"https://api.github.com/users/AnmAtAnm/received_events","type":"User","site_admin":false},"assignees":[{"login":"AnmAtAnm","id":9916202,"node_id":"MDQ6VXNlcjk5MTYyMDI=","avatar_url":"https://avatars1.githubusercontent.com/u/9916202?v=4","gravatar_id":"","url":"https://api.github.com/users/AnmAtAnm","html_url":"https://github.com/AnmAtAnm","followers_url":"https://api.github.com/users/AnmAtAnm/followers","following_url":"https://api.github.com/users/AnmAtAnm/following{/other_user}","gists_url":"https://api.github.com/users/AnmAtAnm/gists{/gist_id}","starred_url":"https://api.github.com/users/AnmAtAnm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AnmAtAnm/subscriptions","organizations_url":"https://api.github.com/users/AnmAtAnm/orgs","repos_url":"https://api.github.com/users/AnmAtAnm/repos","events_url":"https://api.github.com/users/AnmAtAnm/events{/privacy}","received_events_url":"https://api.github.com/users/AnmAtAnm/received_events","type":"User","site_admin":false}],"milestone":null,"comments":0,"created_at":"2018-06-04T01:40:41Z","updated_at":"2018-06-04T18:17:07Z","closed_at":null,"author_association":"NONE","body":"### Problem statement\r\n\r\nWhen trying to delete a block it throws an error.\r\n\r\n### Expected Behavior\r\n\r\nThe block is deleted.\r\n\r\n### Actual Behavior\r\n\r\nIt throws an error.\r\n\r\n```\r\nUncaught TypeError: goog.Timer.defaultTimerObject.setTimeout is not a function\r\n    at Function.goog.Timer.callOnce (bundle.js:formatted:5591)\r\n    at Blockly.BlockDragger.maybeDeleteBlock_ (bundle.js:formatted:17759)\r\n    at Blockly.BlockDragger.endBlockDrag (bundle.js:formatted:17737)\r\n    at Blockly.TouchGesture.Blockly.Gesture.handleUp (bundle.js:formatted:18391)\r\n    at Blockly.TouchGesture.handleUp (bundle.js:formatted:19323)\r\n    at HTMLDocument.h (bundle.js:formatted:26732)\r\n```\r\n\r\n### Steps to Reproduce\r\n\r\n1. ```git clone https://github.com/TheBrokenRail/MicroBlocks.git```\r\n2. ```npm install```\r\n3. ```npm start```\r\n4. Go to ```localhost/editor``` in a web browser\r\n5. Try to delete a block\r\n\r\n### Operating System and Browser\r\n\r\nChrome on Ubuntu 18.04\r\n\r\n### Additional Information\r\n\r\nThis is on the Blockly develop branch for its ability to generate a Node.js compatible file.\r\n"},"comment":{"url":"https://api.github.com/repos/google/blockly/issues/comments/394449435","html_url":"https://github.com/google/blockly/issues/1901#issuecomment-394449435","issue_url":"https://api.github.com/repos/google/blockly/issues/1901","id":394449435,"node_id":"MDEyOklzc3VlQ29tbWVudDM5NDQ0OTQzNQ==","user":{"login":"AnmAtAnm","id":9916202,"node_id":"MDQ6VXNlcjk5MTYyMDI=","avatar_url":"https://avatars1.githubusercontent.com/u/9916202?v=4","gravatar_id":"","url":"https://api.github.com/users/AnmAtAnm","html_url":"https://github.com/AnmAtAnm","followers_url":"https://api.github.com/users/AnmAtAnm/followers","following_url":"https://api.github.com/users/AnmAtAnm/following{/other_user}","gists_url":"https://api.github.com/users/AnmAtAnm/gists{/gist_id}","starred_url":"https://api.github.com/users/AnmAtAnm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AnmAtAnm/subscriptions","organizations_url":"https://api.github.com/users/AnmAtAnm/orgs","repos_url":"https://api.github.com/users/AnmAtAnm/repos","events_url":"https://api.github.com/users/AnmAtAnm/events{/privacy}","received_events_url":"https://api.github.com/users/AnmAtAnm/received_events","type":"User","site_admin":false},"created_at":"2018-06-04T18:17:07Z","updated_at":"2018-06-04T18:17:07Z","author_association":"MEMBER","body":"Note for my own clarification: The above linked repo is using Blockly as a direct git dependency via NPM, calls `npm install` in that dependent module (concatenating the `core`/`blocks`/`javascript` files), and loads it into a client-side page via browserify.\r\n\r\nFYI: The files that `npm install` concatenates are not rebuilt on every develop branch commit. They may be weeks out of date with the actual source."}}
{"actor":{"display_login":"AnmAtAnm"}}