firefox doesn't support import assertions
This commit is contained in:
parent
0ffab12685
commit
62d244ce6b
@ -6,7 +6,8 @@
|
|||||||
* QUOTE_VALUE_ID (see code) respectively
|
* QUOTE_VALUE_ID (see code) respectively
|
||||||
* - use window.quote_new() to get a new quote. */
|
* - use window.quote_new() to get a new quote. */
|
||||||
|
|
||||||
import quotes from "./quotes.json" assert { type: "json" };
|
/* firefox doesn't support import assertions yet (2022-02-20; fx 97.0) */
|
||||||
|
import quotes from "./quotes.json";
|
||||||
window.quotes = quotes;
|
window.quotes = quotes;
|
||||||
window.QUOTES_L_QUOTE_MARK = '"';
|
window.QUOTES_L_QUOTE_MARK = '"';
|
||||||
window.QUOTES_R_QUOTE_MARK = '"';
|
window.QUOTES_R_QUOTE_MARK = '"';
|
||||||
|
Loading…
Reference in New Issue
Block a user