plots: use new arg syntax for sync handler

This commit is contained in:
jean-emmanuel 2016-10-03 18:24:40 +02:00
parent 5ff3e37d30
commit cf9217718b

View file

@ -39,8 +39,8 @@ _plots_base.prototype.syncHandleProxy = function() {
this.syncHandle.apply(this,arguments)
}
_plots_base.prototype.syncHandle = function(e,id,w) {
if (this.linkedWidgets.indexOf(id)==-1 || !WIDGETS[id]) return
_plots_base.prototype.syncHandle = function(e) {
if (this.linkedWidgets.indexOf(e.id)==-1 || !WIDGETS[e.id]) return
this.updateData()
requestAnimationFrame(this.draw.bind(this))
}