{"action":"opened","number":78,"pull_request":{"state":"open","created_at":"2011-12-09T23:56:16Z","review_comments":0,"updated_at":"2011-12-09T23:56:16Z","changed_files":1,"_links":{"review_comments":{"href":"https://api.github.com/repos/brianleroux/lawnchair/pulls/78/comments"},"comments":{"href":"https://api.github.com/repos/brianleroux/lawnchair/issues/78/comments"},"html":{"href":"https://github.com/brianleroux/lawnchair/pull/78"},"self":{"href":"https://api.github.com/repos/brianleroux/lawnchair/pulls/78"}},"patch_url":"https://github.com/brianleroux/lawnchair/pull/78.patch","issue_url":"https://github.com/brianleroux/lawnchair/issues/78","comments":0,"user":{"gravatar_id":"7c9cb71e7a39897b2c6199a3a25cf3a3","id":46285,"url":"https://api.github.com/users/mattg","avatar_url":"https://secure.gravatar.com/avatar/7c9cb71e7a39897b2c6199a3a25cf3a3?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"mattg"},"merged":false,"body":"When options.adapter has a value (like webkit-sqlite) your version attempts to select the item from Lawnchair.adapters where the key equals options.adapter. Lawnchair.adapters has numeric keys, so an adapter is never selected. I fixed this by looping through Lawnchair.adapters and checking to see which adapter's adapter member is equal to options.adapter.","deletions":1,"commits":1,"mergeable":null,"id":579598,"additions":6,"base":{"repo":{"pushed_at":"2011-11-28T16:58:59Z","created_at":"2009-07-09T02:09:35Z","updated_at":"2011-12-09T23:42:50Z","private":false,"clone_url":"https://github.com/brianleroux/lawnchair.git","name":"lawnchair","svn_url":"https://svn.github.com/brianleroux/lawnchair","master_branch":null,"watchers":790,"language":"JavaScript","forks":81,"owner":{"gravatar_id":"778a0220d30fefe14c89cec0419fc389","id":990,"url":"https://api.github.com/users/brianleroux","avatar_url":"https://secure.gravatar.com/avatar/778a0220d30fefe14c89cec0419fc389?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"brianleroux"},"id":246773,"homepage":"http://brianleroux.github.com/lawnchair","description":"A lightweight clientside JSON document store,","git_url":"git://github.com/brianleroux/lawnchair.git","html_url":"https://github.com/brianleroux/lawnchair","size":300,"url":"https://api.github.com/repos/brianleroux/lawnchair","fork":false,"ssh_url":"git@github.com:brianleroux/lawnchair.git","open_issues":31},"user":{"gravatar_id":"778a0220d30fefe14c89cec0419fc389","id":990,"url":"https://api.github.com/users/brianleroux","avatar_url":"https://secure.gravatar.com/avatar/778a0220d30fefe14c89cec0419fc389?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"brianleroux"},"sha":"35b2f6bc1ab08fc2f37bb574646d9de0d3c4f295","ref":"master","label":"brianleroux:master"},"number":78,"merged_by":null,"head":{"repo":{"pushed_at":"2011-12-09T23:51:53Z","created_at":"2011-12-09T23:42:50Z","updated_at":"2011-12-09T23:51:54Z","private":false,"clone_url":"https://github.com/mattg/lawnchair.git","name":"lawnchair","svn_url":"https://svn.github.com/mattg/lawnchair","master_branch":null,"watchers":1,"language":"JavaScript","forks":0,"owner":{"gravatar_id":"7c9cb71e7a39897b2c6199a3a25cf3a3","id":46285,"url":"https://api.github.com/users/mattg","avatar_url":"https://secure.gravatar.com/avatar/7c9cb71e7a39897b2c6199a3a25cf3a3?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"mattg"},"id":2951007,"homepage":"http://brianleroux.github.com/lawnchair","description":"A lightweight clientside JSON document store,","git_url":"git://github.com/mattg/lawnchair.git","html_url":"https://github.com/mattg/lawnchair","size":124,"url":"https://api.github.com/repos/mattg/lawnchair","fork":true,"ssh_url":"git@github.com:mattg/lawnchair.git","open_issues":0},"user":{"gravatar_id":"7c9cb71e7a39897b2c6199a3a25cf3a3","id":46285,"url":"https://api.github.com/users/mattg","avatar_url":"https://secure.gravatar.com/avatar/7c9cb71e7a39897b2c6199a3a25cf3a3?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"mattg"},"sha":"c3aeabfaabf32dd1e70dca1ac4574ff2abf14d58","ref":"master","label":"mattg:master"},"title":"No adapter selected when options.adapter has a value","html_url":"https://github.com/brianleroux/lawnchair/pull/78","closed_at":null,"url":"https://api.github.com/repos/brianleroux/lawnchair/pulls/78","diff_url":"https://github.com/brianleroux/lawnchair/pull/78.diff","merged_at":null}}