Quantcast
Channel: ClearScript
Viewing all articles
Browse latest Browse all 2297

New Post: Calling javascript which uses setTimeout/setInterval

$
0
0
Hello!

The problem seems to be that you aren't binding your Run function to a DVC instance. Consider defining it as follows:
var DVC = function(tag) {
  //...this.Run = this.RunMethod.bind(this);
};
DVC.prototype.RunMethod = function() {
  //...
};
Good luck!

Viewing all articles
Browse latest Browse all 2297

Latest Images

Trending Articles





Latest Images