Linting.
This commit is contained in:
parent
6219a66604
commit
9e798158c2
|
@ -185,13 +185,13 @@ export function readableToRuntimeBinding(bindableProperties, textWithBindings) {
|
|||
})
|
||||
let newBoundValue = INVALID_BINDING
|
||||
if (binding) {
|
||||
newBoundValue = boundValue.replace(binding.readableBinding, binding.runtimeBinding)
|
||||
}
|
||||
result = result.replace(
|
||||
boundValue,
|
||||
newBoundValue
|
||||
newBoundValue = boundValue.replace(
|
||||
binding.readableBinding,
|
||||
binding.runtimeBinding
|
||||
)
|
||||
}
|
||||
result = result.replace(boundValue, newBoundValue)
|
||||
}
|
||||
return result
|
||||
}
|
||||
|
||||
|
@ -210,12 +210,12 @@ export function runtimeToReadableBinding(bindableProperties, textWithBindings) {
|
|||
})
|
||||
let newBoundValue = INVALID_BINDING
|
||||
if (binding) {
|
||||
newBoundValue = boundValue.replace(binding.runtimeBinding, binding.readableBinding)
|
||||
}
|
||||
result = result.replace(
|
||||
boundValue,
|
||||
newBoundValue
|
||||
newBoundValue = boundValue.replace(
|
||||
binding.runtimeBinding,
|
||||
binding.readableBinding
|
||||
)
|
||||
}
|
||||
result = result.replace(boundValue, newBoundValue)
|
||||
}
|
||||
return result
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue