On Wed, 18 Sep 2013 16:18:05 +0200, James Greene <[email protected]> wrote:

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;

That doesn't work because `this` will be wrong. But you can add .bind(document) to fix that.

--
Simon Pieters
Opera Software

Reply via email to