EventManager.register("event1",function(){ console.log("event1 triggerd"); }) EventManager.register("event1",function(){ console.log("event1_1 triggerd"); }) EventManager.register("event2",function(){ console.log("event2 triggerd"); }) EventManager.triggerd("event1"); EventManager.triggerd("event2"); //输出结果是: event1 triggerd event1_1 triggerd event2 triggerd
付费偷看金额在0.1-10元之间
一周热门 更多>