mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-12-04 23:32:54 +01:00
respect reduce motion
This commit is contained in:
10 files changed
+123
-8
No files matched your search
@@ -86,7 +86,6 @@ export class ClientBlitzKitAPI extends AbstractBlitzKitAPI {
|
||||
return fetchJSON<BlitzScripts>(alias("api", "definitions/scripts.json"));
|
||||
}
|
||||
|
||||
@Cache()
|
||||
strings(locale: string) {
|
||||
return fetchJSON<Strings>(alias("api", `strings/${locale}.json`));
|
||||
}
|
||||
|
||||
@@ -2,7 +2,6 @@ import { Strings } from "@blitzkit/i18n";
|
||||
import locales from "@blitzkit/i18n/locales.json";
|
||||
import { DeepPartial } from "@blitzkit/protos";
|
||||
import { merge } from "lodash-es";
|
||||
import { Cache } from "../cache";
|
||||
import { ServerBlitzKitAPI11 } from "./11_scripts";
|
||||
|
||||
export abstract class ServerBlitzKitAPI12 extends ServerBlitzKitAPI11 {
|
||||
@@ -11,7 +10,6 @@ export abstract class ServerBlitzKitAPI12 extends ServerBlitzKitAPI11 {
|
||||
{ import: "default" },
|
||||
);
|
||||
|
||||
@Cache()
|
||||
async strings(locale: string) {
|
||||
const localized = (await this.globbedStrings[
|
||||
`../../../../../i18n/strings/${locale}.json`
|
||||
|
||||
Reference in new issue
Block a user