summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorGravatar Adam Chlipala <adam@chlipala.net>2019-03-30 20:11:18 -0400
committerGravatar Adam Chlipala <adam@chlipala.net>2019-03-30 20:11:18 -0400
commit36cf7530768eeec286e4a07a5794c0e1b27b8c3f (patch)
treeb3ec7a8c16fd8ecea0c52c2f89fab8aab7f02db7 /lib
parent8e561ed471518c426c59f210f5ea07d4f178cbe5 (diff)
Allow Basis.currentUrl on client side
Diffstat (limited to 'lib')
-rw-r--r--lib/js/urweb.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/js/urweb.js b/lib/js/urweb.js
index 749e5056..66d427c8 100644
--- a/lib/js/urweb.js
+++ b/lib/js/urweb.js
@@ -3269,6 +3269,10 @@ function confrm(s) {
return confirm(s) ? true : false;
}
+function currentUrl() {
+ return window.location;
+}
+
// URL blessing