{"action":"created","issue":{"url":"https://api.github.com/repos/riot/riot/issues/963","labels_url":"https://api.github.com/repos/riot/riot/issues/963/labels{/name}","comments_url":"https://api.github.com/repos/riot/riot/issues/963/comments","events_url":"https://api.github.com/repos/riot/riot/issues/963/events","html_url":"https://github.com/riot/riot/issues/963","id":94642892,"number":963,"title":"[Suggestion] Also support Set and Map in loop","user":{"login":"rwu823","id":890063,"avatar_url":"https://avatars.githubusercontent.com/u/890063?v=3","gravatar_id":"","url":"https://api.github.com/users/rwu823","html_url":"https://github.com/rwu823","followers_url":"https://api.github.com/users/rwu823/followers","following_url":"https://api.github.com/users/rwu823/following{/other_user}","gists_url":"https://api.github.com/users/rwu823/gists{/gist_id}","starred_url":"https://api.github.com/users/rwu823/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rwu823/subscriptions","organizations_url":"https://api.github.com/users/rwu823/orgs","repos_url":"https://api.github.com/users/rwu823/repos","events_url":"https://api.github.com/users/rwu823/events{/privacy}","received_events_url":"https://api.github.com/users/rwu823/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/riot/riot/labels/enhancement","name":"enhancement","color":"eb6420"},{"url":"https://api.github.com/repos/riot/riot/labels/feature%20request","name":"feature request","color":"5319e7"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-07-13T05:29:56Z","updated_at":"2015-07-16T07:01:09Z","closed_at":null,"body":"Currently riot supported `Array` and `Object` types in loop, but sometimes we need `Set` or `Map` let it work better, both are standard and native support `forEach` method.\r\n\r\nSo I think this is make sense to implement?\r\n\r\nhttp://jsfiddle.net/zr2uhL4g/"},"comment":{"url":"https://api.github.com/repos/riot/riot/issues/comments/121852719","html_url":"https://github.com/riot/riot/issues/963#issuecomment-121852719","issue_url":"https://api.github.com/repos/riot/riot/issues/963","id":121852719,"user":{"login":"cdanielw","id":149204,"avatar_url":"https://avatars.githubusercontent.com/u/149204?v=3","gravatar_id":"","url":"https://api.github.com/users/cdanielw","html_url":"https://github.com/cdanielw","followers_url":"https://api.github.com/users/cdanielw/followers","following_url":"https://api.github.com/users/cdanielw/following{/other_user}","gists_url":"https://api.github.com/users/cdanielw/gists{/gist_id}","starred_url":"https://api.github.com/users/cdanielw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cdanielw/subscriptions","organizations_url":"https://api.github.com/users/cdanielw/orgs","repos_url":"https://api.github.com/users/cdanielw/repos","events_url":"https://api.github.com/users/cdanielw/events{/privacy}","received_events_url":"https://api.github.com/users/cdanielw/received_events","type":"User","site_admin":false},"created_at":"2015-07-16T07:01:09Z","updated_at":"2015-07-16T07:01:09Z","body":"I would extend this feature request to include any ES6 Iterable and Iterator.\r\nhttps://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Iteration_protocols\r\n\r\nIn my case, I wanted to loop over an immutable-js collection.\r\n\r\nI've been playing with an implementation for this, but I haven't made any push request - I don't know riot enough to be certain it doesn't break anything. You can still have a look though:\r\nhttps://github.com/cdanielw/riot/blob/master/lib/browser/tag/each.js"}}