7 ms·
Though I did a poor job at documenting it, $.el is actually a function that accepts a tag name as the first parameter. The following two snippets are equivalen
by joestelmach 14y ago
Though I did a poor job at documenting it, $.el is actually a function that accepts a tag name as the first parameter. The following two snippets are equivalent:
$.el.div({className : 'foo'});
$.el('div', {className : 'foo'});
- firefoxman1 14y agoThat's awesome! Yeah I see it now in the source's comments. Thanks for pointing that out; I'm sold.