{"action":"created","issue":{"url":"https://api.github.com/repos/nolanlawson/pouchdb-find/issues/55","labels_url":"https://api.github.com/repos/nolanlawson/pouchdb-find/issues/55/labels{/name}","comments_url":"https://api.github.com/repos/nolanlawson/pouchdb-find/issues/55/comments","events_url":"https://api.github.com/repos/nolanlawson/pouchdb-find/issues/55/events","html_url":"https://github.com/nolanlawson/pouchdb-find/issues/55","id":104464279,"number":55,"title":"Not working with pouch-4.0.0???","user":{"login":"wishabhilash","id":831818,"avatar_url":"https://avatars.githubusercontent.com/u/831818?v=3","gravatar_id":"","url":"https://api.github.com/users/wishabhilash","html_url":"https://github.com/wishabhilash","followers_url":"https://api.github.com/users/wishabhilash/followers","following_url":"https://api.github.com/users/wishabhilash/following{/other_user}","gists_url":"https://api.github.com/users/wishabhilash/gists{/gist_id}","starred_url":"https://api.github.com/users/wishabhilash/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wishabhilash/subscriptions","organizations_url":"https://api.github.com/users/wishabhilash/orgs","repos_url":"https://api.github.com/users/wishabhilash/repos","events_url":"https://api.github.com/users/wishabhilash/events{/privacy}","received_events_url":"https://api.github.com/users/wishabhilash/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-09-02T11:58:08Z","updated_at":"2015-09-02T19:51:06Z","closed_at":"2015-09-02T19:51:06Z","body":"Am using Pouchdb-4.0.0 and requirejs.\r\nIn require config:\r\n```json\r\n    paths: {\r\n        pouchdb: './lib/assets/pouchdb/pouchdb-4.0.0.min',\r\n        pouchdb_find: './lib/assets/pouchdb/pouchdb.find.min'\r\n    }\r\n```\r\nand...\r\n```json\r\n    shim: {\r\n        pouchdb_find: {\r\n\t\tdeps: ['pouchdb'],\r\n\t\texports: 'pouchdb_find'\r\n\t}\r\n    }\r\n```\r\nAlso included it in the define file after pouchdb:\r\n``` json   \r\n    'pouchdb',\r\n    'pouchdb_find',\r\n```\r\n\r\nIt throws error:\r\n    db.find is not a function.\r\n\r\nWhat might be wrong in this???"},"comment":{"url":"https://api.github.com/repos/nolanlawson/pouchdb-find/issues/comments/137225312","html_url":"https://github.com/nolanlawson/pouchdb-find/issues/55#issuecomment-137225312","issue_url":"https://api.github.com/repos/nolanlawson/pouchdb-find/issues/55","id":137225312,"user":{"login":"wishabhilash","id":831818,"avatar_url":"https://avatars.githubusercontent.com/u/831818?v=3","gravatar_id":"","url":"https://api.github.com/users/wishabhilash","html_url":"https://github.com/wishabhilash","followers_url":"https://api.github.com/users/wishabhilash/followers","following_url":"https://api.github.com/users/wishabhilash/following{/other_user}","gists_url":"https://api.github.com/users/wishabhilash/gists{/gist_id}","starred_url":"https://api.github.com/users/wishabhilash/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wishabhilash/subscriptions","organizations_url":"https://api.github.com/users/wishabhilash/orgs","repos_url":"https://api.github.com/users/wishabhilash/repos","events_url":"https://api.github.com/users/wishabhilash/events{/privacy}","received_events_url":"https://api.github.com/users/wishabhilash/received_events","type":"User","site_admin":false},"created_at":"2015-09-02T19:51:06Z","updated_at":"2015-09-02T19:51:06Z","body":"I tested pouchdb-find with v4 and it works. No problem there. But it would be awesome if it worked with requirejs. Lemme see if I can make it happen. Will ask for a pull request then."}}