-
Notifications
You must be signed in to change notification settings - Fork 17
Changelog
Exodia edited this page Jul 10, 2016
·
3 revisions
-
es6 下对外不暴露 default export, 全部以named export的形式暴露
-
移除getComponentConfig方法
-
获取未注册组件时返回rejected promise
-
注册组件同名时抛异常
-
移除factory method的支持, creator中不再支持字符串的配置,即如下实例化组件方式不再支持:
// app/List.js
define(
function (require) {
return {
create: function() {
return {};
}
}
}
);
var config = {
components: {
list: {
module: 'app/List',
creator: 'create'
}
}
};
-
IoC#getComponent 签名变更。
-
IoCConfig 支持plugins配置项