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