Ben Nadel
On User Experience (UX) Design, JavaScript, ColdFusion, Node.js, Life, and Love.
Ben Nadel at the jQuery Conference 2011 (Cambridge, MA) with: Julian Aubourg
Ben Nadel at the jQuery Conference 2011 (Cambridge, MA) with: Julian Aubourg@jaubourg )

Yuriy Petrov

Member since Nov 2, 2010

Recent Blog Comments By Yuriy Petrov

  • Invoking Javascript Methods With Both Named And Ordered Arguments

    Posted on Nov 2, 2010 at 12:17 PM

    What about python-like decorator? function NamedArgsFunction(func) { return function (args) { if ($.isObject(args)) { return func.invoke(this, args); } return func.apply(this, arguments); } }; var sarah = { name: "Sarah", sayHello: NamedArgsFunction(function( name, compl... read more »