Fix styling, docs, and a possible bug (#762)

* 🎨 Fix spacing and indentation

* 🎨 Use single quotes over backticks

* 📝 Fix docs

* 🐛 Make replace function clear and extend locales correctly

* Revert "🎨 Use single quotes over backticks"

* Update config.lua
This commit is contained in:
David Malchin
2022-07-22 12:14:02 +03:00
committed by GitHub
parent 42f39ea651
commit 8b5f5b2b37
5 changed files with 28 additions and 30 deletions
-1
View File
@@ -8,7 +8,6 @@ import {
} from "./config.js";
const { useQuasar } = Quasar;
const { onMounted, onUnmounted } = Vue;
const app = Vue.createApp({
+2 -2
View File
@@ -13,13 +13,13 @@ export const DEV_MODE = false;
* Will hold config statically outside of Vue state
* @property {Record<string, NotiVariantData>} VariantDefinitions
* @property {Record<string, any>} NotificationStyling
* */
**/
export let NOTIFY_CONFIG = null;
/**
* Pure function taking a notification type and returning an object
* with style details
* @param variant {string}
* @param {string} variant
* @returns NotiVariantData
**/
export const determineStyleFromVariant = (variant) => {