摘要: 1:支持命名空间 <scripttype="text/javascript">// 定义一个命名空间Ext.namespace("Ext.wentao");// 在命名空间上定义一个类Ext.wentao.helloworld = Ext.emptyFn;// 创建一个类的实例new Ext.wentao.helloworld();</script> 其中 Ext.wentao.helloworld=Ext.emptyFn; 等价于Ext.wentao.helloworld=function(){}; 2:支持类实例属性<s 阅读全文
posted @ 2013-04-17 16:57 小泥巴1024 阅读(145) 评论(0) 推荐(0) 编辑