Skip to content

Commit

Permalink
documenting, cleaning up, refactoring, renaming
Browse files Browse the repository at this point in the history
  • Loading branch information
staubibr committed Nov 30, 2021
1 parent 4a56331 commit ec38aab
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 9 deletions.
6 changes: 2 additions & 4 deletions application.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import Header from './widgets/header.js';
import Core from '../app-framework/tools/core.js';
import Dom from '../app-framework/tools/dom.js';
import Templated from '../app-framework/components/templated.js';
import Configuration from '../app-framework/components/configuration/configuration.js';
import Configuration from '../app-framework/data_structures/configuration/configuration.js';
import Styler from '../app-framework/components/styler.js';
import Popup from '../app-framework/ui/popup.js';
import Loader from '../app-framework/widgets/loader.js';
Expand Down Expand Up @@ -84,9 +84,7 @@ export default Core.Templatable("Application", class Application extends Templat
this.configuration = ev.configuration;
this.simulation = ev.simulation;
this.files = ev.files;

this.simulation.Initialize(this.configuration.playback.cache);


this.ShowView(ev.simulation.type);

this.Widget("playback").recorder = new Recorder(this.view.widget.canvas);
Expand Down
9 changes: 5 additions & 4 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,11 @@
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.7.2/css/all.css" integrity="sha384-fnmOCqbTlWIlj8LyTjo7mOUStjsKC4pOpQbqyi7RrhN7udi9RwhKkMHpvLbHG9Sr" crossorigin="anonymous">
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-eOJMYsd53ii+scO/bJGFsiCZc+5NDVN2yr8+0RDqr0Ql0h+rP48ckxlpbzKgwra6" crossorigin="anonymous">
<link rel="stylesheet" href="../app-framework/framework.css">
<link rel="stylesheet" href="application.css"> <script src="../app-framework/references//zip/zip.js"></script>
<script src="../app-framework/references/StreamSaver/StreamSaver.js"></script>
<script src="../app-framework/references/StreamSaver/zip-stream.js"></script>
<script src="../app-framework/references/iro/[email protected]"></script>
<link rel="stylesheet" href="application.css">
<script src="../app-references/zip/zip.js"></script>
<script src="../app-references/StreamSaver/StreamSaver.js"></script>
<script src="../app-references/StreamSaver/zip-stream.js"></script>
<script src="../app-references/iro/[email protected]"></script>
<script src='main.js' type='module'></script>
</head>

Expand Down
2 changes: 1 addition & 1 deletion main.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Core.WaitForDocument().then(Start);
function Start() {
var path = location.href.split("/").slice(0,-2).join("/");

streamSaver.mitm = path + "/app-framework/references/StreamSaver/mitm.html";
streamSaver.mitm = path + "/app-references/references/StreamSaver/mitm.html";

var app = new Application(document.body);
}

0 comments on commit ec38aab

Please sign in to comment.