PDA

View Full Version : [OPEN]Ext.pass(myFunction, arg1, arg2) does not work as documented



JorisA
26 Feb 2011, 6:45 AM
Doc state:
Creates a callback that passes arguments[0], arguments[1], arguments[2], ... Call directly on any function. Example: Ext.pass(myFunction, arg1, arg2) Will create a function that is bound to those 2 args.

But it only appears to work when calling Ext.pass(myFunction, [arg1, arg2])