{"action":"opened","issue":{"url":"https://api.github.com/repos/dart-lang/web-components/issues/6","labels_url":"https://api.github.com/repos/dart-lang/web-components/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/dart-lang/web-components/issues/6/comments","events_url":"https://api.github.com/repos/dart-lang/web-components/issues/6/events","html_url":"https://github.com/dart-lang/web-components/issues/6","id":57222813,"number":6,"title":"Add support for url constructor arguments in inline script tags","user":{"login":"jakemac53","id":984921,"avatar_url":"https://avatars.githubusercontent.com/u/984921?v=3","gravatar_id":"","url":"https://api.github.com/users/jakemac53","html_url":"https://github.com/jakemac53","followers_url":"https://api.github.com/users/jakemac53/followers","following_url":"https://api.github.com/users/jakemac53/following{/other_user}","gists_url":"https://api.github.com/users/jakemac53/gists{/gist_id}","starred_url":"https://api.github.com/users/jakemac53/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jakemac53/subscriptions","organizations_url":"https://api.github.com/users/jakemac53/orgs","repos_url":"https://api.github.com/users/jakemac53/repos","events_url":"https://api.github.com/users/jakemac53/events{/privacy}","received_events_url":"https://api.github.com/users/jakemac53/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-02-10T19:25:27Z","updated_at":"2015-02-10T19:25:27Z","closed_at":null,"body":"Currently, @HtmlImport doesn't work right if it appears in a separate package with a relative url inside of an inline script tag. The ScriptCompactor makes a new file next to the original entry point and doesn't know how to detect relative urls that it should fix up.\r\n\r\nThis could possibly be done with an @url annotation on the constructor field, or something along those lines."}}