-
9 Nov 2011 3:00 AM #1
Ext.Function.createBuffered() ignores the caller's arguments
Ext.Function.createBuffered() ignores the caller's arguments
A function created with Ext.Function.createBuffered() does not receive the arguments set by the caller.
But:Code:var f = Ext.Function.createBuffered(function () { console.dir(arguments); }, 50, window, ["foo"]); f(1, 2, 3); // outputs ["foo"] as expected
Code:var f = Ext.Function.createBuffered(function () { console.dir(arguments); }, 50); f(1, 2, 3); // outputs [0] when it should be [1, 2, 3]
-
9 Nov 2011 4:36 AM #2Sencha - Senior Forum Manager
- Join Date
- Mar 2007
- Location
- St. Louis, MO
- Posts
- 33,656
- Vote Rating
- 435
Thank you for the report!
Mitchell Simoens @SenchaMitch
Sencha Inc, Senior Forum Manager
________________
http://www.JSONPLint.com - Source to lint your JSONP!
Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
https://github.com/mitchellsimoens
Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/
Need more help with your app? Hire Sencha Services services@sencha.com
Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is almost in print!
When posting code, please use BBCode's CODE tags.
-
10 Nov 2011 2:37 AM #3
It seems the same applies to Ext.Function.createDelayed().
Is there a hotfix available?
-
10 Nov 2011 4:08 AM #4Sencha - Senior Forum Manager
- Join Date
- Mar 2007
- Location
- St. Louis, MO
- Posts
- 33,656
- Vote Rating
- 435
Mitchell Simoens @SenchaMitch
Sencha Inc, Senior Forum Manager
________________
http://www.JSONPLint.com - Source to lint your JSONP!
Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
https://github.com/mitchellsimoens
Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/
Need more help with your app? Hire Sencha Services services@sencha.com
Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is almost in print!
When posting code, please use BBCode's CODE tags.
Success! Looks like we've fixed this one. According to our records the fix was applied for
EXTJSIV-4427
in
4.1.


Reply With Quote