lint: illegal whitespaces
This commit is contained in:
parent
94beb77eb9
commit
38981d1da6
3 changed files with 5 additions and 5 deletions
|
|
@ -73,7 +73,7 @@ module.exports = class Switch extends Widget {
|
|||
}
|
||||
|
||||
var label = isArray ? values[k]: k
|
||||
if (this.getProp('showValues') && !isArray) label = label + ': ' + (this.stringValues[this.stringValues.length - 1] || values[k])
|
||||
if (this.getProp('showValues') && !isArray) label = label + ': ' + (this.stringValues[this.stringValues.length - 1] || values[k])
|
||||
|
||||
this.widget.appendChild(DOM.create(`
|
||||
<div class="value"> ${iconify(label)}</div>
|
||||
|
|
|
|||
|
|
@ -238,8 +238,8 @@ module.exports = class MultiXy extends Pad {
|
|||
|
||||
}
|
||||
|
||||
getSplit() {
|
||||
|
||||
getSplit() {
|
||||
|
||||
return this.getProp('split')?
|
||||
typeof this.getProp('split') == 'object' && this.getProp('split').length == 2 * this.npoints ?
|
||||
this.getProp('split')
|
||||
|
|
|
|||
|
|
@ -430,14 +430,14 @@ module.exports = class Range extends Widget {
|
|||
|
||||
}
|
||||
|
||||
getSplit() {
|
||||
getSplit() {
|
||||
|
||||
return this.getProp('split')?
|
||||
typeof this.getProp('split') == 'object' && this.getProp('split').length == 2 ?
|
||||
this.getProp('split')
|
||||
: [this.getProp('address') + '/low', this.getProp('address') + '/high']
|
||||
: false
|
||||
|
||||
|
||||
}
|
||||
|
||||
onPropChanged(propName, options, oldPropValue) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue