{"action":"created","issue":{"url":"https://api.github.com/repos/marten-de-vries/pouchdb-fauxton-chrome-extension/issues/3","labels_url":"https://api.github.com/repos/marten-de-vries/pouchdb-fauxton-chrome-extension/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/marten-de-vries/pouchdb-fauxton-chrome-extension/issues/3/comments","events_url":"https://api.github.com/repos/marten-de-vries/pouchdb-fauxton-chrome-extension/issues/3/events","html_url":"https://github.com/marten-de-vries/pouchdb-fauxton-chrome-extension/issues/3","id":63971542,"number":3,"title":"Exposing PouchDB to window","user":{"login":"ArnoBuschmann","id":1889233,"avatar_url":"https://avatars.githubusercontent.com/u/1889233?v=3","gravatar_id":"","url":"https://api.github.com/users/ArnoBuschmann","html_url":"https://github.com/ArnoBuschmann","followers_url":"https://api.github.com/users/ArnoBuschmann/followers","following_url":"https://api.github.com/users/ArnoBuschmann/following{/other_user}","gists_url":"https://api.github.com/users/ArnoBuschmann/gists{/gist_id}","starred_url":"https://api.github.com/users/ArnoBuschmann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ArnoBuschmann/subscriptions","organizations_url":"https://api.github.com/users/ArnoBuschmann/orgs","repos_url":"https://api.github.com/users/ArnoBuschmann/repos","events_url":"https://api.github.com/users/ArnoBuschmann/events{/privacy}","received_events_url":"https://api.github.com/users/ArnoBuschmann/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-03-24T11:21:28Z","updated_at":"2015-03-31T09:08:29Z","closed_at":null,"body":"Hello,\r\n\r\nI installed the chrome extension and got the error message \"No PouchDB found. To use the current page with PouchDB-Fauxton, window.PouchDB needs to be set.\"\r\n\r\nSo to expose PouchDB to window I did:\r\n```javascript\r\nvar db = new PouchDB('localpouchdb');\r\nif (typeof window != \"undefined\") {window.PouchDB = db};\r\n```\r\nBut I still get an empty Fauxton layout. How can I fix this?\r\n"},"comment":{"url":"https://api.github.com/repos/marten-de-vries/pouchdb-fauxton-chrome-extension/issues/comments/88006701","html_url":"https://github.com/marten-de-vries/pouchdb-fauxton-chrome-extension/issues/3#issuecomment-88006701","issue_url":"https://api.github.com/repos/marten-de-vries/pouchdb-fauxton-chrome-extension/issues/3","id":88006701,"user":{"login":"ArnoBuschmann","id":1889233,"avatar_url":"https://avatars.githubusercontent.com/u/1889233?v=3","gravatar_id":"","url":"https://api.github.com/users/ArnoBuschmann","html_url":"https://github.com/ArnoBuschmann","followers_url":"https://api.github.com/users/ArnoBuschmann/followers","following_url":"https://api.github.com/users/ArnoBuschmann/following{/other_user}","gists_url":"https://api.github.com/users/ArnoBuschmann/gists{/gist_id}","starred_url":"https://api.github.com/users/ArnoBuschmann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ArnoBuschmann/subscriptions","organizations_url":"https://api.github.com/users/ArnoBuschmann/orgs","repos_url":"https://api.github.com/users/ArnoBuschmann/repos","events_url":"https://api.github.com/users/ArnoBuschmann/events{/privacy}","received_events_url":"https://api.github.com/users/ArnoBuschmann/received_events","type":"User","site_admin":false},"created_at":"2015-03-31T09:08:29Z","updated_at":"2015-03-31T09:08:29Z","body":"Oh well, it was there. I have been compacting the DB with it. Thereafter it was gone again. So I deleted the DB and made up a new one, still gone. That's strange, any idea?"}}