{"action":"created","issue":{"url":"https://api.github.com/repos/angular/material2/issues/963","repository_url":"https://api.github.com/repos/angular/material2","labels_url":"https://api.github.com/repos/angular/material2/issues/963/labels{/name}","comments_url":"https://api.github.com/repos/angular/material2/issues/963/comments","events_url":"https://api.github.com/repos/angular/material2/issues/963/events","html_url":"https://github.com/angular/material2/issues/963","id":170073449,"number":963,"title":"bug alpha 6-3 - url_resolver.js:238Uncaught TypeError: uri.match is not a function, when using latest compiler-builds","user":{"login":"qdouble","id":10415224,"avatar_url":"https://avatars.githubusercontent.com/u/10415224?v=3","gravatar_id":"","url":"https://api.github.com/users/qdouble","html_url":"https://github.com/qdouble","followers_url":"https://api.github.com/users/qdouble/followers","following_url":"https://api.github.com/users/qdouble/following{/other_user}","gists_url":"https://api.github.com/users/qdouble/gists{/gist_id}","starred_url":"https://api.github.com/users/qdouble/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/qdouble/subscriptions","organizations_url":"https://api.github.com/users/qdouble/orgs","repos_url":"https://api.github.com/users/qdouble/repos","events_url":"https://api.github.com/users/qdouble/events{/privacy}","received_events_url":"https://api.github.com/users/qdouble/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-08-09T03:23:31Z","updated_at":"2016-08-09T21:26:52Z","closed_at":"2016-08-09T21:26:52Z","body":"Building a project with alpha 6-3 and the latest compiler build using ngModules seems to crash when you use materials modules. This commit to the compiler broke it: https://github.com/angular/angular/commit/83e2d3d1cb62660bdbb06353edc2e063fc3e56d0\r\n\r\nOn line 238 of url_resolver.js, if you change \r\n```\r\nfunction _split(uri) {\r\n    return uri.match(_splitRe);\r\n}\r\n```\r\nto \r\n```\r\nfunction _split(uri) {\r\n   if (typeof uri === 'string')\r\n    return uri.match(_splitRe);\r\n}\r\n``` \r\nit will work, as it appears that the material modules are exporting numbers instead of strings. If I console.log uri, MdButtonModule will pass it the number 436 and also the string 'package:436' for example. The number is causing the crash.\r\n\r\nI know it was mentioned that this is experimental release, but just making sure that this is a known issue and addressed before next release. "},"comment":{"url":"https://api.github.com/repos/angular/material2/issues/comments/238697108","html_url":"https://github.com/angular/material2/issues/963#issuecomment-238697108","issue_url":"https://api.github.com/repos/angular/material2/issues/963","id":238697108,"user":{"login":"jelbourn","id":838736,"avatar_url":"https://avatars.githubusercontent.com/u/838736?v=3","gravatar_id":"","url":"https://api.github.com/users/jelbourn","html_url":"https://github.com/jelbourn","followers_url":"https://api.github.com/users/jelbourn/followers","following_url":"https://api.github.com/users/jelbourn/following{/other_user}","gists_url":"https://api.github.com/users/jelbourn/gists{/gist_id}","starred_url":"https://api.github.com/users/jelbourn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jelbourn/subscriptions","organizations_url":"https://api.github.com/users/jelbourn/orgs","repos_url":"https://api.github.com/users/jelbourn/repos","events_url":"https://api.github.com/users/jelbourn/events{/privacy}","received_events_url":"https://api.github.com/users/jelbourn/received_events","type":"User","site_admin":false},"created_at":"2016-08-09T21:26:52Z","updated_at":"2016-08-09T21:26:52Z","body":"I don't think this is an issue with the released alpha.7. Feel free to re-file if you're still running into a problem."}}
{"actor":{"display_login":"jelbourn"}}