projects
/
plack-app-gruntmaster.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Use const wherever possible in js/
[plack-app-gruntmaster.git]
/
js
/
05-makedom.js
diff --git
a/js/05-makedom.js
b/js/05-makedom.js
index 68026a1f00d0b532d80448418625e050f93634bc..389fe4cd893fe1c0405b70ef0706e31af6f597cc 100644
(file)
--- a/
js/05-makedom.js
+++ b/
js/05-makedom.js
@@
-1,5
+1,5
@@
function m(html) {
-
var
div = document.createElement("div");
+
const
div = document.createElement("div");
div.innerHTML = html;
return div.firstChild;
}
This page took
0.009087 seconds
and
4
git commands to generate.