Skip to content

Commit e0f2fec

Browse files
author
Tim Berners-Lee
committed
Tests run
1 parent e422c8f commit e0f2fec

51 files changed

Lines changed: 231 additions & 235 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

src/acl/access-groups.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66

77
import { fetcher, IndexedFormula, NamedNode, sym } from 'rdflib'
88
import { ACLbyCombination, readACL } from './acl'
9-
import widgets from '../widgets'
10-
import ns from '../ns'
9+
import * as widgets from '../widgets'
10+
import * as ns from '../ns'
1111
import { AccessController } from './access-controller'
1212
import { AgentMapMap, ComboList, PartialAgentTriple } from './types'
1313
import { AddAgentButtons } from './add-agent-buttons'

src/acl/acl-control.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
* @packageDocumentation
66
*/
77

8-
import ns from '../ns'
8+
import * as ns from '../ns'
99
import * as utils from '../utils.js'
1010
import { getACLorDefault, getProspectiveHolder } from './acl'
1111
import { IndexedFormula, NamedNode } from 'rdflib'

src/acl/acl.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
* @packageDocumentation
66
*/
77

8-
import ns from '../ns'
8+
import * as ns from '../ns'
99
import { solidLogicSingleton } from '../logic'
1010
import * as utils from '../utils'
1111
import { AgentMapMap, AgentMapUnion, ComboList } from './types'

src/acl/add-agent-buttons.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55

66
import { AccessGroups } from './access-groups'
77
import { icons } from '../iconBase'
8-
import widgets from '../widgets'
9-
import ns from '../ns'
8+
import * as widgets from '../widgets'
9+
import * as ns from '../ns'
1010
import { logInLoadProfile } from '../authn/authn'
1111
import * as utils from '../utils'
1212
import { NamedNode, Store } from 'rdflib'

src/authn/authn.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@
2222
import { graph, namedNode, NamedNode, Namespace, serialize, st, Statement, sym, BlankNode } from 'rdflib'
2323
import solidAuthClient from 'solid-auth-client'
2424
import { PaneDefinition } from 'pane-registry'
25-
import Signup from './signup'
26-
import widgets from '../widgets'
27-
import ns from '../ns.js'
25+
import { Signup } from './signup'
26+
import * as widgets from '../widgets'
27+
import * as ns from '../ns.js'
2828
import * as utils from '../utils.js'
2929
import { alert } from '../log'
3030
import { AppDetails, AuthenticationContext } from './types'

src/authn/config-default.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* modules.
55
* @module config-default
66
*/
7-
export default {
7+
export default { // @@ should not use export default
88
/**
99
* Primary authentication endpoint
1010
*/

src/authn/signup.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import defaultConfig from './config-default'
99
* Creates a Signup UI manager
1010
* @class
1111
*/
12-
function Signup (config) {
12+
export function Signup (config) {
1313
this.config = config || defaultConfig
1414
}
1515

@@ -72,5 +72,3 @@ Signup.prototype.signup = function signup (signupUrl) {
7272
})
7373
})
7474
}
75-
76-
export default Signup

src/chat/bookmarks.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,12 @@ import * as debug from '../debug'
99
import { icons } from '../iconBase'
1010
import { store } from '../logic'
1111
import { media } from '../media/index'
12-
import ns from '../ns'
12+
import * as ns from '../ns'
1313
import * as pad from '../pad'
1414
import * as rdf from 'rdflib' // pull in first avoid cross-refs
15-
import style from '../style'
15+
import * as style from '../style'
1616
import * as utils from '../utils'
17-
import widgets from '../widgets'
17+
import * as widgets from '../widgets'
1818

1919
const UI = { authn, icons, ns, media, pad, rdf, store, style, utils, widgets }
2020
const $rdf = UI.rdf

src/chat/dateFolder.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,15 @@
66
import * as debug from '../debug'
77
import { store } from '../logic'
88

9-
import ns from '../ns'
9+
import * as ns from '../ns'
1010
import * as $rdf from 'rdflib' // pull in first avoid cross-refs
1111

1212
const kb = store
1313

1414
/**
1515
* Track back through the YYYY/MM/DD tree to find the previous/next day
1616
*/
17-
export default class DateFolder {
17+
export class DateFolder {
1818
constructor (rootThing, leafFileName, membershipProperty) {
1919
this.root = rootThing
2020
this.rootFolder = rootThing.dir()

src/chat/infinite.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,16 @@ import * as debug from '../debug'
77
import { icons } from '../iconBase'
88
import { store } from '../logic'
99
import { media } from '../media/index'
10-
import ns from '../ns'
10+
import * as ns from '../ns'
1111
import * as pad from '../pad'
12-
import DateFolder from './dateFolder'
12+
import { DateFolder } from './dateFolder'
1313
import { renderMessage, creatorAndDate } from './message'
1414
import { findBookmarkDocument } from './bookmarks'
1515

1616
import * as $rdf from 'rdflib' // pull in first avoid cross-refs
17-
import style from '../style'
17+
import * as style from '../style'
1818
import * as utils from '../utils'
19-
import widgets from '../widgets'
19+
import * as widgets from '../widgets'
2020

2121
const UI = { authn, icons, ns, media, pad, $rdf, store, style, utils, widgets }
2222

0 commit comments

Comments
 (0)