摘要: Aspects = function(){};Aspects.prototype={ before:function(method,advice){ var original = this[method]; this[method] = function(){ (advice)(); original.apply(this,arguments); } }, after:function... 阅读全文
posted @ 2010-11-25 17:51 wblade 阅读(357) 评论(0) 推荐(0) 编辑