This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <script setup lang="ts"> | |
| import { Cloudinary } from '@cloudinary/url-gen' | |
| import { sharpen } from '@cloudinary/url-gen/actions/adjust' | |
| import { dpr, format, quality } from '@cloudinary/url-gen/actions/delivery' | |
| import { limitFit } from '@cloudinary/url-gen/actions/resize' | |
| import { auto as fAuto } from '@cloudinary/url-gen/qualifiers/format' | |
| import { auto as qAuto } from '@cloudinary/url-gen/qualifiers/quality' | |
| import { AdvancedImage, lazyload } from '@cloudinary/vue' | |
| import { useDebounce, useResizeObserver } from '@vueuse/core' | |
| import { nextTick, onBeforeUnmount, onMounted, ref, watchEffect } from 'vue' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using System; | |
| public class Class1 { // find a more descriptive class name | |
| public static bool IsFormat(string str, string f) // rename f to format and rename to IsFormatValid | |
| { | |
| var allowedDict = new Dictionary<string, bool>() // use an Array instead of a Dictionary | |
| { | |
| { "number",true}, | |
| { "date",true}, | |
| { "timespan",true} |