Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on RE:DOM – Tiny DOM library. Parent comment
var input = crel('input', {type:'email'});
vs:
var wrapper = document.createElement('div'); wrapper.innerHTML = '<input type="email">'; var input = wrapper.children[0];
There are no comments on this comment yet.
var input = crel('input', {type:'email'});
vs:
var wrapper = document.createElement('div'); wrapper.innerHTML = '<input type="email">'; var input = wrapper.children[0];