File tree 1 file changed +9
-1
lines changed
1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ Copyright (c) 2011-2013 Sencha Inc
4
4
Contact: http://www.sencha.com/contact
5
5
If you are unsure which license is appropriate for your use, please contact the sales department
6
6
at http://www.sencha.com/contact.
7
- Source: ext-all-debug.js (bc11ee8988658749654d3054fa0f7c083f25fea2 )
7
+ Source: ext-all-debug.js (943356d6ba90efbb53a98bc9293feae07f302b43 )
8
8
*/
9
9
var Ext = Ext || {};
10
10
Ext._startTime = new Date().getTime();
@@ -4020,6 +4020,13 @@ if (!cls) {
4020
4020
Ext.syncRequire(name);
4021
4021
cls = this.get(name);
4022
4022
}
4023
+ if(!cls){
4024
+ console.error(
4025
+ "[Ext.create] Cannot create an instance of unrecognized class name / alias: " +
4026
+ name+' / '+alias
4027
+ );
4028
+ return Ext.Base;
4029
+ }
4023
4030
return this.getInstantiator(args.length)(cls, args);
4024
4031
},
4025
4032
dynInstantiate: function(name, args) {
@@ -4640,6 +4647,7 @@ Ext.globalEval(xhr.responseText);
4640
4647
onLoad.call(scope);
4641
4648
}
4642
4649
else {
4650
+ onError.call(Loader);
4643
4651
}
4644
4652
xhr = null;
4645
4653
}
You can’t perform that action at this time.
0 commit comments