{"action":"created","issue":{"url":"https://api.github.com/repos/PolymerElements/app-storage/issues/43","repository_url":"https://api.github.com/repos/PolymerElements/app-storage","labels_url":"https://api.github.com/repos/PolymerElements/app-storage/issues/43/labels{/name}","comments_url":"https://api.github.com/repos/PolymerElements/app-storage/issues/43/comments","events_url":"https://api.github.com/repos/PolymerElements/app-storage/issues/43/events","html_url":"https://github.com/PolymerElements/app-storage/issues/43","id":157485273,"number":43,"title":"Error importing the app-indexeddb-mirror.html","user":{"login":"abdonrd","id":1007051,"avatar_url":"https://avatars.githubusercontent.com/u/1007051?v=3","gravatar_id":"","url":"https://api.github.com/users/abdonrd","html_url":"https://github.com/abdonrd","followers_url":"https://api.github.com/users/abdonrd/followers","following_url":"https://api.github.com/users/abdonrd/following{/other_user}","gists_url":"https://api.github.com/users/abdonrd/gists{/gist_id}","starred_url":"https://api.github.com/users/abdonrd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abdonrd/subscriptions","organizations_url":"https://api.github.com/users/abdonrd/orgs","repos_url":"https://api.github.com/users/abdonrd/repos","events_url":"https://api.github.com/users/abdonrd/events{/privacy}","received_events_url":"https://api.github.com/users/abdonrd/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-05-30T11:32:49Z","updated_at":"2016-05-30T11:42:32Z","closed_at":null,"body":"Error when I import the `app-storage/app-indexeddb-mirror/app-indexeddb-mirror.html`.\r\nOnly import, even without instantiating the element.\r\n\r\n![screen shot 2016-05-30 at 13 25 28](https://cloud.githubusercontent.com/assets/1007051/15648381/7ec821ba-266a-11e6-9028-7b772adf4a23.png)\r\n\r\nAll my code [is here](https://github.com/GDGSpain/gdg.es/blob/feature/add_firebase/src/gdgspain-groups.html)."},"comment":{"url":"https://api.github.com/repos/PolymerElements/app-storage/issues/comments/222474666","html_url":"https://github.com/PolymerElements/app-storage/issues/43#issuecomment-222474666","issue_url":"https://api.github.com/repos/PolymerElements/app-storage/issues/43","id":222474666,"user":{"login":"abdonrd","id":1007051,"avatar_url":"https://avatars.githubusercontent.com/u/1007051?v=3","gravatar_id":"","url":"https://api.github.com/users/abdonrd","html_url":"https://github.com/abdonrd","followers_url":"https://api.github.com/users/abdonrd/followers","following_url":"https://api.github.com/users/abdonrd/following{/other_user}","gists_url":"https://api.github.com/users/abdonrd/gists{/gist_id}","starred_url":"https://api.github.com/users/abdonrd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abdonrd/subscriptions","organizations_url":"https://api.github.com/users/abdonrd/orgs","repos_url":"https://api.github.com/users/abdonrd/repos","events_url":"https://api.github.com/users/abdonrd/events{/privacy}","received_events_url":"https://api.github.com/users/abdonrd/received_events","type":"User","site_admin":false},"created_at":"2016-05-30T11:42:32Z","updated_at":"2016-05-30T11:42:32Z","body":"The [common-worker.html error](https://github.com/PolymerElements/app-storage/blob/master/app-indexeddb-mirror/common-worker.html#L17-L19) is because the `document._currentScript` is `undefined`:\r\n\r\n``` javascript\r\nvar BASE_URI = document._currentScript.ownerDocument.baseURI;\r\nvar WORKER_SCOPE_URL = Polymer.ResolveUrl.resolveUrl('common-worker-scope.js', BASE_URI);\r\n```\r\n\r\n( I has tried to hardcoded the `WORKER_SCOPE_URL` variable, and it works. )"}}
{"actor":{"display_login":"abdonrd"}}