Skip to content

Commit 795118e

Browse files
committed
ext-all-nw.js for b7975a0
Signed-off-by: Oleg Verych <[email protected]>
1 parent b7975a0 commit 795118e

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

ext-all-nw.js

+9-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Copyright (c) 2011-2013 Sencha Inc
44
Contact: http://www.sencha.com/contact
55
If you are unsure which license is appropriate for your use, please contact the sales department
66
at http://www.sencha.com/contact.
7-
Source: ext-all-debug.js (bc11ee8988658749654d3054fa0f7c083f25fea2)
7+
Source: ext-all-debug.js (943356d6ba90efbb53a98bc9293feae07f302b43)
88
*/
99
var Ext = Ext || {};
1010
Ext._startTime = new Date().getTime();
@@ -4020,6 +4020,13 @@ if (!cls) {
40204020
Ext.syncRequire(name);
40214021
cls = this.get(name);
40224022
}
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+
}
40234030
return this.getInstantiator(args.length)(cls, args);
40244031
},
40254032
dynInstantiate: function(name, args) {
@@ -4640,6 +4647,7 @@ Ext.globalEval(xhr.responseText);
46404647
onLoad.call(scope);
46414648
}
46424649
else {
4650+
onError.call(Loader);
46434651
}
46444652
xhr = null;
46454653
}

0 commit comments

Comments
 (0)