xy: restore path splitting support

This commit is contained in:
jean-emmanuel 2016-10-20 19:15:36 +02:00
parent f525df4272
commit dc08b761c1

View file

@ -38,6 +38,12 @@ var Xy = module.exports.Xy = function(widgetData) {
_pads_base.apply(this,arguments)
this.split = this.widgetData.split?
typeof this.widgetData.split == 'object'?
this.widgetData.split
: {x: this.widgetData.path + '/x', y: this.widgetData.path + '/y'}
: false
this.widget.append(`
<div class="labels row">
<span class="input">X</span>