Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
.then(function () {
// Set up the view for the current subject
const kb = UI.store
const uri = window.location.href
const subject = kb.sym(uri)
const outliner = panes.getOutliner(document)
outliner.GotoSubject(subject, true, undefined, true, undefined)
})
})