From 6134d564598d234a3b61ddb742e893fa47921661 Mon Sep 17 00:00:00 2001 From: bordun Date: Wed, 31 Oct 2018 11:44:25 +0100 Subject: [PATCH] widgets: remove support for deprecated properties `path`, `noPip` and `noSync` --- CHANGELOG.md | 2 +- src/client/app/parser.js | 7 ------- 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ba5582c7..5d962f36 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/src/client/app/parser.js b/src/client/app/parser.js index 600adea5..35b89978 100644 --- a/src/client/app/parser.js +++ b/src/client/app/parser.js @@ -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()