lundi 24 novembre 2014

"Override target not found" errors for classes not explicitly defined

I'm trying to build my app done in Ext JS 4.2.1.883 using Cmd 5.0.3.324. I think it's working for the most part, but I'm getting 3 "Override target not found errors", all seem to be linked to classes that are not defined explicitly with an Ext.define() statement that matches the name exactly.

The first is from the ext-lang-en.js file, an override on line 272:



Code:



Ext.define("Ext.locale.en.grid.GroupingFeature", {
override: "Ext.grid.GroupingFeature",
emptyGroupText: '(None)',
groupByText: 'Group By This Field',
showGroupsText: 'Show in Groups'
});

There's no GroupingFeature file/class, I'm assuming that's an alias/alternate name and Cmd doesn't recognize it.

The second is an override of Ext.JSON. I just looked a the source file and it's defined like this:



Code:



Ext.JSON = (new(function() {
...
})());

The last one is an override of Ext.util.Format, the source file is like this:

Code:



(function() {
Ext.ns('Ext.util');

var UtilFormat = Ext.util.Format = {},
...
}());

Any clues on how to make it recognize those classes?



"Override target not found" errors for classes not explicitly defined

Aucun commentaire:

Enregistrer un commentaire