[whatwg] Proposal: q and qq for document.querySelector and document.querySelectorAll

*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.

Received on Wednesday, 18 September 2013 08:14:30 UTC