a testing index.html for the fetch plugin (ref. %15)

merge-requests/23/head
Michał 'rysiek' Woźniak 2023-10-07 04:57:06 +00:00
rodzic dafbab22ce
commit d538dc6c88
1 zmienionych plików z 18 dodań i 0 usunięć

Wyświetl plik

@ -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('fetch')(self)
</script>
</head>
<body>
<h1><code>fetch()</code></h1>
<p>This is a simple debugging harness for the <code>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>