Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
document.addEventListener('DOMContentLoaded', function () {
var UI = require('mashlib')
var inputStyle = 'background-color: #eef; padding: 0.5em; border: .5em solid white; font-size: 150%; text-align: center;' // ;
var kb = UI.store
var fetcher = kb.fetcher
var ns = UI.ns
var dom = document
var updater = kb.updater
var waitingForLogin = false
var uri = window.location.href
var base = uri.slice(0, uri.lastIndexOf('/') + 1)
var scriptBase = 'https://linkeddata.github.io/solid-app-set/'
var div = document.getElementById('FormTarget')
// //////////////////////////////////// Getting logged in with a WebId
document.addEventListener('DOMContentLoaded', function () {
var UI = require('mashlib')
var inputStyle = 'background-color: #eef; padding: 0.5em; border: .5em solid white; font-size: 150%; text-align: center;' // ;
var kb = UI.store
var ns = UI.ns
var dom = document
var updater = kb.updater
var waitingForLogin = false
var uri = window.location.href
var base = uri.slice(0, uri.lastIndexOf('/') + 1)
// //////////////////////////////////// Getting logged in with a WebId
var setUser = function (webid) {
if (webid) {
tabulator.preferences.set('me', webid)