Commit 1f494bcd authored by Luke "Jared" Bennett's avatar Luke "Jared" Bennett

export initRepo from repo/index for testing and reuse

parent 5e4b18ee
...@@ -10,7 +10,7 @@ import Service from './repo_service'; ...@@ -10,7 +10,7 @@ import Service from './repo_service';
import Store from './repo_store'; import Store from './repo_store';
import Helper from './repo_helper'; import Helper from './repo_helper';
$(() => { function initRepo() {
const ide = document.getElementById('ide'); const ide = document.getElementById('ide');
const tabs = document.getElementById('tabs'); const tabs = document.getElementById('tabs');
const sidebar = document.getElementById('sidebar'); const sidebar = document.getElementById('sidebar');
...@@ -33,4 +33,8 @@ $(() => { ...@@ -33,4 +33,8 @@ $(() => {
Store.binaryViewer = new BinaryViewer(binaryViewer); Store.binaryViewer = new BinaryViewer(binaryViewer);
Helper.getContent(); Helper.getContent();
}); }
$(initRepo);
export default initRepo;
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment