0

我收到错误 js 错误 Error: TypeError: this.setOptions is not a function, 我已经设置了 Implements: [Options],

var SessionKeeperWarning = new Class({
    Implements: [Options],
    options:{
        messagetype:'js',
        timeout:0,
        warning:0,
        strings:{},
        dimension:{'x':400,'y':300},
        keepalivelight:false,
        path:''
    },
    timer:false,
    expired:false,
    initialize: function(options) { 
        alert("Here");
        this.setOptions(options);
        this.setTimer();
    },
4

0 回答 0