{"action":"created","issue":{"url":"https://api.github.com/repos/meteor/meteor/issues/5630","labels_url":"https://api.github.com/repos/meteor/meteor/issues/5630/labels{/name}","comments_url":"https://api.github.com/repos/meteor/meteor/issues/5630/comments","events_url":"https://api.github.com/repos/meteor/meteor/issues/5630/events","html_url":"https://github.com/meteor/meteor/issues/5630","id":115677207,"number":5630,"title":"Improve `check` package to call Match.Where function only once","user":{"login":"bySabi","id":6242574,"avatar_url":"https://avatars.githubusercontent.com/u/6242574?v=3","gravatar_id":"","url":"https://api.github.com/users/bySabi","html_url":"https://github.com/bySabi","followers_url":"https://api.github.com/users/bySabi/followers","following_url":"https://api.github.com/users/bySabi/following{/other_user}","gists_url":"https://api.github.com/users/bySabi/gists{/gist_id}","starred_url":"https://api.github.com/users/bySabi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bySabi/subscriptions","organizations_url":"https://api.github.com/users/bySabi/orgs","repos_url":"https://api.github.com/users/bySabi/repos","events_url":"https://api.github.com/users/bySabi/events{/privacy}","received_events_url":"https://api.github.com/users/bySabi/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/meteor/meteor/labels/desired","name":"desired","color":"e6e6e6"},{"url":"https://api.github.com/repos/meteor/meteor/labels/Project:Utilities","name":"Project:Utilities","color":"fad8c7"},{"url":"https://api.github.com/repos/meteor/meteor/labels/pull-requests-encouraged","name":"pull-requests-encouraged","color":"e102d8"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-11-07T16:51:36Z","updated_at":"2015-11-11T18:19:46Z","closed_at":"2015-11-11T18:19:46Z","body":"The function on Match.Where is called two time is not fail.\r\n\r\n```file.js\r\ncheckFn = Match.Where(function(x) {\r\n  console.log('checkFn');\r\n  return true;\r\n})\r\n\r\ncheck('', checkFn);\r\n```\r\n\r\noutput this: \r\n\r\n```\r\n=> App running at: http://localhost:3000/\r\nI20151107-17:19:27.946(1)? checkFn\r\nI20151107-17:19:27.946(1)? checkFn\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/meteor/meteor/issues/comments/155866581","html_url":"https://github.com/meteor/meteor/issues/5630#issuecomment-155866581","issue_url":"https://api.github.com/repos/meteor/meteor/issues/5630","id":155866581,"user":{"login":"stubailo","id":448783,"avatar_url":"https://avatars.githubusercontent.com/u/448783?v=3","gravatar_id":"","url":"https://api.github.com/users/stubailo","html_url":"https://github.com/stubailo","followers_url":"https://api.github.com/users/stubailo/followers","following_url":"https://api.github.com/users/stubailo/following{/other_user}","gists_url":"https://api.github.com/users/stubailo/gists{/gist_id}","starred_url":"https://api.github.com/users/stubailo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stubailo/subscriptions","organizations_url":"https://api.github.com/users/stubailo/orgs","repos_url":"https://api.github.com/users/stubailo/repos","events_url":"https://api.github.com/users/stubailo/events{/privacy}","received_events_url":"https://api.github.com/users/stubailo/received_events","type":"User","site_admin":false},"created_at":"2015-11-11T18:19:46Z","updated_at":"2015-11-11T18:19:46Z","body":"Thanks for the fix! Glad it was that simple, I guess we just overlooked it in code review. It'll be out in the next version."}}