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