关于 Extjs4.2动态加载ux在Chrome浏览器中出现
ext-all.js:21 [Deprecation] Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user's experience. For more help, check https://xhr.spec.whatwg.org/.
将代码改成如下
Ext.Loader.setConfig({
enabled: true,
paths: {
'Eip.ux': '/static/platform/js/ext/ux'
}
});
Ext.require('Eip.ux.test');
Ext.onReady(function () {
var nav = Ext.create('Eip.ux.test', {});
nav.show();
});