{"action":"created","issue":{"url":"https://api.github.com/repos/pangloss/vim-javascript/issues/312","labels_url":"https://api.github.com/repos/pangloss/vim-javascript/issues/312/labels{/name}","comments_url":"https://api.github.com/repos/pangloss/vim-javascript/issues/312/comments","events_url":"https://api.github.com/repos/pangloss/vim-javascript/issues/312/events","html_url":"https://github.com/pangloss/vim-javascript/pull/312","id":109975983,"number":312,"title":"Add common DOM Functions","user":{"login":"simono","id":874148,"avatar_url":"https://avatars.githubusercontent.com/u/874148?v=3","gravatar_id":"","url":"https://api.github.com/users/simono","html_url":"https://github.com/simono","followers_url":"https://api.github.com/users/simono/followers","following_url":"https://api.github.com/users/simono/following{/other_user}","gists_url":"https://api.github.com/users/simono/gists{/gist_id}","starred_url":"https://api.github.com/users/simono/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/simono/subscriptions","organizations_url":"https://api.github.com/users/simono/orgs","repos_url":"https://api.github.com/users/simono/repos","events_url":"https://api.github.com/users/simono/events{/privacy}","received_events_url":"https://api.github.com/users/simono/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-10-06T10:06:17Z","updated_at":"2015-10-06T11:40:29Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/pangloss/vim-javascript/pulls/312","html_url":"https://github.com/pangloss/vim-javascript/pull/312","diff_url":"https://github.com/pangloss/vim-javascript/pull/312.diff","patch_url":"https://github.com/pangloss/vim-javascript/pull/312.patch"},"body":"getElementById and getElementsByClassName are two often used Functions."},"comment":{"url":"https://api.github.com/repos/pangloss/vim-javascript/issues/comments/145830641","html_url":"https://github.com/pangloss/vim-javascript/pull/312#issuecomment-145830641","issue_url":"https://api.github.com/repos/pangloss/vim-javascript/issues/312","id":145830641,"user":{"login":"Delapouite","id":39315,"avatar_url":"https://avatars.githubusercontent.com/u/39315?v=3","gravatar_id":"","url":"https://api.github.com/users/Delapouite","html_url":"https://github.com/Delapouite","followers_url":"https://api.github.com/users/Delapouite/followers","following_url":"https://api.github.com/users/Delapouite/following{/other_user}","gists_url":"https://api.github.com/users/Delapouite/gists{/gist_id}","starred_url":"https://api.github.com/users/Delapouite/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Delapouite/subscriptions","organizations_url":"https://api.github.com/users/Delapouite/orgs","repos_url":"https://api.github.com/users/Delapouite/repos","events_url":"https://api.github.com/users/Delapouite/events{/privacy}","received_events_url":"https://api.github.com/users/Delapouite/received_events","type":"User","site_admin":false},"created_at":"2015-10-06T11:40:29Z","updated_at":"2015-10-06T11:40:29Z","body":"Thanks for this addition @simono \r\nBut what about other popular functions like `querySelector` or `querySelectorAll`… ?\r\n\r\nI see two exclusive options here : \r\n\r\n- extract all the DOM / HTML specific syntax to its own companion plugin. By developping it independently, it will be more complete. Also, people working with pure JS on the server side will have a lighter plugin without all the client side mess.\r\n- be exhaustive and follow the spec, which is quite huge."}}