Skip to content

Commit b8cc303

Browse files
committed
updated libs, updated storybook
1 parent 7b0d3fb commit b8cc303

27 files changed

+305
-138
lines changed

Documentation/form-examples/test-form.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ window.$rdf = UI.rdf
77
document.addEventListener('DOMContentLoaded', async function () {
88
/// ///////////////////////////////////////////
99

10-
var kb = UI.solidLogicLib.store
10+
var kb = UI.store
1111

1212
kb.updater.editable = // uri => true // Force modifyable UX // @@@
1313
function (uri) {

examples/header/index.html

+3-3
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ <h2 id="header"><a href="#header">Header</a>
2727
loginBanner.appendChild(UI.login.loginStatusBox(document, null, {}));
2828

2929
async function finishLogin() {
30-
await UI.solidLogicLib.authSession.handleIncomingRedirect();
31-
const session = UI.solidLogicLib.authSession;
30+
await UI.authSession.handleIncomingRedirect();
31+
const session = UI.authSession;
3232
if (session.info.isLoggedIn) {
3333
// Update the page with the status.
3434
webId.innerHTML = "Logged in as: " + authn.currentUser().uri;
@@ -81,7 +81,7 @@ <h2 id="header"><a href="#header">Header</a>
8181
window.addEventListener('DOMContentLoaded', async () => {
8282
try {
8383
options = { menuList: [{ label: "Testing Button", onclick: () => { alert('hello') } }, { label: "Testing Link", url: 'https://reflectechblog.wordpress.com/' }] }
84-
await UI.initHeader(UI.solidLogicLib.store, options)
84+
await UI.initHeader(UI.store, options)
8585
} catch (error) {
8686
window.alert(`Error loading header. You need to have a div with id = PageHeader on your page.`)
8787
}

examples/matrix/test-matrix.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ window.$rdf = UI.rdf
66
document.addEventListener('DOMContentLoaded', function () {
77
/// ///////////////////////////////////////////
88

9-
var kb = UI.solidLogicLib.store
9+
var kb = UI.store
1010
var dom = document
1111

1212
var ICAL = $rdf.Namespace('http://www.w3.org/2002/12/cal/ical#')

0 commit comments

Comments
 (0)