forked from SolidOS/mashlib
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
29 lines (25 loc) · 889 Bytes
/
Copy pathindex.html
File metadata and controls
29 lines (25 loc) · 889 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
<!DOCTYPE html>
<html>
<head><meta charset='UTF-8'>
<title>ToDo -- test mashlib</title>
<link type="text/css" rel="stylesheet" href="/timbl/Automation/Library/Mashup/tabbedtab.css" />
<script type="text/javascript" src="/timbl/Automation/Library/Mashup/mashup-node-2.js"></script>
<script>
document.addEventListener('DOMContentLoaded', function() {
var UI = require('mashup')
var uri = window.location.href;
var data_uri = window.document.title = uri.slice(0, uri.lastIndexOf('/')+1) + 'config.ttl#tracker';
var kb = UI.store;
//var path = uri.indexOf('/', uri.indexOf('//') +2) + 1;
//var origin = uri.slice(0, path);
var subject = kb.sym(data_uri);
UI.outline.GotoSubject(subject, true, undefined, true, undefined);
});
</script>
</head>
<body>
<div class="TabulatorOutline" id="DummyUUID">
<table id="outline"></table>
</div>
</body>
</html>