-
-
Notifications
You must be signed in to change notification settings - Fork 476
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1456 from Hans5958/live-love-live/7
Various minor changes (7)
- Loading branch information
Showing
19 changed files
with
499 additions
and
498 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
The 2022 r/place Atlas | ||
Copyright (c) 2017 Roland Rytz <[email protected]> | ||
Copyright (c) 2022 Place Atlas contributors | ||
Licensed under AGPL-3.0 (https://place-atlas.stefanocoding.me/license.txt) | ||
Licensed under AGPL-3.0 (https://2022.place-atlas.stefanocoding.me/license.txt) | ||
--> | ||
|
||
<!-- | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
* The 2022 r/place Atlas | ||
* Copyright (c) 2017 Roland Rytz <[email protected]> | ||
* Copyright (c) 2022 Place Atlas contributors | ||
* Licensed under AGPL-3.0 (https://place-atlas.stefanocoding.me/license.txt) | ||
* Licensed under AGPL-3.0 (https://2022.place-atlas.stefanocoding.me/license.txt) | ||
*/ | ||
|
||
/* purgecss start ignore */ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
* The 2022 r/place Atlas | ||
* Copyright (c) 2017 Roland Rytz <[email protected]> | ||
* Copyright (c) 2022 Place Atlas contributors | ||
* Licensed under AGPL-3.0 (https://place-atlas.stefanocoding.me/license.txt) | ||
* Licensed under AGPL-3.0 (https://2022.place-atlas.stefanocoding.me/license.txt) | ||
*/ | ||
|
||
const contributorsEl = document.querySelector('#contributors-wrapper') | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
// Please also check code indicated with "@instance-only" outside this file. | ||
// TODO: Avoid having instance-only code inside the main scripts to make updating easier. | ||
|
||
const prodDomain = "place-atlas.stefanocoding.me" | ||
const prodDomain = "2022.place-atlas.stefanocoding.me" | ||
window.prodDomain = prodDomain | ||
|
||
const instanceId = "2022" | ||
|
@@ -254,15 +254,15 @@ window.defaultVariation = defaultVariation | |
let defaultPeriod = variationsConfig[defaultVariation].default | ||
window.defaultPeriod = defaultPeriod | ||
|
||
const useNumericalId = false | ||
const useNumericalId = true | ||
window.useNumericalId = useNumericalId | ||
|
||
console.info(`%cThe 2022 r/place Atlas | ||
%cCopyright (c) 2017 Roland Rytz <[email protected]> | ||
Copyright (c) 2022 Place Atlas contributors | ||
Licensed under AGPL-3.0 (https://place-atlas.stefanocoding.me/license.txt) | ||
Licensed under AGPL-3.0 (https://2022.place-atlas.stefanocoding.me/license.txt) | ||
https://place-atlas.stefanocoding.me/ | ||
https://2022.place-atlas.stefanocoding.me/ | ||
https://discord.gg/pJkm23b2nA | ||
https://reddit.com/r/placeatlas2 | ||
https://github.com/placeAtlas/atlas | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
* The 2022 r/place Atlas | ||
* Copyright (c) 2017 Roland Rytz <[email protected]> | ||
* Copyright (c) 2022 Place Atlas contributors | ||
* Licensed under AGPL-3.0 (https://place-atlas.stefanocoding.me/license.txt) | ||
* Licensed under AGPL-3.0 (https://2022.place-atlas.stefanocoding.me/license.txt) | ||
*/ | ||
|
||
window.addEventListener("error", e => { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
* The 2022 r/place Atlas | ||
* Copyright (c) 2017 Roland Rytz <[email protected]> | ||
* Copyright (c) 2022 Place Atlas contributors | ||
* Licensed under AGPL-3.0 (https://place-atlas.stefanocoding.me/license.txt) | ||
* Licensed under AGPL-3.0 (https://2022.place-atlas.stefanocoding.me/license.txt) | ||
*/ | ||
|
||
const finishButton = document.getElementById("finishButton") | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
* The 2022 r/place Atlas | ||
* Copyright (c) 2017 Roland Rytz <[email protected]> | ||
* Copyright (c) 2022 Place Atlas contributors | ||
* Licensed under AGPL-3.0 (https://place-atlas.stefanocoding.me/license.txt) | ||
* Licensed under AGPL-3.0 (https://2022.place-atlas.stefanocoding.me/license.txt) | ||
*/ | ||
|
||
const baseLinkElement = document.createElement("a") | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
* The 2022 r/place Atlas | ||
* Copyright (c) 2017 Roland Rytz <[email protected]> | ||
* Copyright (c) 2022 Place Atlas contributors | ||
* Licensed under AGPL-3.0 (https://place-atlas.stefanocoding.me/license.txt) | ||
* Licensed under AGPL-3.0 (https://2022.place-atlas.stefanocoding.me/license.txt) | ||
*/ | ||
|
||
const innerContainer = document.getElementById("innerContainer") | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
* The 2022 r/place Atlas | ||
* Copyright (c) 2017 Roland Rytz <[email protected]> | ||
* Copyright (c) 2022 Place Atlas contributors | ||
* Licensed under AGPL-3.0 (https://place-atlas.stefanocoding.me/license.txt) | ||
* Licensed under AGPL-3.0 (https://2022.place-atlas.stefanocoding.me/license.txt) | ||
*/ | ||
|
||
function initOverlap() { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
* The 2022 r/place Atlas | ||
* Copyright (c) 2017 Roland Rytz <[email protected]> | ||
* Copyright (c) 2022 Place Atlas contributors | ||
* Licensed under AGPL-3.0 (https://place-atlas.stefanocoding.me/license.txt) | ||
* Licensed under AGPL-3.0 (https://2022.place-atlas.stefanocoding.me/license.txt) | ||
*/ | ||
|
||
let areasSum = 0 | ||
|
@@ -203,7 +203,7 @@ console.info("The " + topCount + " largest entries:") | |
let outstring = "" | ||
|
||
for (let i = 0; i < topCount; i++) { | ||
outstring += ((i + 1) + "|[" + atlas[atlas.length - i - 1].name + "](http://place-atlas.stefanocoding.me/?id=" + atlas[atlas.length - i - 1].id + ")|" + ~~atlas[atlas.length - i - 1].area + "|" + Math.round(atlas[atlas.length - i - 1].area / 100) / 100 + "%\n") | ||
outstring += ((i + 1) + "|[" + atlas[atlas.length - i - 1].name + "](http://2022.place-atlas.stefanocoding.me/?id=" + atlas[atlas.length - i - 1].id + ")|" + ~~atlas[atlas.length - i - 1].area + "|" + Math.round(atlas[atlas.length - i - 1].area / 100) / 100 + "%\n") | ||
} | ||
|
||
console.info(outstring) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
* The 2022 r/place Atlas | ||
* Copyright (c) 2017 Roland Rytz <[email protected]> | ||
* Copyright (c) 2022 Place Atlas contributors | ||
* Licensed under AGPL-3.0 (https://place-atlas.stefanocoding.me/license.txt) | ||
* Licensed under AGPL-3.0 (https://2022.place-atlas.stefanocoding.me/license.txt) | ||
*/ | ||
|
||
const codeReference = {} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
* The 2022 r/place Atlas | ||
* Copyright (c) 2017 Roland Rytz <[email protected]> | ||
* Copyright (c) 2022 Place Atlas contributors | ||
* Licensed under AGPL-3.0 (https://place-atlas.stefanocoding.me/license.txt) | ||
* Licensed under AGPL-3.0 (https://2022.place-atlas.stefanocoding.me/license.txt) | ||
*/ | ||
|
||
const linesCanvas = document.getElementById("linesCanvas") | ||
|
@@ -676,7 +676,7 @@ function highlightEntryFromUrl() { | |
if (!id) return | ||
|
||
const entries = atlas.filter(e => { | ||
return e.id === id | ||
return e.id.toString() === id | ||
}) | ||
|
||
if (entries.length !== 1) return | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
https://place-atlas.stefanocoding.me/* https://2022.place-atlas.stefanocoding.me/:splat |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
The 2022 r/place Atlas | ||
Copyright (c) 2017 Roland Rytz <[email protected]> | ||
Copyright (c) 2022 Place Atlas contributors | ||
Licensed under AGPL-3.0 (https://place-atlas.stefanocoding.me/license.txt) | ||
Licensed under AGPL-3.0 (https://2022.place-atlas.stefanocoding.me/license.txt) | ||
--> | ||
|
||
<!DOCTYPE html> | ||
|
@@ -17,8 +17,8 @@ | |
|
||
<meta property="og:title" content="About - The 2022 r/place Atlas"> | ||
<meta property="og:type" content="website"> | ||
<meta property="og:url" content="https://place-atlas.stefanocoding.me/"> | ||
<meta property="og:image" content="https://place-atlas.stefanocoding.me/_img/logo.png"> | ||
<meta property="og:url" content="https://2022.place-atlas.stefanocoding.me/"> | ||
<meta property="og:image" content="https://2022.place-atlas.stefanocoding.me/_img/logo.png"> | ||
<meta property="og:image:type" content="image/png"> | ||
<meta property="og:image:width" content="512"> | ||
<meta property="og:image:height" content="512"> | ||
|
Oops, something went wrong.