widget核心功能测试
$we.widget.reg("A", { interfaces: { render: function() { alert(1); }, go: function() {alert("g");} } }); $we.widget.reg("B", { init: function() { this.extend("A"); }, interfaces: { render: function() {alert(2)} } }); $we.widget.reg("C", { init: function() { this.extend("B"); }, interfaces: { render: function() {alert(3)} } }); var p = $we.widget.add("C"); p.render(); p._super.render();