Reputation: 1670
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.
Upvotes: 3
Views: 2272
Reputation: 11
Ext.define was added to the commercial version of ext released July 30 2012. as of now only support customers have access to this release. see release announcement
Upvotes: 1
Reputation: 5275
The shorter, and probably the most accurated, answer is because the documentation is wrong. Extjs 3.4 doesn´t have an Ext.define method.
Upvotes: 4