Why define method is missing in ExtJS 3.4.0?

extjs

Solution

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

Problem

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.

Original source