这段JS代码,不太明白什么意思,高手看看
initEvent: function() {
var a = "ontouchstart" in document.documentElement ? "touchend": "click";
d.on(a, ".hole>div", _.bind(this.checkTap, this)),
c.on(a, ".js_start_game", _.bind(this.start, this)),
c.on(a, ".js_pause_game", _.bind(this.pause, this)),
c.on(a, ".js_game_again_1", _.bind(this.again, this)),
c.on(a, ".js_game_again_2", _.bind(this.again, this)),
c.on(a, ".js_game_continue", _.bind(this.resume, this))
},
start: function() {//alert("44");
//getWinnerlist();
点击按钮后,执行了star函数,弹窗了44,但是我想不点按钮自动开始,看了以前CSDN帖子,说是start: function()相当于 function start(),但是我在代码里加了start();并没有自动执行(没有弹出44),为什么???