会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
飘飘何所似 天地一沙鸥
Delegate will reside in JAVA and PHP will have namespace
博客园
首页
新随笔
联系
管理
订阅
2006年11月28日
prototype-1.3.1框架中的类继承实现机制
摘要: 在prototype-1.3.1框架中,首先为每个对象都定义了一个extend方法://为Object类添加静态方法:extendObject.extend = function(destination, source) { for(property in source) { destination[property] = source[property]; } return destin...
阅读全文
posted @ 2006-11-28 09:27 robinhood
阅读(286)
评论(0)
推荐(0)
编辑
公告