Adding cupcake recipe

This commit is contained in:
Dean 2025-03-20 18:29:08 +00:00
parent c264e7a3aa
commit 41568c0711
1 changed files with 4 additions and 4 deletions

View File

@ -49,11 +49,11 @@
export let bindings: EnrichedBinding[] = []
export let value: string = ""
export let allowHBS = true
export let allowJS = false
export let allowHBS: boolean | undefined = true
export let allowJS: boolean | undefined = false
export let allowHelpers = true
export let allowSnippets = true
export let context = null
export let context: Record<any, any> | undefined = undefined
export let snippets: Snippet[] | null = null
export let autofocusEditor = false
export let placeholder: string | null = null
@ -128,7 +128,7 @@
}
}
const getModeOptions = (allowHBS: boolean, allowJS: boolean) => {
const getModeOptions = (allowHBS = true, allowJS = false) => {
let options = []
if (allowHBS) {
options.push(BindingMode.Text)