{"action":"created","issue":{"url":"https://api.github.com/repos/Polymer/polymer-modulizer/issues/324","repository_url":"https://api.github.com/repos/Polymer/polymer-modulizer","labels_url":"https://api.github.com/repos/Polymer/polymer-modulizer/issues/324/labels{/name}","comments_url":"https://api.github.com/repos/Polymer/polymer-modulizer/issues/324/comments","events_url":"https://api.github.com/repos/Polymer/polymer-modulizer/issues/324/events","html_url":"https://github.com/Polymer/polymer-modulizer/issues/324","id":296073276,"number":324,"title":"Certain HTML files are being needlessly converted to modules","user":{"login":"e111077","id":5981958,"avatar_url":"https://avatars0.githubusercontent.com/u/5981958?v=4","gravatar_id":"","url":"https://api.github.com/users/e111077","html_url":"https://github.com/e111077","followers_url":"https://api.github.com/users/e111077/followers","following_url":"https://api.github.com/users/e111077/following{/other_user}","gists_url":"https://api.github.com/users/e111077/gists{/gist_id}","starred_url":"https://api.github.com/users/e111077/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/e111077/subscriptions","organizations_url":"https://api.github.com/users/e111077/orgs","repos_url":"https://api.github.com/users/e111077/repos","events_url":"https://api.github.com/users/e111077/events{/privacy}","received_events_url":"https://api.github.com/users/e111077/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-02-10T04:40:53Z","updated_at":"2018-02-10T04:53:32Z","closed_at":null,"author_association":"MEMBER","body":"Some HTML files have only a script inside of them and do not define elements. An example:\r\n\r\nhttps://github.com/PolymerElements/app-layout/blob/master/app-scroll-effects/test/utils.html\r\n\r\nThis makes the function sameCSS visible to the [tests](https://github.com/PolymerElements/app-layout/blob/master/app-scroll-effects/test/parallax-background.html#L23), but if it is turned into a module then that function is not being exported.\r\n\r\nPossible solutions:\r\n1. Define this as a \"wrapper\"\r\n2. find top-level functions and export them and import them\r\n3. Fix this repo side and change it to `window.sameCSS = function (...`\r\n"},"comment":{"url":"https://api.github.com/repos/Polymer/polymer-modulizer/issues/comments/364626214","html_url":"https://github.com/Polymer/polymer-modulizer/issues/324#issuecomment-364626214","issue_url":"https://api.github.com/repos/Polymer/polymer-modulizer/issues/324","id":364626214,"user":{"login":"stramel","id":855184,"avatar_url":"https://avatars1.githubusercontent.com/u/855184?v=4","gravatar_id":"","url":"https://api.github.com/users/stramel","html_url":"https://github.com/stramel","followers_url":"https://api.github.com/users/stramel/followers","following_url":"https://api.github.com/users/stramel/following{/other_user}","gists_url":"https://api.github.com/users/stramel/gists{/gist_id}","starred_url":"https://api.github.com/users/stramel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stramel/subscriptions","organizations_url":"https://api.github.com/users/stramel/orgs","repos_url":"https://api.github.com/users/stramel/repos","events_url":"https://api.github.com/users/stramel/events{/privacy}","received_events_url":"https://api.github.com/users/stramel/received_events","type":"User","site_admin":false},"created_at":"2018-02-10T04:53:32Z","updated_at":"2018-02-10T04:53:32Z","author_association":"CONTRIBUTOR","body":"Link to the converted version of the file above: https://github.com/PolymerElements/app-layout/blob/__auto_generated_3.0_preview/app-scroll-effects/test/utils.js"}}
{"actor":{"display_login":"stramel"}}