{"action":"created","issue":{"url":"https://api.github.com/repos/npm-dom/dom-select/issues/4","labels_url":"https://api.github.com/repos/npm-dom/dom-select/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/npm-dom/dom-select/issues/4/comments","events_url":"https://api.github.com/repos/npm-dom/dom-select/issues/4/events","html_url":"https://github.com/npm-dom/dom-select/pull/4","id":119043011,"number":4,"title":"Select.all can select in an array of parents","user":{"login":"bfred-it","id":1402241,"avatar_url":"https://avatars.githubusercontent.com/u/1402241?v=3","gravatar_id":"","url":"https://api.github.com/users/bfred-it","html_url":"https://github.com/bfred-it","followers_url":"https://api.github.com/users/bfred-it/followers","following_url":"https://api.github.com/users/bfred-it/following{/other_user}","gists_url":"https://api.github.com/users/bfred-it/gists{/gist_id}","starred_url":"https://api.github.com/users/bfred-it/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bfred-it/subscriptions","organizations_url":"https://api.github.com/users/bfred-it/orgs","repos_url":"https://api.github.com/users/bfred-it/repos","events_url":"https://api.github.com/users/bfred-it/events{/privacy}","received_events_url":"https://api.github.com/users/bfred-it/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-11-26T13:19:57Z","updated_at":"2015-12-01T12:47:49Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/npm-dom/dom-select/pulls/4","html_url":"https://github.com/npm-dom/dom-select/pull/4","diff_url":"https://github.com/npm-dom/dom-select/pull/4.diff","patch_url":"https://github.com/npm-dom/dom-select/pull/4.patch"},"body":"`select.all('a', select.all('div'))` now is technically possible. In the real world one might need something like:\r\n\r\n```js\r\nvar someElements = select.all('.elements').filter(filterUnwanted);\r\nvar someLinksInElements = select.all('[href]', someElements);\r\n```\r\n\r\nOr:\r\n\r\n```js\r\nvar someElements = select.all('a', [parentFoo, parentBar]);\r\n```\r\n\r\nI simplified this a lot from what I originally had and I tested it again on a production site.\r\n\r\nThoughts? This is the most I'd ask this lib to do. If it sounds cool I'll update the docs."},"comment":{"url":"https://api.github.com/repos/npm-dom/dom-select/issues/comments/160957312","html_url":"https://github.com/npm-dom/dom-select/pull/4#issuecomment-160957312","issue_url":"https://api.github.com/repos/npm-dom/dom-select/issues/4","id":160957312,"user":{"login":"bfred-it","id":1402241,"avatar_url":"https://avatars.githubusercontent.com/u/1402241?v=3","gravatar_id":"","url":"https://api.github.com/users/bfred-it","html_url":"https://github.com/bfred-it","followers_url":"https://api.github.com/users/bfred-it/followers","following_url":"https://api.github.com/users/bfred-it/following{/other_user}","gists_url":"https://api.github.com/users/bfred-it/gists{/gist_id}","starred_url":"https://api.github.com/users/bfred-it/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bfred-it/subscriptions","organizations_url":"https://api.github.com/users/bfred-it/orgs","repos_url":"https://api.github.com/users/bfred-it/repos","events_url":"https://api.github.com/users/bfred-it/events{/privacy}","received_events_url":"https://api.github.com/users/bfred-it/received_events","type":"User","site_admin":false},"created_at":"2015-12-01T12:47:49Z","updated_at":"2015-12-01T12:47:49Z","body":"If you're interested in this feature I can likely improve the performance considerably by not using \"functional\" programming."}}