In ExtJS 3.4.0 API, on the Ext singelton, is says that there's a 'define' method that one uses to define a Class. It is also noted that this is new since ExtJS 3.
From some reason, this method does not exists, and I wonder if anyone knows why?
You can see for you self by surfing to the Basic Grid example page, loading Developer Tools or Firebug, and on the Console write "Ext.define" which yields undefined.
The shorter, and probably the most accurated, answer is because the documentation is wrong. Extjs 3.4 doesn´t have an Ext.define method.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With