Aww, accidentally did a direct reply instead of replying to the list. :( On Sep 18, 2013 7:01 AM, "James Greene" <[email protected]> wrote:
> var q = document.querySelector; > var qq = document.querySelectorAll; > On Sep 18, 2013 3:14 AM, "Leon Gilyadov" <[email protected]> wrote: > >> *The problem:* >> document.querySelector and document.querySelectorAll >> are long and used a lot. >> >> Lines in the code are long. >> >> *Proposal:* >> q('.my-div') >> will be equal to: >> document.querySelector('.my-div) >> >> qq('.my-div') >> will be equal to: >> document.querySelectorAll('.my-div') >> >> >> --Leon Gilyadov. >> >
