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