Lint fixes
This commit is contained in:
parent
74958e59d2
commit
c71ad13048
|
@ -77,7 +77,7 @@
|
|||
|
||||
// For handlebars only.
|
||||
const bindStyle = new MatchDecorator({
|
||||
regexp: /{{[.[]"#-\w\s\/]*}}/g,
|
||||
regexp: /{{[."#\-\w\s]*}}/g,
|
||||
decoration: () => {
|
||||
return Decoration.mark({
|
||||
tag: "span",
|
||||
|
|
|
@ -193,7 +193,7 @@ export const hbAutocomplete = baseCompletions => {
|
|||
|
||||
export const jsAutocomplete = baseCompletions => {
|
||||
async function coreCompletion(context) {
|
||||
let jsBinding = context.matchBefore(/\$("[\s\w]*/)
|
||||
let jsBinding = context.matchBefore(/\$\("[\s\w]*/)
|
||||
let options = baseCompletions || []
|
||||
|
||||
if (jsBinding) {
|
||||
|
|
Loading…
Reference in New Issue