worldwideweb 0.0.12 → 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/main.cjs +2 -0
- package/package.json +5 -2
- package/worldwideweb.sh +2 -0
- package/.travis.yml +0 -15
- package/.travis_publish +0 -30
- package/dist/databrowser.html +0 -26
- package/dist/mash.css +0 -1061
- package/dist/mashlib.js +0 -163775
- package/dist/mashlib.js.map +0 -1
- package/dist/mashlib.min.js +0 -141
- package/dist/mashlib.min.js.map +0 -1
- package/image/screensnap2_24c.gif +0 -0
package/main.cjs
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "worldwideweb",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.14",
|
|
4
4
|
"description": "WorldWideWeb browser in JavaScript",
|
|
5
5
|
"main": "main.cjs",
|
|
6
6
|
"scripts": {
|
|
@@ -24,5 +24,8 @@
|
|
|
24
24
|
"bugs": {
|
|
25
25
|
"url": "https://github.com/melvincarvalho/worldwideweb/issues"
|
|
26
26
|
},
|
|
27
|
-
"homepage": "https://github.com/melvincarvalho/worldwideweb#readme"
|
|
27
|
+
"homepage": "https://github.com/melvincarvalho/worldwideweb#readme",
|
|
28
|
+
"devDependencies": {
|
|
29
|
+
"electron": "^24.2.0"
|
|
30
|
+
}
|
|
28
31
|
}
|
package/worldwideweb.sh
ADDED
package/.travis.yml
DELETED
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
|
package/dist/databrowser.html
DELETED
|
@@ -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
|