worldwideweb 0.0.13 → 0.0.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "worldwideweb",
3
- "version": "0.0.13",
3
+ "version": "0.0.14",
4
4
  "description": "WorldWideWeb browser in JavaScript",
5
5
  "main": "main.cjs",
6
6
  "scripts": {
package/.travis.yml DELETED
@@ -1,15 +0,0 @@
1
- sudo: false
2
- language: node_js
3
- env:
4
- - PUBLISH_FROM_NODE_VERSION=8.4
5
- node_js:
6
- - "6.0"
7
- - "8.4"
8
- - "node"
9
- before_script:
10
- - npm run build
11
- after_success:
12
- - ./.travis_publish
13
- cache:
14
- directories:
15
- - node_modules
package/.travis_publish DELETED
@@ -1,30 +0,0 @@
1
- #!/bin/bash
2
- REPO_NAME="melvincarvalho/worldwideweb"
3
- PUBLICATION_BRANCH=gh-pages
4
-
5
- # Only publish from a specific Node version
6
- if [ "$TRAVIS_NODE_VERSION" != "$PUBLISH_FROM_NODE_VERSION" ]; then exit; fi
7
- # Only publish from the main repository's master branch
8
- if [ "$TRAVIS_REPO_SLUG" != "$REPO_NAME" ] || [ "$TRAVIS_BRANCH" != "master" ] || [ "$TRAVIS_PULL_REQUEST" != "false" ]; then exit; fi
9
- echo -e "Building $PUBLICATION_BRANCH...\n"
10
-
11
- # Checkout the branch
12
- REPO_PATH=$PWD
13
- pushd $HOME
14
- git clone --quiet --depth=1 --branch=$PUBLICATION_BRANCH https://${GH_TOKEN}@github.com/$REPO_NAME publish 2>&1 > /dev/null
15
- cd publish
16
-
17
- # Don't update if already at the latest version
18
- if [[ `git log -1 --pretty=%B` == *$TRAVIS_COMMIT* ]]; then exit; fi
19
-
20
- # Update pages
21
- rm -r * 2> /dev/null
22
- cp -r $REPO_PATH/dist .
23
-
24
- # Commit and push latest version
25
- git add .
26
- git config user.name "Travis"
27
- git config user.email "travis@travis-ci.org"
28
- git commit -m "Update to $TRAVIS_COMMIT."
29
- git push -fq origin $PUBLICATION_BRANCH 2>&1 > /dev/null
30
- popd
@@ -1,26 +0,0 @@
1
- <!DOCTYPE html>
2
- <html id="docHTML">
3
- <head>
4
- <link type="text/css" rel="stylesheet" href="https://linkeddata.github.io/mashlib/dist/tabbedtab.css" />
5
- <script type="text/javascript" src="https://linkeddata.github.io/mashlib/dist/mashlib.min.js"></script>
6
- <script>
7
- document.addEventListener('DOMContentLoaded', function() {
8
- const panes = require('mashlib')
9
- const UI = panes.UI
10
- const $rdf = UI.rdf
11
- $rdf.Fetcher.crossSiteProxyTemplate = document.origin + '/xss?uri={uri}';
12
- var uri = window.location.href;
13
- window.document.title = uri;
14
- var kb = UI.store;
15
- var subject = kb.sym(uri);
16
- var outliner = panes.getOutliner()
17
- outliner.GotoSubject(subject, true, undefined, true, undefined);
18
- });
19
- </script>
20
- </head>
21
- <body>
22
- <div class="TabulatorOutline" id="DummyUUID">
23
- <table id="outline"></table>
24
- </div>
25
- </body>
26
- </html