{"action":"created","issue":{"url":"https://api.github.com/repos/zeusdeux/isInViewport/issues/18","labels_url":"https://api.github.com/repos/zeusdeux/isInViewport/issues/18/labels{/name}","comments_url":"https://api.github.com/repos/zeusdeux/isInViewport/issues/18/comments","events_url":"https://api.github.com/repos/zeusdeux/isInViewport/issues/18/events","html_url":"https://github.com/zeusdeux/isInViewport/issues/18","id":57769185,"number":18,"title":"Support .is() selector","user":{"login":"justrhysism","id":1326759,"avatar_url":"https://avatars.githubusercontent.com/u/1326759?v=3","gravatar_id":"","url":"https://api.github.com/users/justrhysism","html_url":"https://github.com/justrhysism","followers_url":"https://api.github.com/users/justrhysism/followers","following_url":"https://api.github.com/users/justrhysism/following{/other_user}","gists_url":"https://api.github.com/users/justrhysism/gists{/gist_id}","starred_url":"https://api.github.com/users/justrhysism/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/justrhysism/subscriptions","organizations_url":"https://api.github.com/users/justrhysism/orgs","repos_url":"https://api.github.com/users/justrhysism/repos","events_url":"https://api.github.com/users/justrhysism/events{/privacy}","received_events_url":"https://api.github.com/users/justrhysism/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-02-16T06:25:29Z","updated_at":"2015-02-17T01:05:13Z","closed_at":null,"body":"I regularly cache my jQuery elements early:\r\n\r\n```javascript\r\nvar $myElem = $('#my-elem');\r\n```\r\n\r\nIt would be super handy if I could use this plugin like:\r\n\r\n```javascript\r\nif ($myElem.is(':in-viewport')) {\r\n  // do stuff...\r\n}\r\n```"},"comment":{"url":"https://api.github.com/repos/zeusdeux/isInViewport/issues/comments/74601818","html_url":"https://github.com/zeusdeux/isInViewport/issues/18#issuecomment-74601818","issue_url":"https://api.github.com/repos/zeusdeux/isInViewport/issues/18","id":74601818,"user":{"login":"justrhysism","id":1326759,"avatar_url":"https://avatars.githubusercontent.com/u/1326759?v=3","gravatar_id":"","url":"https://api.github.com/users/justrhysism","html_url":"https://github.com/justrhysism","followers_url":"https://api.github.com/users/justrhysism/followers","following_url":"https://api.github.com/users/justrhysism/following{/other_user}","gists_url":"https://api.github.com/users/justrhysism/gists{/gist_id}","starred_url":"https://api.github.com/users/justrhysism/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/justrhysism/subscriptions","organizations_url":"https://api.github.com/users/justrhysism/orgs","repos_url":"https://api.github.com/users/justrhysism/repos","events_url":"https://api.github.com/users/justrhysism/events{/privacy}","received_events_url":"https://api.github.com/users/justrhysism/received_events","type":"User","site_admin":false},"created_at":"2015-02-17T01:05:13Z","updated_at":"2015-02-17T01:05:13Z","body":"I ended up not needing to use it that way when I was refactoring.\r\n\r\nHowever it might be worth adding that usage to your documentation (and closing this issue) :)."}}