Merge branch 'dev'
This commit is contained in:
commit
3db3840a02
@ -4,6 +4,7 @@
|
||||
<title>Gravity Simulator</title>
|
||||
<meta name="viewport" content="width=device-width" />
|
||||
<link rel="stylesheet" href="./style.css" />
|
||||
<link rel="icon" href="./favicon.ico" />
|
||||
<script type="module">
|
||||
import { Sim } from './simulator.js';
|
||||
// Wait for document load
|
||||
|
||||
@ -48,6 +48,11 @@ export class Sim {
|
||||
const div = document.getElementById(this.divId);
|
||||
this.div = div;
|
||||
|
||||
const url = new URL(window.location.href);
|
||||
if (url.host === 'gravity.dev.laddhoffman.com') {
|
||||
document.title += ' [Dev]';
|
||||
}
|
||||
|
||||
this.options = new Options(this, simOptions);
|
||||
this.display = new Display(this);
|
||||
this.system = new System(this);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user