摘要:
原文:http://www.dofactory.com/javascript-builder-pattern.aspxfunction Shop() { this.construct = function(builder) { builder.step1(); builder.step2(); return builder.get(); }}function CarBuilder() { this.car = null; this.step1 = function() { this.car = new Car();... 阅读全文
posted @ 2013-05-09 13:44
wangkangluo1
阅读(344)
评论(0)
推荐(0)

浙公网安备 33010602011771号