]> iEval git - plack-app-gruntmaster.git/blob - js/05-makedom.js
Make JS a bit simpler
[plack-app-gruntmaster.git] / js / 05-makedom.js
1 function m(html) {
2 const div = document.createElement("div");
3 div.innerHTML = html;
4 return div.firstChild;
5 }
6
7 function q(selector) {
8 return document.querySelector(selector);
9 }
This page took 0.04444 seconds and 5 git commands to generate.