kopia lustrzana https://gitlab.com/rysiekpl/libresilient
very simple testing harnesses for dnslink-* plugins
rodzic
478b12b1df
commit
79b176c0b2
|
@ -0,0 +1,18 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<script>
|
||||||
|
self.LibResilientPluginConstructors = self.LibResilientPluginConstructors || new Map()
|
||||||
|
self.log = console.log
|
||||||
|
</script>
|
||||||
|
<script src="./index.js"></script>
|
||||||
|
<script>
|
||||||
|
var theplugin = LibResilientPluginConstructors.get('dnslink-fetch')(self)
|
||||||
|
</script>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<h1>DNSLink/<code>fetch()</code></h1>
|
||||||
|
<p>This is a simple debugging harness for the <code>dnslink-fetch</code> plugin of LibResilient.</p>
|
||||||
|
<p>The plugin should now have been initialized in the <code>theplugin</code> global variable. Open your browser's JavaScript console to start playing with it.</p>
|
||||||
|
</body>
|
||||||
|
</html>
|
|
@ -0,0 +1,19 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<script src="../../lib/ipfs.js"></script>
|
||||||
|
<script>
|
||||||
|
self.LibResilientPluginConstructors = self.LibResilientPluginConstructors || new Map()
|
||||||
|
self.log = console.log
|
||||||
|
</script>
|
||||||
|
<script src="./index.js"></script>
|
||||||
|
<script>
|
||||||
|
var theplugin = LibResilientPluginConstructors.get('dnslink-ipfs')(self)
|
||||||
|
</script>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<h1>DNSLink/IPFS</h1>
|
||||||
|
<p>This is a simple debugging harness for the <code>dnslink-ipfs</code> plugin of LibResilient.</p>
|
||||||
|
<p>The plugin should now have been initialized in the <code>theplugin</code> global variable. Open your browser's JavaScript console to start playing with it.</p>
|
||||||
|
</body>
|
||||||
|
</html>
|
Ładowanie…
Reference in New Issue