I have a JQuery plugin creating a new object each time I call the plugin's main-function:
Function call:
new BpNotification( options );
Function itself:
function BpNotification( options ) {
this.init();
}
BpNotification.prototype = {
init: function() {
this.t = setTimeout(function(){}, 5000);
}
}
Is it possible to modify this timeout-option "t" from 'outside' after the object is created?