How to use the mashlib.ns function in mashlib

To help you get started, we’ve selected a few mashlib examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github solid / solid-panes / home / index.html View on Github external
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)
      console.log('(SetUser: Logged in as ' + webid + ')')
github solid / solid-panes / home / app.js View on Github external
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

  var setUser = function (webid) {
    if (webid) {

mashlib

Data mashup library

MIT
Latest version published 6 months ago

Package Health Score

56 / 100
Full package analysis