{"action":"opened","issue":{"url":"https://api.github.com/repos/MUSELAB/pxt-wifi-shield/issues/1","repository_url":"https://api.github.com/repos/MUSELAB/pxt-wifi-shield","labels_url":"https://api.github.com/repos/MUSELAB/pxt-wifi-shield/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/MUSELAB/pxt-wifi-shield/issues/1/comments","events_url":"https://api.github.com/repos/MUSELAB/pxt-wifi-shield/issues/1/events","html_url":"https://github.com/MUSELAB/pxt-wifi-shield/issues/1","id":360994877,"node_id":"MDU6SXNzdWUzNjA5OTQ4Nzc=","number":1,"title":"Validate the use of division operator in this package for MakeCode update","user":{"login":"abchatra","id":6107272,"node_id":"MDQ6VXNlcjYxMDcyNzI=","avatar_url":"https://avatars2.githubusercontent.com/u/6107272?v=4","gravatar_id":"","url":"https://api.github.com/users/abchatra","html_url":"https://github.com/abchatra","followers_url":"https://api.github.com/users/abchatra/followers","following_url":"https://api.github.com/users/abchatra/following{/other_user}","gists_url":"https://api.github.com/users/abchatra/gists{/gist_id}","starred_url":"https://api.github.com/users/abchatra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abchatra/subscriptions","organizations_url":"https://api.github.com/users/abchatra/orgs","repos_url":"https://api.github.com/users/abchatra/repos","events_url":"https://api.github.com/users/abchatra/events{/privacy}","received_events_url":"https://api.github.com/users/abchatra/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-09-17T18:45:31Z","updated_at":"2018-09-17T18:45:31Z","closed_at":null,"author_association":"NONE","body":"MakeCode for the micro:bit update is coming soon. Part of the update is floating point support. Existing MakeCode website supports only integer division which means\r\n1/2 = 0\r\nWith this update 1/2 = 0.5\r\n\r\n__Action for you:__\r\nWe have automatically detected this package uses division operator. Please take one of the following actions\r\n- If the change to floating point division doesn't matter you can ignore and close this issue.\r\n- If you want integer division then update your package typescript code to use integer division. Change  _a/b_ to  _Math.idiv(a, b)_\r\n\r\nYou can test your package on the update here: https://makecode.microbit.org/beta\r\n\r\nAll the details on the update: https://makecode.com/blog/microbit/v1-beta\r\n\r\ndiv found in wifi.ts"}}
{"actor":{"display_login":"abchatra"}}