Skip to content

Commit

Permalink
issue20
Browse files Browse the repository at this point in the history
  • Loading branch information
scenaristeur authored Nov 25, 2018
1 parent 8ab1fdd commit 2df7b8a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions dist/databrowser.html
Original file line number Diff line number Diff line change
@@ -1,19 +1,20 @@
<!DOCTYPE html>
<html id="docHTML">
<head>
<link type="text/css" rel="stylesheet" href="https://linkeddata.github.io/mashlib/dist/tabbedtab.css" />
<link type="text/css" rel="stylesheet" href="https://solid.github.io/solid-panes/style/tabbedtab.css" />
<script type="text/javascript" src="https://linkeddata.github.io/mashlib/dist/mashlib.min.js"></script>
<script>
document.addEventListener('DOMContentLoaded', function() {
const panes = require('mashlib')
const UI = panes.UI
const $rdf = UI.rdf
const dom = document
$rdf.Fetcher.crossSiteProxyTemplate = self.origin + '/xss?uri={uri}';
var uri = window.location.href;
window.document.title = uri;
var kb = UI.store;
var subject = kb.sym(uri);
var outliner = panes.getOutliner()
var outliner = panes.getOutliner(dom)
outliner.GotoSubject(subject, true, undefined, true, undefined);
});
</script>
Expand Down

0 comments on commit 2df7b8a

Please sign in to comment.