Articles contenant le tag ExtJS

Don’t declare a variable called args in Ext.onReady function

Recently, I was trying the following: Ext.onReady(function() { var args = someMethod(), v = args.v; if (v) { … } … }Ext.onReady(function() { var args = someMethod(), v = args.v; if (v) { … } … } Quite strangely, the v variable was always getting the undefined value. The reason is in fact very simple: […]

Pas de commentaire