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 3caf8d9fff
commit 6ae3ce7f10
2 changed files with 1 additions and 8 deletions

View file

@ -6,7 +6,7 @@
- electron v3
- misc
- rendering speed improved (session loading time reduced by about 30%)
- remove support for deprecated properties `path`, `noPip` and `noSync`
## 0.38.7
- bug fixes

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()