Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Why define method is missing in ExtJS 3.4.0?

Tags:

extjs

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.

like image 298
Asaf Mesika Avatar asked Dec 14 '25 05:12

Asaf Mesika


1 Answers

The shorter, and probably the most accurated, answer is because the documentation is wrong. Extjs 3.4 doesn´t have an Ext.define method.

like image 52
lontivero Avatar answered Dec 16 '25 22:12

lontivero



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!