[32788f42] feat: implement database persistence, modernized UI with Tailwind, and Calendly-integrated QR card generator for Fotograf.de scraper

This commit is contained in:
2026-03-21 09:04:03 +00:00
parent 22fe4dbd9f
commit c02facdf5d
6975 changed files with 1835694 additions and 179 deletions

View File

@@ -0,0 +1,30 @@
"use strict";
const pattern = /-(\w|$)/g;
const callback = (dashChar, char) => char.toUpperCase();
const camelCaseCSS = property =>
{
property = property.toLowerCase();
// NOTE :: IE8's "styleFloat" is intentionally not supported
if (property === "float")
{
return "cssFloat";
}
// Microsoft vendor-prefixes are uniquely cased
else if (property.startsWith("-ms-"))
{
return property.substr(1).replace(pattern, callback);
}
else
{
return property.replace(pattern, callback);
}
};
module.exports = camelCaseCSS;