D:/workspace/chenjingjing/git/gx_tieta/gx_tieta/.gitignore
2019-01-19 5ae58be547a2a922fb4f23fbfcbf024a2953bb27
1
2
3
4
5
6
7
8
9
10
11
12
var MyInterval = function () {
    this.timer = "";
};
MyInterval.prototype.start = function(callback, times) {
    this.timer = setInterval(function() {
        callback();
    }, times);
}
MyInterval.prototype.stop = function() {
    clearInterval(this.timer);
}
var myInterval = new MyInterval();