SOURCE / PINNED RELEASE
Made of little things.
NAP test handler
- Release
- 3b50b227b86c…
- Author-recorded commit
- Not provided
- License
- Check the original source
The hash-verified playable HTML, which may contain bundled or minified code. This view does not execute it.
<!doctype html><html><head><meta charset="utf-8"><title>Amethyst NAP test handler</title>
<style>body{font:13px monospace;background:#113;color:#ddd;padding:12px}</style></head>
<body><h3>Amethyst NAP test handler</h3><div id="out">waiting for an intent…</div>
<script>
window.napplet.intent.onDelivery(function (d) {
console.log('NAPTEST ' + JSON.stringify({ step: 'intent.deliver', ok: d.convention === 'napplet:napptest/open' && d.payload && d.payload.msg === 'hello+world', detail: d }));
document.getElementById('out').textContent = 'PASS got ' + JSON.stringify(d);
});
</script></body></html>
