widgets: remove support for deprecated properties path, noPip and noSync

This commit is contained in:
bordun 2018-10-31 11:44:25 +01:00
parent 503f162b16
commit 6134d56459
2 changed files with 1 additions and 8 deletions

View file

@ -45,13 +45,6 @@ var Parser = class Parser {
// Set default widget type
props.type = tab ? 'tab' : props.type || 'fader'
// Backward compatibility patches
if (props.path) props.address = props.path
if (props.noPip) props.pips = !props.noPip
if (props.noSync) {
props.bypass = props.noSync
delete props.noSync
}
// Safe copy widget's options
let defaults = this.widgets[props.type].defaults()._props()