I may be missing something obvious but before I create my own, is
there a function to avoid me needing to do the following:

function(){
    this.doSomething();
    return false;
}.bind(this)

E.g. something like:

this.doSomething.bind(this).returnFalse();

Or even better being able to replace the bind function with
returnFalse. The $lambda function isn't really what I need since
doSomething could return true. I just need the "return false" part for
links, and having to keep creating functions manually seems
unnecessary.

So does this exist already.. or should I just create my own function
for it?

Reply via email to