X-Git-Url: http://git.ieval.ro/?a=blobdiff_plain;f=js%2F05-makedom.js;h=a938d2cb4e13a94183430c5052861b0d481e5936;hb=68b0f287c76694f2935b6039a42d6359287f4c4f;hp=389fe4cd893fe1c0405b70ef0706e31af6f597cc;hpb=65d5cb3b6007fa0bc758722983b3f0afefc02f2e;p=plack-app-gruntmaster.git diff --git a/js/05-makedom.js b/js/05-makedom.js index 389fe4c..a938d2c 100644 --- a/js/05-makedom.js +++ b/js/05-makedom.js @@ -3,3 +3,7 @@ function m(html) { div.innerHTML = html; return div.firstChild; } + +function q(selector) { + return document.querySelector(selector); +}