{"action":"closed","issue":{"url":"https://api.github.com/repos/substance/substance/issues/249","repository_url":"https://api.github.com/repos/substance/substance","labels_url":"https://api.github.com/repos/substance/substance/issues/249/labels{/name}","comments_url":"https://api.github.com/repos/substance/substance/issues/249/comments","events_url":"https://api.github.com/repos/substance/substance/issues/249/events","html_url":"https://github.com/substance/substance/issues/249","id":117108212,"number":249,"title":"Implement DOMElement#find for Components","user":{"login":"michael","id":2931,"avatar_url":"https://avatars.githubusercontent.com/u/2931?v=3","gravatar_id":"","url":"https://api.github.com/users/michael","html_url":"https://github.com/michael","followers_url":"https://api.github.com/users/michael/followers","following_url":"https://api.github.com/users/michael/following{/other_user}","gists_url":"https://api.github.com/users/michael/gists{/gist_id}","starred_url":"https://api.github.com/users/michael/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michael/subscriptions","organizations_url":"https://api.github.com/users/michael/orgs","repos_url":"https://api.github.com/users/michael/repos","events_url":"https://api.github.com/users/michael/events{/privacy}","received_events_url":"https://api.github.com/users/michael/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/substance/substance/milestones/4","html_url":"https://github.com/substance/substance/milestones/Beta%204","labels_url":"https://api.github.com/repos/substance/substance/milestones/4/labels","id":1323790,"number":4,"title":"Beta 4","description":"","creator":{"login":"michael","id":2931,"avatar_url":"https://avatars.githubusercontent.com/u/2931?v=3","gravatar_id":"","url":"https://api.github.com/users/michael","html_url":"https://github.com/michael","followers_url":"https://api.github.com/users/michael/followers","following_url":"https://api.github.com/users/michael/following{/other_user}","gists_url":"https://api.github.com/users/michael/gists{/gist_id}","starred_url":"https://api.github.com/users/michael/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michael/subscriptions","organizations_url":"https://api.github.com/users/michael/orgs","repos_url":"https://api.github.com/users/michael/repos","events_url":"https://api.github.com/users/michael/events{/privacy}","received_events_url":"https://api.github.com/users/michael/received_events","type":"User","site_admin":false},"open_issues":98,"closed_issues":72,"state":"open","created_at":"2015-09-25T13:18:30Z","updated_at":"2016-06-13T16:19:58Z","due_on":null,"closed_at":null},"comments":8,"created_at":"2015-11-16T11:52:18Z","updated_at":"2016-06-13T16:19:58Z","closed_at":"2016-06-13T16:19:58Z","body":"Would be useful regarding getting the jQuery dependencies out if you could search inside component instances.\r\n\r\nE.g. this code:\r\n\r\n```js\r\nvar $panelContent = this.refs.panelContent.$el;\r\nvar tocNodeEl = $panelContent.find('[data-id='+tocNodeId+']');\r\n```\r\n\r\nCould change into:\r\n\r\n```js\r\n// this = ContentPanel component\r\nvar tocNodeEl = this.find('[data-id='+tocNodeId+']');\r\n```\r\n\r\nWe would then not get a jQuery element but our own DOMElement. The question is should we continue implementing the jQuery API here e.g. i would need the position() method. So instead of `tocNodeEl.$el.position().top` I could do just `tocNodeEl.position().top`."}}
{"actor":{"display_login":"oliver----"}}