From 64968e243f708b55cd70f26c1774807c9419b838 Mon Sep 17 00:00:00 2001 From: Leon van Kammen Date: Wed, 28 Feb 2024 09:05:56 +0100 Subject: [PATCH] work in progress [might break] --- test/helloworld/test.js | 4 ++++ test/helloworld/test.py | 6 ++++++ 2 files changed, 10 insertions(+) create mode 100644 test/helloworld/test.js create mode 100644 test/helloworld/test.py diff --git a/test/helloworld/test.js b/test/helloworld/test.js new file mode 100644 index 0000000..a0db484 --- /dev/null +++ b/test/helloworld/test.js @@ -0,0 +1,4 @@ +xrfragment = require('./dist/xrfragment.js').xrfragment + +console.dir(xrfragment.URI.parse("#pos=foo")) +console.log("hello world") diff --git a/test/helloworld/test.py b/test/helloworld/test.py new file mode 100644 index 0000000..2f228b4 --- /dev/null +++ b/test/helloworld/test.py @@ -0,0 +1,6 @@ +from dist import xrfragment + +frag = xrfragment.xrfragment_XRF.toDict( xrfragment.xrfragment_URI.parse("#pos=foo",None) ) + +print("hello world") +print( frag.keys() )