mirror of
https://gitlab.com/lecarore/breakout71.git
synced 2025-04-27 07:26:15 -04:00
Trying the web archiving thing
This commit is contained in:
parent
b239bab852
commit
af85e6e50f
10 changed files with 172 additions and 27 deletions
29
dist/index.html
vendored
29
dist/index.html
vendored
|
@ -1124,17 +1124,20 @@ async function openSettingsMenu() {
|
|||
}
|
||||
}
|
||||
});
|
||||
for (const key of Object.keys((0, _options.options)))if ((0, _options.options)[key]) actions.push({
|
||||
icon: (0, _options.isOptionOn)(key) ? (0, _loadGameData.icons)["icon:checkmark_checked"] : (0, _loadGameData.icons)["icon:checkmark_unchecked"],
|
||||
text: (0, _options.options)[key].name,
|
||||
help: (0, _options.options)[key].help,
|
||||
value: ()=>{
|
||||
(0, _options.toggleOption)(key);
|
||||
fitSize();
|
||||
applyFullScreenChoice();
|
||||
openSettingsMenu();
|
||||
}
|
||||
});
|
||||
for (const key of Object.keys((0, _options.options))){
|
||||
if (key == "record" && "__TAURI__" in window) continue;
|
||||
if ((0, _options.options)[key]) actions.push({
|
||||
icon: (0, _options.isOptionOn)(key) ? (0, _loadGameData.icons)["icon:checkmark_checked"] : (0, _loadGameData.icons)["icon:checkmark_unchecked"],
|
||||
text: (0, _options.options)[key].name,
|
||||
help: (0, _options.options)[key].help,
|
||||
value: ()=>{
|
||||
(0, _options.toggleOption)(key);
|
||||
fitSize();
|
||||
applyFullScreenChoice();
|
||||
openSettingsMenu();
|
||||
}
|
||||
});
|
||||
}
|
||||
actions.push({
|
||||
icon: (0, _loadGameData.icons)["icon:download"],
|
||||
text: (0, _i18N.t)("main_menu.download_save_file"),
|
||||
|
@ -1494,7 +1497,7 @@ const upgrades = (0, _upgrades.rawUpgrades).map((u)=>({
|
|||
}));
|
||||
|
||||
},{"./data/palette.json":"ktRBU","./data/levels.json":"8JSUc","./data/version.json":"iyP6E","./upgrades":"1u3Dx","./getLevelBackground":"7OIPf","./levelIcon":"6rQoT","@parcel/transformer-js/src/esmodule-helpers.js":"gkKU3"}],"iyP6E":[function(require,module,exports,__globalThis) {
|
||||
module.exports = JSON.parse("\"29062849\"");
|
||||
module.exports = JSON.parse("\"29062946\"");
|
||||
|
||||
},{}],"1u3Dx":[function(require,module,exports,__globalThis) {
|
||||
var parcelHelpers = require("@parcel/transformer-js/src/esmodule-helpers.js");
|
||||
|
@ -2841,7 +2844,7 @@ function highScoreForMode(mode) {
|
|||
return "";
|
||||
}
|
||||
|
||||
},{"./loadGameData":"l1B4x","./i18n/i18n":"eNPRm","@parcel/transformer-js/src/esmodule-helpers.js":"gkKU3","./pure_functions":"6pQh7"}],"2n0gK":[function(require,module,exports,__globalThis) {
|
||||
},{"./loadGameData":"l1B4x","./i18n/i18n":"eNPRm","./pure_functions":"6pQh7","@parcel/transformer-js/src/esmodule-helpers.js":"gkKU3"}],"2n0gK":[function(require,module,exports,__globalThis) {
|
||||
var parcelHelpers = require("@parcel/transformer-js/src/esmodule-helpers.js");
|
||||
parcelHelpers.defineInteropFlag(exports);
|
||||
if ("serviceWorker" in navigator && window.location.href.endsWith("/index.html?isPWA=true")) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue