Linting.
This commit is contained in:
parent
e26f272746
commit
87175e70cf
|
@ -26,9 +26,10 @@
|
||||||
const position = getCaretPosition()
|
const position = getCaretPosition()
|
||||||
const toAdd = `{{ ${binding.path} }}`
|
const toAdd = `{{ ${binding.path} }}`
|
||||||
if (position.start) {
|
if (position.start) {
|
||||||
value = value.substring(0, position.start)
|
value =
|
||||||
+ toAdd
|
value.substring(0, position.start) +
|
||||||
+ value.substring(position.end, value.length);
|
toAdd +
|
||||||
|
value.substring(position.end, value.length)
|
||||||
} else {
|
} else {
|
||||||
value += toAdd
|
value += toAdd
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue