{"action":"created","issue":{"url":"https://api.github.com/repos/dfahlander/Dexie.js/issues/77","repository_url":"https://api.github.com/repos/dfahlander/Dexie.js","labels_url":"https://api.github.com/repos/dfahlander/Dexie.js/issues/77/labels{/name}","comments_url":"https://api.github.com/repos/dfahlander/Dexie.js/issues/77/comments","events_url":"https://api.github.com/repos/dfahlander/Dexie.js/issues/77/events","html_url":"https://github.com/dfahlander/Dexie.js/issues/77","id":62440853,"number":77,"title":"Just make it work on Safari","user":{"login":"dfahlander","id":6791329,"avatar_url":"https://avatars.githubusercontent.com/u/6791329?v=3","gravatar_id":"","url":"https://api.github.com/users/dfahlander","html_url":"https://github.com/dfahlander","followers_url":"https://api.github.com/users/dfahlander/followers","following_url":"https://api.github.com/users/dfahlander/following{/other_user}","gists_url":"https://api.github.com/users/dfahlander/gists{/gist_id}","starred_url":"https://api.github.com/users/dfahlander/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dfahlander/subscriptions","organizations_url":"https://api.github.com/users/dfahlander/orgs","repos_url":"https://api.github.com/users/dfahlander/repos","events_url":"https://api.github.com/users/dfahlander/events{/privacy}","received_events_url":"https://api.github.com/users/dfahlander/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-03-17T16:04:31Z","updated_at":"2016-06-16T09:34:06Z","closed_at":"2015-03-20T00:47:38Z","body":"I hereby file this issue as a todo item to make it possible to utilize the IndexedDBShim without having to modify it and call __useShim() etc. Just include the shim and then include Dexie and it should use the shim by default!\r\n\r\n== Background ==\r\n\r\nEver since Safari came with its poor native indexedDB support, lots of users have been struggeling with making Dexie work on Safari. There have been some workarounds introduced into Dexie that makes it behave better in Safari but still not perfect. Many users feel that due to the poor indexedDB support built-in to Safari, it would be better to continue using the IndexedDBShim (targetting the WebSQL backend). However, this had become really tricky and the following issues suggests how to make the shim work on modern safari browsers:\r\n\r\nIssue #68 \r\nIssue #65 \r\nIssue #63 \r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/dfahlander/Dexie.js/issues/comments/226436075","html_url":"https://github.com/dfahlander/Dexie.js/issues/77#issuecomment-226436075","issue_url":"https://api.github.com/repos/dfahlander/Dexie.js/issues/77","id":226436075,"user":{"login":"dfahlander","id":6791329,"avatar_url":"https://avatars.githubusercontent.com/u/6791329?v=3","gravatar_id":"","url":"https://api.github.com/users/dfahlander","html_url":"https://github.com/dfahlander","followers_url":"https://api.github.com/users/dfahlander/followers","following_url":"https://api.github.com/users/dfahlander/following{/other_user}","gists_url":"https://api.github.com/users/dfahlander/gists{/gist_id}","starred_url":"https://api.github.com/users/dfahlander/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dfahlander/subscriptions","organizations_url":"https://api.github.com/users/dfahlander/orgs","repos_url":"https://api.github.com/users/dfahlander/repos","events_url":"https://api.github.com/users/dfahlander/events{/privacy}","received_events_url":"https://api.github.com/users/dfahlander/received_events","type":"User","site_admin":false},"created_at":"2016-06-16T09:34:06Z","updated_at":"2016-06-16T09:34:06Z","body":"It's possible in version 1.4.x to specify the implementations of indexedDB and IDBKeyRange to use:\r\n\r\n```js\r\nvar db = new Dexie (\"MyDatabase\", {\r\n    indexedDB: window.indexedDB, // or the shim's version\r\n    IDBKeyRange: window.IDBKeyRange // or the shim's version.\r\n});\r\n```\r\n"}}
{"actor":{"display_login":"dfahlander"}}