摘要:
/** * Created with JetBrains WebStorm. * User: 宇乔 * Date: 13-8-2 * Time: 下午3:01 * To change this template use File | Settings | File Templates. */function Event(name) { var handlers = []; this.getName = function () { return name; } this.addHandler = function (handler) { han... 阅读全文