From 3cf3b8d7e95ab6f2879240f3266a05c03c8c755e Mon Sep 17 00:00:00 2001 From: Verneuil Julien Date: Fri, 1 May 2015 18:03:33 +0200 Subject: [PATCH] to_js_string added --- web/js_tools.anubis | 8 ++++++++ 1 file changed, 8 insertions(+), 0 deletions(-) diff --git a/web/js_tools.anubis b/web/js_tools.anubis index 158eb3b..d8ba1cb 100644 --- a/web/js_tools.anubis +++ b/web/js_tools.anubis @@ -39,6 +39,14 @@ public define String implode(make_js_string(explode(str), [])). public define String + to_js_string + ( + String str + ) + = + "'" + str + "'". + +public define String format_js_function_call ( String name, -- libgit2 0.21.4