Linting
This commit is contained in:
parent
ad7cd39387
commit
74958e59d2
|
@ -1,8 +1,6 @@
|
|||
<script>
|
||||
import { Label } from "@budibase/bbui"
|
||||
import { onMount, createEventDispatcher } from "svelte"
|
||||
import { API } from "api"
|
||||
import _ from "lodash"
|
||||
|
||||
import {
|
||||
autocompletion,
|
||||
|
@ -79,9 +77,8 @@
|
|||
|
||||
// For handlebars only.
|
||||
const bindStyle = new MatchDecorator({
|
||||
regexp: /{{[.\[\]\"#-\w\s\/]*}}/g,
|
||||
decoration: match => {
|
||||
const url = match[0]
|
||||
regexp: /{{[.[]"#-\w\s\/]*}}/g,
|
||||
decoration: () => {
|
||||
return Decoration.mark({
|
||||
tag: "span",
|
||||
attributes: {
|
||||
|
|
|
@ -102,7 +102,7 @@ export const getDefaultTheme = opts => {
|
|||
)
|
||||
}
|
||||
|
||||
export const buildHelperInfoNode = (completion, helper, mode) => {
|
||||
export const buildHelperInfoNode = (completion, helper) => {
|
||||
const ele = document.createElement("div")
|
||||
ele.classList.add("info-bubble")
|
||||
|
||||
|
@ -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) {
|
||||
|
|
|
@ -337,7 +337,6 @@
|
|||
gap: var(--spacing-m);
|
||||
}
|
||||
|
||||
.heading,
|
||||
.cat-heading {
|
||||
font-size: var(--font-size-s);
|
||||
font-weight: 600;
|
||||
|
|
Loading…
Reference in New Issue