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